When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Change the default terminal in Visual Studio Code

    stackoverflow.com/questions/44435697

    It appears that VSCode has changed a little since this answer, now there is a button with {} on it that you must press to get to the editor to make this change. The command in this answer did work correctly. Thank you for the answer. –

  3. VSCode creates an empty shell to execute the commands. And it WON'T use the profile/settings of the current user for shell initialization. That's why our user environment settings won't take effect. However, if I set the environment in the system area, its seem to be working. Tried this on my machine and it worked as expected. Windows 10/11 set ...

  4. It queries all symbols provided by language support extensions using the vscode.executeDocumentSymbolProvider command, which includes the symbols' line numbers in the result set, filters by symbol kind, and then folds any folding regions for those line numbers. It's not totally foolproof, but I think it should probably work most of the time.

  5. Menu File → Preferences → Keyboard Shortcuts → In the Search in keybindings type in Reindent Selected Lines → Select it and press Enter → Type in your own shortcut, e.g. Shift + 5, followed by Enter. Now select your code lines in the editor and use the shortcut set above, e.g. Shift + 5, to automatically indent those lines only.

  6. How to show full-file Git blame in Visual Studio Code

    stackoverflow.com/questions/44161997

    5. GitLens provides the functionality of full-file git blame. To execute the command: Press Ctrl+Shift+G, followed by pressing only B. Note: When pressing B, do not press the Ctrl and Shift buttons. The command will work correctly in this manner.

  7. Vscode, stores a copy your recently edited file in local history, I created a simple package that will help you find lost files. Usage. Install: pip install vscode_deleted_file_recovery Create a Python file anywhere on your PC and run the following code to search for files:

  8. Solution A: Press Ctrl + Shift + P. Then type Format Document With... At the end of the list click on Configure Default Formatter... Now you can choose your favorite code beautifier from the list. If Format Document With... is not available: Open a file in Visual Studio Code (the extension of the file is not important can be .js, .html, .txt ...

  9. Remove trailing spaces automatically or with a shortcut

    stackoverflow.com/questions/30884131

    The keyboard shortcut can be discovered by: 1) Open menu File → Preferences → Keyboard Shortcuts. 2) Type "trail" in the search box (at the top) On Mac as of today (July 2020) in VSCode 1.46.1 version, you can open settings by pressing ⌘ + , and from there to search trailing whitespace or anything else.

  10. This is the latest built-in (default) keyboard shortcuts for folding and unfolding the code. vscode Keyboard shortcut. Ctrl+Shift+[ Fold (collapse) region. Ctrl+Shift+] Unfold (uncollapse) region. Ctrl+K Ctrl+[ Fold (collapse) all subregions. Ctrl+K Ctrl+] Unfold (uncollapse) all subregions.

  11. How can I view the Git history in Visual Studio Code?

    stackoverflow.com/questions/37899765

    Using VS Code version 1.93.1, the best way for me to just see the GIT history is "source control graph" (by default in "source control"). Using the "Timeline" (by default in "Explorer") is also helpful but other actions like saving the file are also included. Thus the overview is not that great for the purpose to see the GIT history.