VSCode Emmets missing - visual-studio-code

I deleted some extensions and after that my VSCode Emmet are not working as it used to be. I tried searching for solutions, which led me to going in my Extensions in Setting but the Emmet in extension are also missing. Does anyone know how to fix this?

In your Extensions searchbox input #builtin. Emmet should be listed in the Features category. Note that Emmet can be disabled from vscode but not uninstalled.
If your Emmet extension says it is disabled, then re-enable.

Related

Disable ESLint "Quick Fix" suggestions in VSCode

I am using ESLint in my React project to format and lint my code. I use VSCode as editor, and I find the "Quick Fix" suggestions offered by VSCode quite handy, like "import module" etc. However, after enabling ESLint, the default Quick Fix suggestion of VSCode is replaced by ESLint's Quick Fix suggestions:
How do I disable this? Please note that I still want ESLint to format and fix my code, but I don't want its quick fix suggestions. Instead I want VSCode to show its original Quick Fix suggestions. Like in above case, I want VSCode to suggest importing Link from react-router-dom rather than ESlint offering me its own quick fix suggestions (this was happening before enabling ESLint).
I had a similar issue with bash scripts. Disabling the ShellCheck extension solved the issue for me.

Can't get rid of markdown extension I didn't install

I've started redacting markdown files inside VSCode (currently VS Codium, but I face the same issue in VSCode as well).
What bothers me is that I see an odd preview with Chinese hieroglyphs everywhere:
I have no markdown extension installed (as seen on the left side of the screenshot).
I tried to search for it, found extension's repo and looked for any similarly named files at %USERPROFILE%\.vscode-oss\extensions, but to no avail.
Is there a way to find any markdown-related settings or somehow force the app to use a standard markdown editor or another extension?
Thanks in advance.
Thanks to the great comment by rioV8 decided to just go through it manually.
Turns out, that the "Office Viewer" extension is causing it.
While I wanted to find a way to change it without deleting the extension, technically the question is answered.
From the instructions for Office Viewer
If you want to use the original vscode editor, insert this in your
settings.json.
{
"workbench.editorAssociations": {
"*.md": "default"
} }

VS Code - command 'emmet.expandAbbreviation' not found

Emmet Abbreviations are not working for me in VS Code. I looked up solutions, and added "emmet.triggerExpansionOnTab": true to my settings.json file.
When I added it, every time I pressed tab to indent it says "command 'emmet.expandAbbreviation' not found".
It stops showing that once I remove the line.
Additionally, there is no syntax coloring or suggestions in HTML files. I tried to fix it by adding "files.associations": {"*.html": "html"} but that didn't work either.
Does anyone know how to fix this?
I had this issue too, but I simply restarted VS Code and that actually solved the problem!
I had the same issue as well and could not find much help.. but what fixed it for me was using a previous version.. so something with the never version might not work with my settings I guess (and some them I can't change like my Mac OS..;-).. as my mac is 2015 edition).. Anyways if you are still having this issue.. this link is what worked for me..
https://code.visualstudio.com/updates/v1_55
Download an earlier version and you should be fine...
I simply commented out "emmet.triggerExpansionOnTab": true then it started working.
After trying a lot of different things (including re-installing vscode) I got desperate, disabled all of my extensions, reloaded vscode, and then reinstalled my key extensions. I didn't figure out which extension may have been causing the problem, but that did get it working again.
I solved it by re-enabling the emmet extension again. Not sure when it has been disabled.
Open the built-in extensions explorer (direct command: Extensions: Show Built-in Extensions), scroll down to find the emmet extension. For me it was disabled, and I had to open the context menu and click Enabled.
I recently encountered this problem after a VS Code update. I searched for disabled extensions and saw that, to my surprise, some 2/3 of my extensions have been disabled. I manually enabled one which seems to have triggered something because within seconds all these extensions (except those I actually had disabled some time ago) were live again.

How to enable hover in VS Code?

How to enable vscode hover function? When I go to the function I want to see their references links and navigate to them. In my Sublime text It is working properly but I want to make proper in my VS code also.
I fixed this with going to extensions, typing #builtin, scrolling to my language extension in features list (Typescript and Javascript item) and enabling my language extension:
For some reasons my extension was disabled in the list (even though the docs say it's enabled by default).
Source:
alexdima`s answer from 4 Dec 2019 from:
https://github.com/microsoft/vscode/issues/85846#issuecomment-561649920
The feature you are referencing is known as IntelliSense in VSCode, which is enabled by default on versions 1.3 and above.
The languages supported out of the box are JavaScript and TypeScript.
So, if you need code-intellisense for other languages you'll have to install extensions for the specific languages.
See image below for intellisense support
I recently had the same issue for like a week and I was going crazy, then I discovered that there is a setting for it, which I don't remember disabling but anyways it fixed the problem.
Go to your VSCode settings (settings.json) and set editor.hover.enabled to true.
{
"editor.hover.enabled": true
}
Otherwise, if you like UI setting stuff, search for "hover enabled" in your settings and make sure is enabled.

How to change Intellisense priority in Visual Studio Code

How do I change the priority of the abbreviation recommendations inside Visual Studio Code? The file in question is a .scss file and I have tried with and without the Sass extension in Code installed. As far as I can tell currently it just lists them out in an alphabetical order. Is there any way to change this? I am genuinely surprised about how many people praise this editor when it has such huge flaws, that to my knowledge aren't solved yet.
https://github.com/Microsoft/vscode/issues/26127 says to "Disable the quick suggestions altogether" ?!
In VS Code 1.16 (the current insiders build) you can force emmet suggestions to the top by setting:
"editor.snippetSuggestions": "top",
"emmet.showSuggestionsAsSnippets": true