For some reason my VScode's intellisense is not working. I'm using the M1 Macbook pro and zsh for my terminal, not sure if that's relevant but I'm no longer getting any dropdown options. I tried expanding the box of suggestions but there's nothing other than a syntax suggestion:
Any suggestions? I assumed this was supposed to work out of the box, I deactivated Emmet as well but it's not budging.
Related
Using Python in Visual Studio Code, when I am inside parentheses after a function, Visual Studio Code shows only available function signatures. No doctstrings are shown, although this used to be the case. I have searched Internet and stack overflow to no avail (found things, but not helpful). This problem occurs both in Jupyter notebooks and .py scripts. I have Python and Pylance extensions installed.
I've tried both hovering over the code and pressing ctrl + I within parentheses. Ctrl+k also did not work for me.
How can I recover the appearance of doctrings for dynamic/quick info, short of reinstalling VS Code?
Versions:
VS Code 1.74.2
Python extension v2022.20.1
Pylance extension v2023.1.10
I disabled and reenabled the Python extension. Disabling disabled both Python and Pylance extensions, and reenabling reenabled both; so I'm not sure if culprit was Python or Pylance extension. In any case, docstrings are showing now.
I would like to find a linter to analyze the formatting of my code, and also use the linter locally to format my code. And I would want to be able to do that with Visual studio code (and ideally, also Visual studio).
Right now, I am using Visual studio with resharper. But it's way too slow for me.
So I installed visual studio code, installed the extension omnisharp and roslynator, to be able to have the same formatting rules as resharper. So it works well, I configured my config file to display error when a rule is not respected, like that :
My issue is, I can't find a way to fix all these issue with a shortcut, like I use to do with Visual studio and resharper.
The shortcut shift+alt+F does not fix all my errors, and the command omnisharp "fixall" act weirdly, it remove my function Hi..
Do you have suggestion of setup with visual studio code to be able to format the code directly (not via a command line, but from a shortcut), and as advanced as resharper, and that could also work as a linter to analyze the code on the CI?
I am working with flutter in vscode and when I press enter the cursor is not indented correctly, I currently have the extensions installed from flutter, dart, awesome flutter snippets.
The weird thing is that it doesn't work on a macbook but on my windows computer it works correctly and I have the same extensions installed.
Any help would be greatly appreciated.
Go to your settings - editor - autoIndent and set it to full.
I just started using Unity with Visual Studio Code and got it up and running to use it instead of the default code editor but VSC doesnt display auto-completion and I am wondering if it is even possible to add this feature into Visual Studio Code and if yes, how to do so.
I have a MacBook Pro and and iMac, with the same version of Visual Studio Code installed on both. And on both I'm experiencing the same problem. Intellisense stops recognizing my user-made snippets at some point and I have to do a restart (which sometimes doesn't work).
I'm not using an extension for the snippets, but am manually entering them in preferences > user snippets, in the appropriate languages.
Anyone else have this problem?