feat(editor_vscode): install extensions
Fixes #63 Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
e5623735e3
commit
c6ea1ed4dc
3 changed files with 110 additions and 0 deletions
|
@ -14,3 +14,102 @@ flatpak_apps:
|
||||||
- org.telegram.desktop
|
- org.telegram.desktop
|
||||||
# - org.x.Warpinator
|
# - org.x.Warpinator
|
||||||
- org.flameshot.Flameshot
|
- org.flameshot.Flameshot
|
||||||
|
|
||||||
|
editor_vscode_extensions:
|
||||||
|
# C/C++
|
||||||
|
- bazelbuild.vscode-bazel
|
||||||
|
- ms-vscode.cmake-tools
|
||||||
|
- ms-vscode.cpptools
|
||||||
|
- ms-vscode.cpptools-extension-pack
|
||||||
|
- ms-vscode.cpptools-themes
|
||||||
|
- twxs.cmake
|
||||||
|
|
||||||
|
# C#
|
||||||
|
- ms-dotnettools.csdevkit
|
||||||
|
- ms-dotnettools.csharp
|
||||||
|
- ms-dotnettools.vscode-dotnet-runtime
|
||||||
|
- ms-dotnettools.vscodeintellicode-csharp
|
||||||
|
|
||||||
|
# Deno
|
||||||
|
- denoland.vscode-deno
|
||||||
|
|
||||||
|
# Go
|
||||||
|
- golang.go
|
||||||
|
|
||||||
|
# Hare
|
||||||
|
- adotinthevoid.hare-highlighting
|
||||||
|
|
||||||
|
# Java
|
||||||
|
- redhat.java
|
||||||
|
- vscjava.vscode-gradle
|
||||||
|
- vscjava.vscode-java-debug
|
||||||
|
- vscjava.vscode-java-dependency
|
||||||
|
- vscjava.vscode-java-pack
|
||||||
|
- vscjava.vscode-java-test
|
||||||
|
- vscjava.vscode-maven
|
||||||
|
|
||||||
|
# Kotlin
|
||||||
|
- mathiasfrohlich.kotlin
|
||||||
|
|
||||||
|
# Python
|
||||||
|
- charliermarsh.ruff
|
||||||
|
- ms-python.debugpy
|
||||||
|
- 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
|
||||||
|
|
||||||
|
# Rust
|
||||||
|
- rust-lang.rust-analyzer
|
||||||
|
|
||||||
|
# Swift
|
||||||
|
- sswg.swift-lang
|
||||||
|
- vadimcn.vscode-lldb
|
||||||
|
|
||||||
|
# Zig
|
||||||
|
- ziglang.vscode-zig
|
||||||
|
|
||||||
|
# Git
|
||||||
|
- eamodio.gitlens
|
||||||
|
|
||||||
|
# Themes
|
||||||
|
- akamud.vscode-theme-onedark
|
||||||
|
- akamud.vscode-theme-onelight
|
||||||
|
- alexandernanberg.horizon-theme-vscode
|
||||||
|
- atomiks.moonlight
|
||||||
|
- avidworks.vampiro
|
||||||
|
- catppuccin.catppuccin-vsc
|
||||||
|
- ddiu8081.moegi-theme
|
||||||
|
- dracula-theme.theme-dracula
|
||||||
|
- enkia.tokyo-night
|
||||||
|
- fabiospampinato.vscode-monokai-night
|
||||||
|
- github.github-vscode-theme
|
||||||
|
- gnhuy91.theme-oceanicnext-sublime
|
||||||
|
- ibmlover.oxocarbon
|
||||||
|
- keifererikson.nightfox
|
||||||
|
- liviuschera.noctis
|
||||||
|
- mcagampan.dark-horizon
|
||||||
|
- ms-vscode.theme-tomorrowkit
|
||||||
|
- mvllow.rose-pine
|
||||||
|
- sdras.night-owl
|
||||||
|
- teabyii.ayu
|
||||||
|
- tomphilbin.gruvbox-themes
|
||||||
|
- vincentfiestada.cold-horizon-vscode
|
||||||
|
- zhuangtongfa.material-theme
|
||||||
|
|
||||||
|
# Misc
|
||||||
|
- asciidoctor.asciidoctor-vscode
|
||||||
|
- cs50.vscode-presentation-mode
|
||||||
|
- danielgjackson.auto-dark-mode-windows
|
||||||
|
- editorconfig.editorconfig
|
||||||
|
- ms-vscode-remote.remote-containers
|
||||||
|
- tamasfe.even-better-toml
|
||||||
|
- unifiedjs.vscode-mdx
|
||||||
|
- vscodevim.vim
|
||||||
|
|
||||||
|
# Where does this come from?
|
||||||
|
- visualstudioexptteam.intellicode-api-usage-examples
|
||||||
|
- visualstudioexptteam.vscodeintellicode
|
||||||
|
|
3
roles/editor_vscode/defaults/main.yml
Normal file
3
roles/editor_vscode/defaults/main.yml
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
# List of VSCode extensions to be installed with the VSCode
|
||||||
|
editor_vscode_extensions: []
|
|
@ -17,3 +17,11 @@
|
||||||
loop:
|
loop:
|
||||||
- settings
|
- settings
|
||||||
- keybindings
|
- keybindings
|
||||||
|
|
||||||
|
- name: Install extensions
|
||||||
|
ansible.builtin.command:
|
||||||
|
cmd: code-insiders --install-extension {{ item }}
|
||||||
|
register: _editor_vscode_installation_result
|
||||||
|
changed_when: '"was successfully installed." in _editor_vscode_installation_result.stdout'
|
||||||
|
failed_when: '"Error while installing extensions" in _editor_vscode_installation_result.stderr'
|
||||||
|
loop: "{{ editor_vscode_extensions }}"
|
||||||
|
|
Loading…
Reference in a new issue