From e8203ee7ce3412bf3838617d87ed3e1fc908d5e0 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Sat, 13 Aug 2022 09:52:19 +0200 Subject: [PATCH] Codium/VSCode: updated extensions list, added shortcuts for inlay hints (`Alt+Ctrl` off unless pressed, `Ctrl+k` perma toggle for rust-analyzer and clangd) --- vscode/.config/Code/User/keybindings.json | 10 ++++++++++ vscode/.config/Code/User/settings.json | 1 + vscode/.config/VSCodium/User/keybindings.json | 1 + vscode/codium-extensions.list | 5 ++++- 4 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 vscode/.config/Code/User/keybindings.json create mode 120000 vscode/.config/VSCodium/User/keybindings.json diff --git a/vscode/.config/Code/User/keybindings.json b/vscode/.config/Code/User/keybindings.json new file mode 100644 index 0000000..0ee3772 --- /dev/null +++ b/vscode/.config/Code/User/keybindings.json @@ -0,0 +1,10 @@ +[ + { + "key": "ctrl+k", + "command": "rust-analyzer.toggleInlayHints" + }, + { + "key": "ctrl+k", + "command": "clangd.inlayHints.toggle" + } +] diff --git a/vscode/.config/Code/User/settings.json b/vscode/.config/Code/User/settings.json index a44a117..c62a3a1 100644 --- a/vscode/.config/Code/User/settings.json +++ b/vscode/.config/Code/User/settings.json @@ -1,4 +1,5 @@ { + "editor.inlayHints.enabled": "offUnlessPressed", "editor.rulers": [ 80 ], diff --git a/vscode/.config/VSCodium/User/keybindings.json b/vscode/.config/VSCodium/User/keybindings.json new file mode 120000 index 0000000..822aacd --- /dev/null +++ b/vscode/.config/VSCodium/User/keybindings.json @@ -0,0 +1 @@ +../../Code/User/keybindings.json \ No newline at end of file diff --git a/vscode/codium-extensions.list b/vscode/codium-extensions.list index 333cc67..6f6a409 100644 --- a/vscode/codium-extensions.list +++ b/vscode/codium-extensions.list @@ -3,8 +3,11 @@ dawidd6.debian-vscode dracula-theme.theme-dracula humao.rest-client James-Yu.latex-workshop +llvm-vs-code-extensions.vscode-clangd +matklad.rust-analyzer mikestead.dotenv ms-python.python +notskm.clang-tidy redhat.vscode-yaml -ryanluker.vscode-coverage-gutters timonwong.shellcheck +xaver.clang-format