Install VSCode on Fedora
# Install the key and yum repository by running the following script:
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\nautorefresh=1\ntype=rpm-md\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null
# Then update the package cache and install the package using dnf (Fedora 22 and above):
dnf check-update
sudo dnf install code # or code-insiders
extensions
- vim
- for vim: enable foldfix, enable system clipboard
- github copilot
- sign in to use
- cline
- gitignore
- git graph v3
- partial diff
- gitlens
- markdown all in one
- markdownlint
- gruvbox theme
- simple react snippets
- Extension Pack for Java
- Tailwind CSS IntelliSense
settings
- remove keyboard shortcut ctrl + p in vim mode to enable default shortcut
- turn on auto save on focus change
- set editor word wrap: wordWrapColumn
- editor smooth scrolling
- add font ‘Mononoki Nerd Font Mono’
"vim.useSystemClipboard": true,
"vim.foldfix": true,
"vim.easymotion": true,
"vim.leader": ",",
"vim.insertModeKeyBindings": [ ],
"vim.normalModeKeyBindingsNonRecursive": [ ],
"vim.visualModeKeyBindingsNonRecursive": [ ],
"github.copilot.enable": {
"markdown": true,
"plaintext": true,
},
"editor.formatOnSave" = true,
"editor.fontLigatures" = true,
"editor.fontSize" = 21,
"markdownlint.config": {
"MD012": false, // Multiple consecutive blank lines
"MD030": false, // Spaces after list markers
"MD007": false // Unordered list indentation
},
Last updated on