Visual Studio Code: Difference between revisions

From Omnia
Jump to navigation Jump to search
Line 37: Line 37:


https://i.imgur.com/uPREQTr.png
https://i.imgur.com/uPREQTr.png
== WSL ==
code --remote wsl+Ubuntu /home/jim/projects/c
ref: <ref>https://code.visualstudio.com/docs/remote/wsl</ref>


== keywords ==
== keywords ==

Revision as of 19:04, 19 April 2025

Sort Lines

Sort lines - Visual Studio Marketplace
https://marketplace.visualstudio.com/items?itemName=Tyriar.sort-lines

Shortcut key: F9

Upper Case

In Visual Studio it was:

To convert text to all upper case, choose Edit > Advanced > Make Uppercase or press Ctrl+Shift+U. To convert text to all lower case, choose Edit > Advanced > Make Lowercase or press Ctrl+U.

Make Uppercase or press Ctrl+Shift+U
Make Lowercase or press Ctrl+U

So, to mimmic, set the following Keyboard Shortcuts:

  • Transform to Uppercase -> editor.action.transformToUppercase -> Ctrl+Shift+U
  • Transform to Uppercase -> editor.action.transformToUppercase -> Ctrl+U

They conflict with existing shortcuts, but doesn't appear to cause any problems...

Chocolatey Install

choco install vscode
https://update.code.visualstudio.com/1.94.0/win32-x64/stable

End of Line Character

Settings -> "files: Eol" and change from "auto" to "\n".

q8zR8Vp.png

.

Can switch live using the setting in the "status bar":

uPREQTr.png

WSL

code --remote wsl+Ubuntu /home/jim/projects/c

ref: [1]

keywords