Getting black screen in visual studio after Installation completed - visual-studio-code

I was getting black screen after opening Visual studio each time. I got a solution from Stack overflow i.e code --disable-gpu. It is working fine but my main issue is when I use to code in vs code. I am not getting suggestions as intellisense is not working and I am unable to install any extensions from Visual studio code.

to disable hardware acceleration permanently (without adding --disable-gpu argument) open folder "C:\Users\your_username_here\.vscode" than open file argv.json with any editor and look for
"//disable-hardware-acceleration": true, and just remove the tow slashes before disable. i think there is a similar workaround in linux

Hit Ctrl Shift P to open the command palette,
Type Developer and choose Developer: Toggle Developer Tools.
switch to the Network tab in Dev tools.
Search for extensions now

Go to properties of visual studio
change target . Add --disable-gpu
make sure to add a space before --
it will resolve your issue.

Related

Issue with VSC build (CMD-Shift-B) command on mac

I am working through the instructions on building VSC for developers (https://github.com/Microsoft/vscode/wiki/How-to-Contribute#build-and-run) currently. Right under "Build" it instructs me to go "Go into vscode and start the build task with CMD+Shift+B) since I have a mac. I have gone into the folder in my finder and have pressed this combination of buttons but nothing happens at all. Am I supposed to do this in the terminal or am I missing anything?
It looks like the vscode directory must be opened in Visual Studio Code and a build is performed with ⌘ Command+Shift+B.
Here is an older version of the instructions where it is clearer:
https://github.com/microsoft/vscode-wiki/blob/2e2d6b0/How-to-Contribute.md#build
It appears that the directory vscode got mixed up with the full application name in a subsequent edit.

While opening visual studio code a black screen appear

A fully black screen,the window pannnel is fully black and while browse this issue --disable-gpu bt it doesn't work.
Can anybody answer
It will work by changing the compatibility on vs code
Right click on visual studio ->preference->compatibility-> Run this program in compatibility mode
Thus the problem can be resolved
OR on your command prompt type
code --disable-gpu
It will work by changing the compatibility on vs code Right click on visual studio ->preference->compatibility-> Run this program in compatibility mode
Thus the problem can be resolved OR on your command prompt type code --disable-gpu
Tried the above steps issue is not resolved. Still getting Black Screen

CMD-K in Visual Studio Code

I often clear the terminal on macOS with CMD-K (sort of equivalent to reset). When I use the terminal in Visual Studio Code and I press CMD-K, the banner at the bottom of the screen shows "(CMD-K) was pressed. Waiting for second key of chord..."
How can I make CMD-K pass through the editor to go to the terminal in Visual Studio Code?
I have occasionally run into this bug (VS Code on MacOS) and each time it randomly would fix itself until recently it kept persisting even through restarting my laptop. I have now found that closing all open projects seems to fix this issue for me.
Might be related to how VS Code stores your current workspace state (opened projects and file modifications). It seems maybe these state settings sometimes get corrupted somehow 🤔

Remove Parameter Hints Box in Visual Studio Code

Someone know's how to remove this box:
"help" box
It's better showed here
Open the menu, chose the command File > Preferences > Settings to open or create a settings.json file where you can modify the behaviour of Visual Studio Code.
In this file, add the following line at an appropriate place:
"editor.parameterHints": false,
In newer version of Visual Studio Code you have to use this instead:
"editor.parameterHints.enabled": false,
Reference:
Intellisense in Visual Studio Code
Visual Studio Code User and Workspace Settings
I went to File->Preferences->Settings and a tab opened with Commonly Used at the top. Did Ctrl-F to search parameter, then uncheck the box which is saved automatically it will say. Done.
For me it didn't work but someone on github mention that once you start typing, if the parameter hints show up, just press **ctrl + space** and it won't show up again. It was simple and easy!

how to navigate among open VS Code open windows on Mac

I recently updated Visual Studio Code to a new version (1.7.2) on my Mac.
I am used to open different 'windows' of VS Code at the same time on different projects.
In previous versions of VS Code I could navigate the VS Code open windows via 'cmd+>' (or 'cmd+z', now I do not remember this exaclty).
Now this key combination does not work anymore and, to navigate windows, I need to open the 'Window' menu option and chose from there.
Does anybody know how to navigate among open VS Code open windows on Mac with this version of VS Code?
Thanks in advance
control+w is working for me
It is showing all active windows
cmd+< is not provided by VSCode, it's a global shortcut of OSX witch works for all applications with multiple windows. You can check if its properly set up in Preferences->Keyboard->Shortcuts
However, there is a command in VSCode to select open windows from a list. Search the command palette for Switch Window, you can bind it to a shortcut yourself, command is called workbench.action.switchWindow.