vs codium
install
# wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg
| gpg --dearmor
| dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg
# echo '[signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg] deb https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/repos/debs/ vscodium main' >> /etc/apt/sources.list.d/vscodium.list
# apt update
# apt install codium
config
parameters/methods list
View/Appearance/Secondary Side Bar, drag&drop Outline from File Explorer
File/Preferences/Settings/Features/Explorer uncheck Outline: Show [Modules, Packages, Properties, Variables]
single quote for imports
"typescript.preferences.quoteStyle": "single"
trim trailing whitespaces
File/Preference/Settings Trim Trailing Whitespace check
extensions
python
black formatter
dev: ms-python
File/Preferences/Settings or Ctrl+,
python formatting provider
select 'black'
``
flake8 linter
dev: ms-python
Ctrl+,
python linting:flake8 enable
check box
python.linting.flake8args
add --ignore=F403,F405
and --max-line-length=140
To ignore a specific rule on a one line basis: add at the end # noqa: <RULE_ID>
Python
dev: ms-python
Pyright
dev: ms-python
in settings/settings.json
add:
python.analysis.diagnosticSeverityOverrides": {
"reportWildcardImportFromLibrary": "none"
},
By default, pyright will only rely on type-stubs. If absent libraries types are unknown.
To modify such behavior, in settings:
python analysis libraries
check Use library code for types.
To ignore checks on a specific line:
instruction # pyright: ignore
svelte for VS Code
dev: svelte
usage
Keyboard shortcuts
Ctrl+X | delete line | |
Ctrl+K | Ctrl+C | comment block |
Ctrl+K | Ctrl+U | uncomment bloc |
reload
Ctrl+Shift+P then search for Developer: reload window