VS Code settings not opening correctly - visual-studio-code

since a few weeks now I can't open my settings correctly in visual studio code. Before this issue, two windows appeared. One with the default settings and one with the edited settings. Now only the window with the edited settings shows up.
This is some of really annoying, because I want to search for a specific default setting, but can't click on the pen to edit it. I can't change it from the ui settings as well.
I append a screenshot of how it looks in my vs code:
new settings
This is how it looked before: old settings
Specifications:
Visual Studio Code
Version: 1.31.1
Chrome: 66.0.3359.181
Node.js: 10.2.0
OS: Windows 10 Professional, Update: 1908
I am glad if anyone can help me solving that problem.

Related

Unable to open 'defaultSettings.json': Invalid regular expression: /*.xml/: Nothing to repeat

I am getting this error when trying to open the settings.json files or access preferences in VSCode. The preferences pages are blank. I have examined the settings.json file by opening it from the regular Windows File Explorer and don't see anything obviously amiss with it. I didn't see anything on the web in other questions about it. I tried deleting the settings.json file and it reset it, but I don't think that fixed it and I lose all my settings. I tried adding them back in a few at a time, to track down a setting that might be causing it and updated the recommendations, but still getting the error. I'm not sure where the "defaultSettings.json" file is. Is this a bug or am I doing something wrong? Also, I noticed that I am not able to authorize some of the OAuth logins, but I'm not sure if that is a separate issue. When the browser redirects after logging in it displays a can't access page in the browser and doesn't respond in vscode. I'm not sure if there is a setting that is missing or what is causing it. I'm also using WSL2 and Docker containers.
Thanks!
Version: 1.59.0 (system setup)
Commit: 379476f0e13988d90fab105c5c19e7abc8b1dea8
Date: 2021-08-04T23:13:12.822Z
Electron: 13.1.7
Chrome: 91.0.4472.124
Node.js: 14.16.0
V8: 9.1.269.36-electron.0
OS: Windows_NT x64 10.0.22000
Installed the VSCode insider edition and installed all my packages there and things seem to work with that version. Unless someone has a better idea I'll just mark this closed. I'll just use that the insider edition for now and keep the other one as a backup.

Where do the configuration settings live in VSCode?

I am learning python and want to edit the configuration files of VSCode to toggle the selected theme, but I can't find the file controlling the configuration settings. The below file-path is where I've narrowed it down to so far:
C:\Users\<Name>\AppData\Local\Programs\Microsoft VS Code
I've also come across this thread from 2016
https://github.com/Microsoft/vscode/issues/10046
Which pointed me here, though I'm still sifting through the thread
https://github.com/Microsoft/vscode/issues/3884#issuecomment-230912738
This thread is from 2016, and the old and new versions they mention are not up to date.
Old Settings: %APPDATA%\Code[ - Variant]\User\settings.json
New Settings: %APPDATA%\Microsoft\[Visual Studio ]Code[ - Variant]\settings.json
The current user setting locations are covered in the VS Code docs:
Windows: %APPDATA%\Code\User\settings.json
macOS: $HOME/Library/Application Support/Code/User/settings.json
Linux: $HOME/.config/Code/User/settings.json
(For insiders, use Code - Insiders instead)

Visual Studio Code Not Working WIN 7

I am using v 1.23.1 on windows 7
When I open visual code there are no other windows for the app that will show. If I Open a folder it will not show the code. If I click on File > Preferences > Settings it will not open the window (I assume a modal). I have uninstalled it several time, and removed everything out of %appdata% code. It has worked in the past, but it might have been a previous version.
I can't get to the remove extensions window to remove extensions
Version 1.23.1
Commit d0182c3
Date 2018-05-10T17:11:17.614Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64.
I had to do this to make it work
code --disable-gpu
As Microsoft said:
https://code.visualstudio.com/docs/supporting/FAQ#:~:text=Microsoft%20ended%20support%20for%20Windows,later%20versions%20of%20VS%20Code.
Can I run VS Code on Windows 7?
Microsoft ended support for Windows 7 in January, 2020 and no longer provides security updates. VS Code desktop versions starting with 1.71 (August 2022) will no longer run on Windows 7 and you will need to upgrade to a newer Windows version to use later versions of VS Code.
VS Code will no longer provide product updates or security fixes on Windows 7 and VS Code version 1.70.3 is the last available release for Windows 7 users. You can learn more about upgrading your Windows version at support.microsoft.com.
I was getting the same issue so I downloaded the 1.70.2 and it started working.
https://code.visualstudio.com/updates/v1_70
https://update.code.visualstudio.com/1.70.2/win32-x64-user/stable
Follow these for permanent solution:
right click the visual studio icon on desktop
go to properties
go to the path
after the end of inverted commas"..
give a blankspace and type: --disable-gpu
press apply and ok
restart now.

Visual Studio Code OSX Snippets Not Working

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?

how to add devices and Apache ripple to visual studio 2015

I cant see emulators and I also cant see Apache ripple in the debugging bar, all I see is start. even when I click start it shows error.
Check out this link:
Known Issues - Visual Studio 2015
In some cases, when you uninstall VS2013 or a previous version (RC) of VS2015, a library gets corrupted that causes the debug dropdown not to show all the target options. To resolve this issue:
Close all Visual Studio instances.
Browse "C:\Users\\AppData\Local\Microsoft\Phone Tools" folder
Rename the CoreCon folder to something else.
Launch Visual Studio again.