Sharing **vscode** extensions

Microsoft created a modular text editor (referred to as vscode or just code on the command line) that is easy to install and use across platforms including integration with Docker containers and WSL2.

Install #

Use this link and follow the instructions to install vscode for your platform/OS: https://code.visualstudio.com/download

Ubuntu #

For Ubuntu, choose either CLI/x64 or .deb/x64 options.

Basic usage #

  • Icons along left-side: Open different editor environments or side-bars including extension browser, file explorer, and git information.
  • Command palette: Most actions or options are available from either shortcut-key-combinations or the command palatte which is a fuzzy-matching command search accessible with CTL+SHIFT+p.

Extensions #

vscode provides a mechanism to install official and community extensions to tailor the editor for specific code/development tasks and support for enhanced features when editing a multitude of plain text formats.

From the command line, you can list and install extensions in an easy way:

1
2
3
4
5
6
# List the semanic ID for each extension that is already installed
# This is useful if creating a backup or reference for others to use
code --list-extensions > vscode-extensions.txt

# Install extensions listed in the file by ID (one at a time by looping with "xargs")
cat vscode-extensions.txt | xargs -I{} code --force --install-extension {}

Reference list of extensions #

I have created a reference list of my extensions below http://mianus.duckdns.org/vscode-extensions-list.txt.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# andrsdc.base16-themes
# arcanis.vscode-zipfs
# archieyang.vscode-gallery
# bierner.markdown-mermaid
# budparr.language-hugo-vscode
# charliermarsh.ruff
# davidanson.vscode-markdownlint
# evan-buss.font-switcher
# exiasr.hadolint
# fabiospampinato.vscode-diff
# fivethree.vscode-hugo-snippets
# fortran-lang.linter-gfortran
# geriyoco.vscode-image-gallery
# heyitschun.ghibli-syntax-themes
# james-yu.latex-workshop
# jetmartin.bats
# mathworks.language-matlab
# mechatroner.rainbow-csv
# ms-azuretools.vscode-docker
# ms-python.black-formatter
# ms-python.debugpy
# ms-python.isort
# ms-python.python
# ms-python.vscode-pylance
# ms-toolsai.jupyter
# ms-toolsai.jupyter-keymap
# ms-toolsai.jupyter-renderers
# ms-toolsai.vscode-jupyter-cell-tags
# ms-toolsai.vscode-jupyter-slideshow
# ms-vscode-remote.remote-containers
# ms-vscode-remote.remote-ssh
# ms-vscode-remote.remote-ssh-edit
# ms-vscode-remote.remote-wsl
# ms-vscode-remote.vscode-remote-extensionpack
# ms-vscode.cpptools
# ms-vscode.makefile-tools
# ms-vscode.powershell
# ms-vscode.remote-explorer
# ms-vscode.remote-server
# njpwerner.autodocstring
# redhat.ansible
# redhat.vscode-yaml
# shakram02.bash-beautify
# tecosaur.latex-utilities
# timonwong.shellcheck
# vscodevim.vim
# yzane.markdown-pdf
# yzhang.markdown-all-in-one


# Install the above extensions
curl http://mianus.duckdns.org/vscode-extensions-list.txt | xargs -I{} code --force --install-extension {}

This collection includes extensions for common toolsets like

  • WSL, SSH and Container connections
  • Python
  • Matlab,
  • Latex
  • Markdown
  • YAML
  • Ansible
  • Docker
  • Dockerfiles
  • CSV
  • Jupyter Lab
  • Bash/Shell
  • Windows PowerShell (CMD too?)
  • Bats
  • Zip-file archives
  • Mermaid diagrams
  • Fortran
  • Folder image galleries
  • Makefiles