Download and Install Visual Studio Code or use Chocolatey:
https://code.visualstudio.com/Download
https://code.visualstudio.com/docs/setup/linux
or
choco install vscode
Adjust the following settings corresponding to your preferences:
File > Preferences > Keyboard Shortcuts
# or install a known ones (e.g. IntelliJ)
File > Preferences > Keymaps
File > Preferences > Settings (Ctrl+,)
// Do not close file when opening another one
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.editor.enablePreview": false,
// Do not show mini code preview on the right side
"editor.minimap.enabled": false,
// Do not automatically commmit unstaged files
"git.enableSmartCommit": false,
// Privacy
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"update.enableWindowsBackgroundUpdates": false
The following extensions (or any alternatives) should be installed.
code --install-extension dbaeumer.vscode-eslint
code --install-extension esbenp.prettier-vscode
Activate vs-code-prettier as default formatter. VSCode should ask you, otherwise set it manually:
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
Until now Lunes uses an external repo for the eslint configuration. After Checking out the repo allow eslint to use the npm module in node_modules/eslint.
The eslint extension button is in the bottom right corner of the IDE
(Alternative: Git Lens)
code --install-extension donjayamanne.githistory
(Changes History)
code --install-extension xyz.local-history
Set path in settings:
"local-history.path": "<Path outside of project to not use .gitignore>",
Use Visual Studio Code in Windows as GUI for code running in WSL
https://code.visualstudio.com/docs/remote/wsl
code --install-extension ms-vscode-remote.remote-wsl
use button in top right corner see the formatted markup
code --install-extension yzhang.markdown-all-in-one