VS Code Installation & Configuration for Fedora
Complete guide to installing and configuring Visual Studio Code on Fedora Linux with recommended extensions and settings.
VS Code Installation & Configuration
Installation
Install from flatpak.
Sign in to sync settings and extensions.
Sign in for copilot.
Create a desktop file at ~/.local/share/applications/code.desktop
[Desktop Entry]
Name=Visual Studio Code
Comment=Code Editing. Redefined.
GenericName=Text Editor
Exec=/usr/share/code/code --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --wayland-text-input-version=3 %F
Icon=vscode
Type=Application
StartupNotify=false
StartupWMClass=Code
Categories=TextEditor;Development;IDE;
MimeType=application/x-code-workspace;
Actions=new-empty-window;
Keywords=vscode;
[Desktop Action new-empty-window]
Name=New Empty Window
Name[cs]=Nové prázdné okno
Name[de]=Neues leeres Fenster
Name[es]=Nueva ventana vacía
Name[fr]=Nouvelle fenêtre vide
Name[it]=Nuova finestra vuota
Name[ja]=新しい空のウィンドウ
Name[ko]=새 빈 창
Name[ru]=Новое пустое окно
Name[zh_CN]=新建空窗口
Name[zh_TW]=開新空視窗
Exec=/usr/share/code/code --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --wayland-text-input-version=3 --new-window %F
Icon=vscode
Recommended Extensions
- vim
- GitHub Copilot
- Cline
- GitIgnore
- Git Graph v3
- GitLens
- Gruvbox Theme
- Partial Diff
- Live Server
- Markdown All in One
- markdownlint
- Simple React Snippets
- Extension Pack for Java
- Tailwind CSS IntelliSense
- MDX
Settings Configuration
Add these settings to your VS Code settings.json
:
{
"files.autoSave": "onFocusChange",
"editor.formatOnSave": true,
"editor.fontSize": 21,
"editor.fontLigatures": true,
"editor.wordWrap": "wordWrapColumn",
"editor.smoothScrolling": true,
"editor.fontFamily": "'Mononoki Nerd Font Mono', 'JetBrains Mono', monospace",
"editor.experimentalEditContextEnabled": false,
"vim.foldfix": true,
"vim.useSystemClipboard": true,
"vim.easymotion": true,
"vim.leader": ",",
"git.enableSmartCommit": true,
"git.confirmSync": false,
"git.autofetch": true,
"github.copilot.enable": {
"*": true,
"plaintext": false,
"markdown": true,
"scminput": false
},
"markdownlint.config": {
"MD012": false,
"MD030": false,
"MD007": false
}
}
Additional Setup
- Remove Ctrl+P keyboard shortcut in Vim mode to enable default VS Code shortcut
- Turn on auto save on focus change
- Set editor word wrap to wordWrapColumn
- Enable editor smooth scrolling
- Disable “Editor: Experimental Edit Context Enabled” for proper Japanese input support
Reference: Official VS Code Linux Installation Guide
Last updated on