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
settings
- remove keyboard shortcut ctrl + p in vim mode to enable default shortcut
- turn on auto save on focus change
- turn on auto format on save
- increase editor font size to 18
- configure markdown language mode for .mdx file
- set editor word wrap: wordWrapColumn
"markdownlint.config": {
"MD012": false, // Multiple consecutive blank lines
"MD030": false, // Spaces after list markers
"MD007": false // Unordered list indentation
},
Last updated on