Gamer.Site Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. 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. I'm on Windows with ...

  3. Visual Studio Code on Windows uses PowerShell by default as the integrated terminal. If you want to use Bash from Visual Studio Code, what steps should be followed?

  4. How to comment multiple lines in Visual Studio Code?

    stackoverflow.com/questions/34316156

    This is probably not the top voted answer because of how VS Code works for different languages. For python code, the "comment block" command Alt + Shift + A actually wraps the selected text in a multiline string, whereas Ctrl + / is the way to toggle any type of comment (including a "block" comment as asked here). –

  5. Save all your works and re-run your vs-code set up file, that's the .exe program, then tick all the checkboxes at the add desktop to the Taskbar region automatically, once you have done done, click on install, all your histories will be restored back... vs-code is just soft

  6. How to update VS Code on Windows? - Stack Overflow

    stackoverflow.com/questions/60807557

    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 ...

  7. I managed to show code folding controls always in VsCode by going to Preferences and searching for 'folding'. Now just select to always show these controls. This works with the Typescript code and HTML of templates in the Angular 8 solution I tested it with. This was tested with VsCode Insiders 1.37.0 running on a Windows 10 OS.

  8. How can I clear the terminal in Visual Studio Code?

    stackoverflow.com/questions/48713604

    Also you will go to View in taskbar upper left corner of vs code and open Command pallete. This will clear the terminal easily & work for any directory you have open in your terminal. This is for Windows, also try if it works for Mac. This command is work in all VS code versions include latest version 1.52.1

  9. When using code files, you typically don't need longer lines to wrap around. However, with .md files this is in fact rather useful. However, I can't seem to find the option to enable word wrap so longer lines will be wrapped. To reproduce, open Visual Studio Code resized to a small-enough window, and enter the following text in a new document:

  10. In VS Code, press ⇧⌘P and type install 'code' command if you haven't done so before. Quit VS Code. Launch VS Code not by clicking its icon in the dock, but by opening Terminal.app and typing code. Your newly set path will be active in VS Code until you quit it.

  11. This action in Visual Studio Code is called "Add Cursors to Line Ends". This was tested in Visual Studio Code 1.77.0 (April 2023) and works on both Windows and Mac. Here is the way: Select the lines you want to have multiple cursors. Simply hit Alt + Shift-I. You now have one cursor per selected line.