I want to indent a specific section of code in Visual Studio Code. I read How do you format code in Visual Studio Code? that gives shortcuts to indent the whole code, but it doesn't work when selecting a specific section of code. I tried Ctrl + Shift + F after selecting some line in my code, but the whole file is indented.
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'.
Go to the Visual Studio Code preferences, and under interpreter, you'll find , so set that to the path of your Python installation, restart Visual Studio Code, and you should be good.
I've opened VS Code's settings.json file many times, and each time I forgot where it was. If I go to File → Preferences → Settings, I get the graphical settings interface (screenshot). I want to open
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.
In around July 2025, VS Code introduced some kind of AI autocomplete. I want to turn it off. All the previous options like github.copilot.enable or github.copilot.editor.enableAutoCompletions don't...
What I did was to remove all the VS code related folder under appdata roaming folder, and then a fresh reinstall. Downside was I lost all my project (I forgot to backup), but I'm using VS code mainly for learning programming so not too much was really lost.