Visualstudio: Difference between revisions
From wikinotes
(→Usage) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
|} | |} | ||
</blockquote><!-- documentation --> | </blockquote><!-- documentation --> | ||
= Locations = | |||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| <code>~/Library/Application\ Support/Code/User/settings.json</code> || user settings | |||
|- | |||
|} | |||
</blockquote><!-- locations --> | |||
= Install = | = Install = | ||
Line 36: | Line 45: | ||
# macos settings | # macos settings | ||
~/Library/Application\ Support/Code/User/settings.json | |||
</source> | |||
<source lang="javascript"> | |||
// ~/Library/Application\ Support/Code/User/settings.json | |||
{ | |||
"workbench.colorTheme": "Monokai", | |||
"workbench.startupEditor": "none", | |||
"terminal.integrated.macOptionIsMeta": true, | |||
} | |||
</source> | |||
<source lang="javascript"> | |||
// ~/Library/Application\ Support/Code/User/keybindings.json | |||
[ | |||
{ | |||
"key": "alt+m", | |||
"command": "workbench.action.toggleMaximizedPanel" | |||
} | |||
] | |||
</source> | </source> | ||
</blockquote><!-- configuration --> | </blockquote><!-- configuration --> |
Latest revision as of 14:01, 24 April 2024
VisualStudio is now cross-platform, and it's core is OSS.
Documentation
official docs
Locations
~/Library/Application\ Support/Code/User/settings.json
user settings
Install
Archlinux
pacman -S code # oss-release of vscode
Usage
- Menus are designed to be searched-for/found using
Ctrl+Shift+P
(ex: installing extensions)- Symbols are searched using
Ctrl+t
- Files are searched using
Ctrl+p
Configuration
Code > Settings > Settings # open visual settings # macos settings// ~/Library/Application\ Support/Code/User/settings.json { "workbench.colorTheme": "Monokai", "workbench.startupEditor": "none", "terminal.integrated.macOptionIsMeta": true, }// ~/Library/Application\ Support/Code/User/keybindings.json [ { "key": "alt+m", "command": "workbench.action.toggleMaximizedPanel" } ]
Plugins
There is no builtin way of configuring extensions, and having visualstudio automatically install them. There is however a commandline interface.
You can find extension ids listed within visualstudio, following the name (ex
janjoerke.align-by-regex
).code --install-extension <extension-id>
General vscode plugin: neovim vscode controls nvim backend vscode plugin: vscodevim vim emulation/nvim integration vscode plugin: align-by-regex essentially tabular.vim Python vscode plugin: python python base package Java vscode plugin: java extension pack java base package