In VSCode i'd like to make the explorer view always visible even when other sidebar windows are open. Is there an extension or setting that I can change to achieve such behaivour?
I've tried to find extensions or setting but I could not found any.
Sorry, this is not possible in VS Code.
Several people have made feature requests, e.g. https://github.com/Microsoft/vscode/issues/26777, which you could upvote.
Related
If this is due to an extension, how can I remove that extension?
It overwrites my custom snippet, which bothers me.
I disabled many extensions, but nothing changed.
What you're seeing in your screenshot (suggestions for dba_<etc.>) are not coming from any extension. One can verify that by running the command Developer: Reload With Extensions Disabled and trying triggering suggestions again. So this is just functionality that comes out-of-box with a standard VS Code installation. You don't even need to install any PHP extension to get this.
As for your custom snippets getting "overwritten", it's hard to tell without more detail why this is happening. If you're on version 1.75, it might just be due to a bug that will be fixed later (Ex. As was the case in this other recent Q&A: Visual Studio Code's recent update is disrupting autocompletion).
As #Mark showed in their answer, these are function suggestions. You can disable function suggestions with the following setting:
"[php]": {
"editor.suggest.showFunctions": false
}
Those icons indicate that those are Methods and Functions (not Snippets). See What do the Intellisense icons mean.
So you can try to disable two settings in your Settings UI:
Editor > Suggest: Show Methods
Editor > Suggest: Show Functions - this looks like the right one to disable
Of course, there might be situations where you want to see Function suggestions, so you will have to see if disabling the setting is acceptable.
You can disable those Function suggestions for php files only with this setting (in your settings.json):
"[php]": {
"editor.suggest.showFunctions": false
}
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"
} }
I just want to activate autocompletion in VS code. There's a lot of answers to that questions but NONE of it actually helped me. (so please don't mark as duplicate when other answers DON'T help) Apparently, you have to press "Ctrl+Alt+Spacebar" but this doesn't work or me. I don't see any option in the nav menu to toggle a completion mode either. Or maybe you need to create a file in your folder? I don't know! non of this worked and I don't even know how it did work when I've seen intellisense! So please help me find a way to do this, and it'll better if this would be permanent. Thanks.
First you must have an internet connection.
Then you should find extensions sidebar in vs code(you can open it by press 'Ctrl+Shift+X' or open it in top of the screen, View->Extensions).
After that you should search for C# extension that made by Microsoft(search C# in search textbox and click on first result)
Picture of searching C# extension
Then install that extension by clicking on install button
Wait a few minutes to install (e.g it took 15 minutes for me)
Now you have C# extension.
After that you should close the VsCode and open again.
Now you have auto completion (if not, you probably should press 'Ctrl+Space' while coding)
If you want to have smart auto completion, VsCode doesn't have IntelliCode for C#. IntelliCode is just for Visual Studio.
But you can use Tabnine or Copilot extension(you can search and install it like installing C# extension but you should search tabnine instead of C#)
Tabnine is good but it couldn't help me like Intellicode in Visual Studio.
I need to figure out how to turn off emphasized items in Visual Studio Code
This might sound like a strange requirement, but in my workflow vscode functions as less an IDE than a cross-platform ViM-esque frontend with lots of remote development tools built-in.
Due to this use case, I don't need or want the linting features to show up in the file browser. How might I accomplish this?
Attempts to solve the problem
I've run out of search terms here and cannot find an answer.
Searches including terms in this question's title yielded little
SO-specific search queries also yielded little
This seems to be somewhat related, at least as a representation of the "feature" I'm referencing: VS code containes emphasized items but no error
VSCode "preferences" do not appear to show what I'm looking for, likely an issue with me not searching for the right variable name.
In my experience with VSCode it has been wonderfully customize-able, so I'm guessing there's a setting somewhere ready to be modified to accomplish this. Any help much appreciated, thanks!
My use case was a bit different: after viewing some files in a git submodule those files became linted, and errors and warnings cluttered up my VS Code Explorer file browser window on files I had no intention of ever handling. I basically wanted a way to clear out those lint warnings, and found it here. The solution is to reload the window:
CtrlShiftP on Windows/Linux, ⌘ShiftP on Mac -- then select "Developer: Reload Window"
One by-product of reloading the window is that it clears out those unwanted warnings (at least until the next time I visit the file). It also has the effect of clearing out warnings on files that I would normally want to see, of course, but chances are I'll be visiting those files again soon, so it's fine. Not a perfect solution, but it works for me and my use-case; hopefully it can help others.
I don't know how to turn it off, but I had this on multiple folders and I fixed it by renaming the folder to a random name, then naming it back to the name it was before and the error would go away.
If you have this issuse then uninstall extention then CtrlShiftP on Windows/Linux, ⌘ShiftP on Mac -- then select "Developer: Reload Window" then type developer: relode page this issuse automatically resovle
i have this issuse then i uninstall extension then this issuse resolve.
I was able to permanently prevent this by adding the files to the .gitignore file. It seems that this happens in a cloned repository when you add new files.
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.