How can we enable and disable the flutter inspector shortcut along with other debug shortcuts in VSCode.
You can use the dart. showDevToolsDebugToolBarButtons setting to control this.
Although if the Inspector button has disappeared in debug mode, you may be seeing a bug (https://github.com/Dart-Code/Dart-Code/issues/3477). This has recently been fixed but not released - although the fix is in the latest nightly build that you can install using the Extensions: Install from VSIX command in VS Code after downloading and extracting (see here for more details).
In vscode extension marketplace , I am getting the option of powershell preview version and not the stable version. Is there any other alternate to solve this issue?
In VS Code:
Open Extensions
Select PowerShell extension
Click the Manage cog-wheel (bottom-right corner)
Click Install Another Version... from the menu
Choose a version you feel comfortable with.
Note: I highly recommend running VS Code elevated (run as Administrator) to ensure installation of new extensions run smoothly.
Hope this helps.
I have VS Code version 1.37.1 and I want to update to the current available version 1.43. My OS is Windows 10.
How can I update the current version to the latest?. Like in Eclipse, check for updates is not updating the installation, rather it gives me a zip.
VS Code will automatically update itself on windows 10. If you'd like to force an update check there's an option available for that under 'Help > Check for Updates'.
If the update still doesn't complete, you can run the installer from here as described in the official Visual Studio Code Documentation under Docs » Supporting » Howtoupdate, found here.
If Update:Mode in VS Code's setting is on 'none' , 'Check for Updates ...' option will disappear from Help. Just be sure it's not on 'none' then you can check for updates.
2021-12-15, if you don't see Check for Updates... then Settings
Make sure it's not none
Then Help, Check for updates..., it won't auto-install. Once it downloads the update, either Help, Install update, or
Normally you don't need to do anything. The default configuration auto-updates and tells you it needs a restart.
If you experience different behaviour then either someone has interfered with settings in VS Code or the platform (Win/Lin/Osx) is misconfigured.
Type Ctrl+, or your platform equivalent and then filter for "update", then inspect your settings to see what may be mucked up. You can also force an update in the Help menu, and if this results in the download of a zip file it's not VS Code that's messed up, it's your platform.
Running this from the command prompt seemed to work for me:
winget upgrade --id Microsoft.VisualStudioCode
I think because I was running vscode as administrator I did not see the Help->Check for updates menu item.
My problem was that I had VS Code open as Administrator. After closing it and opening it normally I got the update to appear once again under the settings icon and in the Help menu.
If you cannot do that you can trigger the update with this command written in the terminal:
winget upgrade --id Microsoft.VisualStudioCode
My problem was with a later version, where update options did not appear under the Help menu. This may be because I ran a user install on a Win 2022 VM where I am Administrator user.
The above solutions did not work but I was able to resolve by running the latest user installer over the existing install (turns out the user install of VS Code does not appear in Control Panel, Uninstall program listing.) Currently this can be downloaded from https://code.visualstudio.com/.
If your update settings are OK, then there is one other possibility. Normally, you would have installed this huge piece of bloatware for your own user account only, using the "VSCodeUserSetup-.exe" installer.
But there is also a "system installer" which installs VSCode into "C:\Program Files" (configuration is still kept per-user). If you installed "VSCodeSetup-.exe" (note: no "User" in the installer file name), then you have an administrative install and will not get full auto-updates, AFAIK.
I have been facing this issue for a while now.I tried installing extensions as well for it but still it doesn't seems to resolve the issue of auto suggestions fields visibility.
Reset your vscode to default settings and then try again. Find how to reset to default here
How to reset settings in Visual Studio Code?
Update
Looks like resetting to default did work..
Is there an easy way to uninstall the FTP-Sync package I have installed in VSC? There doesn't seem to be a remove feature
You can see all installed extensions and uninstall them using these steps:
Ctrl+P(Quick Open).
Enter >Extensions: Show Installed Extensions.
Click the "x" icon next to the extension you want to uninstall.
Here is how is looks: