Skip to content

Commit

Permalink
Update VS Code settings
Browse files Browse the repository at this point in the history
  • Loading branch information
bertvv committed Apr 13, 2023
1 parent 89d6cb5 commit 5bad266
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .config/Code/User/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
"files.autoSaveDelay": 20000,
"files.defaultLanguage": "${activeEditorLanguage}",
"git.confirmSync": false,
"jupyter.sendSelectionToInteractiveWindow": true,
"keyboard.dispatch": "keyCode",
"latex-workshop.bibtex-format.sort.enabled": true,
"latex-workshop.linting.chktex.enabled": true,
Expand Down Expand Up @@ -167,6 +166,7 @@
}
],
"latex-workshop.latex.tools": [

{
"args": [
"-f",
Expand Down Expand Up @@ -267,7 +267,6 @@
"default": "right",
"jupyter-notebook": "left"
},
"notebook.lineNumbers": "on",
"r.bracketedPaste": true,
"r.rterm.linux": "/home/bert/.local/bin/radian",
"r.sessionWatcher": true,
Expand All @@ -281,14 +280,14 @@
"workbench.editor.pinnedTabSizing": "shrink",
"workbench.editor.wrapTabs": true,
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
"*.ipynb": "jupyter-notebook",
"*.pdf": "latex-workshop-pdf-hook"
},
"latex-workshop.linting.chktex.convertOutput.column.chktexrcTabSize": 2,
"gitlens.defaultDateFormat": null,
"gitlens.defaultTimeFormat": "H:mm",
"gitlens.defaultDateShortFormat": "YYYY-MM-DD",
"editor.bracketPairColorization.enabled": true,
"latex-workshop.latex.autoClean.run": "onBuilt",
"gitlens.hovers.currentLine.over": "line",
"latex-workshop.synctex.afterBuild.enabled": true,
"latex-workshop.intellisense.file.exclude": [
Expand Down Expand Up @@ -364,5 +363,21 @@
],
"markdown.validate.enabled": true,
"window.restoreWindows": "none",
"interactiveWindow.restore": true
"interactiveWindow.restore": true,
"redhat.telemetry.enabled": false,
"editor.inlineSuggest.enabled": true,
"git.autofetch": true,
"git.openRepositoryInParentFolders": "never",
"[python]": {
"editor.wordWrapColumn": 120
},
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": true
},
"jupyter.interactiveWindow.textEditor.executeSelection": true,
"notebook.lineNumbers": "on",
"window.zoomLevel": 1
}
29 changes: 29 additions & 0 deletions .config/Code/User/snippets/latex.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,34 @@
"\\end{solutionordottedlines}"
],
"description": "Insert solutionordottedlines environment"
},
"Partial question": {
"prefix": "PT",
"body": [
"\\part[${1:1}] $2",
"\t\\begin{solutionordottedlines}[${3:1}cm]",
"\t\t$4",
"\t\\end{solutionordottedlines}"
],
"description": "Insert question part and solution"
},
"Question": {
"prefix": "QT",
"body": [
"\\question[${1:1}] $2",
"\n\\begin{solutionordottedlines}[${3:3}cm]",
"\t$4",
"\\end{solutionordottedlines}"
],
"description": "Insert question and solution"
},
"Verbatim": {
"prefix": "BVE",
"body": [
"\\begin{verbatim}",
"$1",
"\\end{verbatim}"
],
"description": "Verbatim environment"
}
}

0 comments on commit 5bad266

Please sign in to comment.