initialize vscode README
This commit is contained in:
103
.vscode/README.md
vendored
Normal file
103
.vscode/README.md
vendored
Normal file
@@ -0,0 +1,103 @@
|
|||||||
|
# VSCODE Configuration
|
||||||
|
|
||||||
|
- [VSCODE Configuration](#vscode-configuration)
|
||||||
|
- [Fix Paste (if ctrl+v not working)](#fix-paste-if-ctrlv-not-working)
|
||||||
|
- [Shell](#shell)
|
||||||
|
- [Fonts](#fonts)
|
||||||
|
- [Navigation](#navigation)
|
||||||
|
- [Extensions](#extensions)
|
||||||
|
- [Continue](#continue)
|
||||||
|
|
||||||
|
## Fix Paste (if ctrl+v not working)
|
||||||
|
|
||||||
|
Add to user keyboard settings (json)
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"key": "ctrl+v",
|
||||||
|
"command": "-editor.action.clipboardPasteAction"
|
||||||
|
},
|
||||||
|
```
|
||||||
|
|
||||||
|
## Shell
|
||||||
|
|
||||||
|
Edit settings.json
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Fonts
|
||||||
|
|
||||||
|
Intel One Mono is designed to be easily readable for developers.
|
||||||
|
|
||||||
|
<https://github.com/intel/intel-one-mono>
|
||||||
|
|
||||||
|
Download and extract the ttf.zip
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mkdir ~/.local/share/fonts
|
||||||
|
rsync -av /path/to/download/*.ttf ~/.local/share/fonts/
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit settings.json
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"editor.fontFamily": "Intel One Mono",
|
||||||
|
"editor.fontLigatures": true,
|
||||||
|
"terminal.integrated.fontFamily": "Intel One Mono",
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## Navigation
|
||||||
|
|
||||||
|
The best navigation shortcut ever is alt+left and alt+right to move the cursor to it's
|
||||||
|
previous positions.
|
||||||
|
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"key": "alt+left",
|
||||||
|
"command": "workbench.action.navigateBack",
|
||||||
|
"when": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"key": "alt+right",
|
||||||
|
"command": "workbench.action.navigateForward",
|
||||||
|
"when": ""
|
||||||
|
}
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
|
## Extensions
|
||||||
|
|
||||||
|
To save a list of installed extensions run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
code --list-extensions >> vscode_extensions.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
To install that list of extensions run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cat vscode_extensions.txt | xargs -L 1 code --install-extension
|
||||||
|
```
|
||||||
|
|
||||||
|
## Continue
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"models": [
|
||||||
|
{
|
||||||
|
"title": "qwen2.5-coder:32b",
|
||||||
|
"provider": "ollama",
|
||||||
|
"apiBase": "https://ollama.example.com",
|
||||||
|
"apiKey": "...",
|
||||||
|
"model": "qwen2.5-coder:32b"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
...
|
||||||
|
```
|
||||||
14
code_oss_extensions.txt
Normal file
14
code_oss_extensions.txt
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
charliermarsh.ruff
|
||||||
|
continue.continue
|
||||||
|
davidanson.vscode-markdownlint
|
||||||
|
ms-python.black-formatter
|
||||||
|
ms-python.debugpy
|
||||||
|
ms-python.python
|
||||||
|
ms-toolsai.jupyter
|
||||||
|
ms-toolsai.jupyter-keymap
|
||||||
|
ms-toolsai.jupyter-renderers
|
||||||
|
ms-toolsai.vscode-jupyter-cell-tags
|
||||||
|
ms-toolsai.vscode-jupyter-slideshow
|
||||||
|
stkb.rewrap
|
||||||
|
streetsidesoftware.code-spell-checker
|
||||||
|
yzhang.markdown-all-in-one
|
||||||
Reference in New Issue
Block a user