Skip to content

Instantly share code, notes, and snippets.

@brccabral
Last active May 21, 2025 00:09
Show Gist options
  • Save brccabral/3192c7150aa8135a1178ddc85875f413 to your computer and use it in GitHub Desktop.
Save brccabral/3192c7150aa8135a1178ddc85875f413 to your computer and use it in GitHub Desktop.
VSCode VSCodium snippets and settings

VSCode VSCodium snippets and settings

Place the snippets at ~/.config/Visual Studio Code/User/snippets or ~/.config/VSCodium/User/snippets
Use "scope" to tell VSCode/VSCodium to use it in a specific language.

VSCode/VSCodium don't come with Python snippets. I am creating them as I need.

Create symlinks for extensions folder if they occupy too much space in the $HOME drive.

ln -s /mnt/otherDrive/VSCode/extensions $HOME/.vscode
{
"printf": {
"scope": "c",
"prefix": "printf",
"body": "printf(\"$1\\n\"$2);$0",
"description": "printf a new line"
},
"scanf int": {
"scope": "c",
"prefix": "scanfint",
"body": "scanf(\"$1%d\", &${2:i});$0",
"description": "scanf get int as input"
},
"#include <>": {
"scope": "c",
"prefix": "include<>",
"body": [
"#include <$0>",
],
"description": "#include <>"
},
"#include \"\"": {
"scope": "c",
"prefix": "include\"\"",
"body": [
"#include \"$0\"",
],
"description": "#include \"\""
},
"#include <iostream>": {
"scope": "c",
"prefix": "includeiostream",
"body": [
"#include <iostream>",
"$0"
],
"description": "#include <iostream>"
}
}
{
"printf": {
"scope": "cpp",
"prefix": "printf",
"body": "printf(\"$1\\n\"$2);$0",
"description": "printf a new line"
},
"scanf int": {
"scope": "cpp",
"prefix": "scanfint",
"body": "scanf(\"$1%d\", &${2:i});$0",
"description": "scanf get int as input"
},
"std::cout": {
"scope": "cpp",
"prefix": "cout",
"body": "std::cout << $1 << std::endl;$0",
"description": "std::cout << << std::endl;"
},
"while": {
"scope": "cpp",
"prefix": "while",
"body": [
"while ($1)",
"{",
"\t$0",
"}"
],
"description": "while(){}"
},
"pragma once": {
"scope": "cpp",
"prefix": "pragmaonce",
"body": [
"#pragma once",
"$0"
],
"description": "#pragma once"
},
"#include <>": {
"scope": "cpp",
"prefix": "include<>",
"body": [
"#include <$0>",
],
"description": "#include <>"
},
"#include \"\"": {
"scope": "cpp",
"prefix": "include\"\"",
"body": [
"#include \"$0\"",
],
"description": "#include \"\""
},
"#include <iostream>": {
"scope": "cpp",
"prefix": "includeiostream",
"body": [
"#include <iostream>",
"$0"
],
"description": "#include <iostream>"
},
"#include <vector>": {
"scope": "cpp",
"prefix": "includevector",
"body": [
"#include <vector>",
"$0"
],
"description": "#include <vector>"
},
"#include <string>": {
"scope": "cpp",
"prefix": "includestring",
"body": [
"#include <string>",
"$0"
],
"description": "#include <string>"
},
"#include <map>": {
"scope": "cpp",
"prefix": "includemap",
"body": [
"#include <map>",
"$0"
],
"description": "#include <map>"
},
"#include <algorithm>": {
"scope": "cpp",
"prefix": "includealgorithm",
"body": [
"#include <algorithm>",
"$0"
],
"description": "#include <algorithm>"
},
"#include <memory>": {
"scope": "cpp",
"prefix": "includememory",
"body": [
"#include <memory>",
"$0"
],
"description": "#include <memory>"
},
"std::vector": {
"scope": "cpp",
"prefix": "vector",
"body": "std::vector<${1:type}> ${2:vecVar}$0",
"description": "std::vector<type> var"
},
"std::list": {
"scope": "cpp",
"prefix": "list",
"body": "std::list<${1:type}> ${2:listVar}$0",
"description": "std::list<type> var"
},
"std::deque": {
"scope": "cpp",
"prefix": "deque",
"body": "std::deque<${1:type}> ${2:dequeVar}$0",
"description": "std::deque<type> var"
},
"std::stack": {
"scope": "cpp",
"prefix": "stack",
"body": "std::stack<${1:type}> ${2:stackVar}$0",
"description": "std::stack<type> var"
},
"std::queue": {
"scope": "cpp",
"prefix": "queue",
"body": "std::queue<${1:type}> ${2:queueVar}$0",
"description": "std::queue<type> var"
},
"std::priority_queue": {
"scope": "cpp",
"prefix": "priority_queue",
"body": "std::priority_queue<${1:type}> ${2:priority_queueVar}$0",
"description": "std::priority_queue<type> var"
},
"std::set": {
"scope": "cpp",
"prefix": "set",
"body": "std::set<${1:type}> ${2:setVar}$0",
"description": "std::set<type> var"
},
"std::pair": {
"scope": "cpp",
"prefix": "pair",
"body": "std::pair<${1:type1}, ${2:type2}> ${3:pairVar}$0",
"description": "std::pair<type1, type2> var"
},
"std::map": {
"scope": "cpp",
"prefix": "map",
"body": "std::map<${1:type1}, ${2:type2}> ${3:mapVar}$0",
"description": "std::map<type1, type2> var"
},
"std::unordered_map": {
"scope": "cpp",
"prefix": "unordered_map",
"body": "std::unordered_map<${1:type1}, ${2:type2}> ${3:unmapVar}$0",
"description": "std::unordered_map<type1, type2> var"
},
"iterator_list": {
"scope": "cpp",
"prefix": "for_list",
"body": [
"for(std::list<${1:type}>::iterator ${2:it} = ${3:collection}.begin(); ${2:it} != ${3:collection}.end(); ++${2:it})",
"{",
"\t$0",
"}",
],
"description": "for i in list/vector"
},
"iterator": {
"scope": "cpp",
"prefix": "for_it",
"body": [
"for(auto ${1:it} = ${2:collection}.begin(); ${1:it} != ${2:collection}.end(); ++${1:it})",
"{",
"\t$0",
"}",
],
"description": "for it in collection"
},
"std::shared_ptr": {
"scope": "cpp",
"prefix": "shared_ptr",
"body": "std::shared_ptr<${1:type}> ${2:sharedptrVar}$0",
"description": "std::shared_ptr<type> var"
},
"using namespace std;": {
"scope": "cpp",
"prefix": "usingnamespacestd;",
"body": [
"using namespace std;",
"$0"
],
"description": "using namespace std;"
},
"for": {
"scope": "cpp",
"prefix": "for",
"body": [
"for (${1:type} ${2:index} = ${3:0}; ${2:index} < ${4:interrupt}; ++${2:index})",
"{",
"\t$0",
"}",
],
"description": "for"
},
"ifVAR": {
"scope": "cpp",
"prefix": "#ifVAR",
"body": [
"#if ${1:VAR}",
"#else",
"#endif",
],
"description": "#if VAR"
},
"sort_2d_vector": {
"scope": "cpp",
"prefix": "sort_2d",
"body": [
"sort(${1:collection}.begin(), ${1:collection}.end(), [](${2:vector<int>} lhs, ${2:vector<int>} rhs)",
"{ return (lhs[0] < rhs[0]) ? true",
": ((rhs[0] < lhs[0]) ? false",
": (lhs[1] < rhs[1] ? true",
": (rhs[1] < lhs[1] ? false : false))); });"
],
"description": "sort(begin,end,[](lhs, rhs){});"
},
"case": {
"scope": "cpp",
"prefix": "case",
"body": [
"case ${1:VALUE}:",
"{",
"\t$0",
"\tbreak;",
"}"
]
}
}
// windows %APPDATA%\VSCodium\User\keybindings.json
// linux $HOME/.config/Code/User/keybidings.json
// Place your key bindings in this file to override the defaults
[
{
"key": "",
"command": "-workbench.view.debug",
"when": "viewContainer.workbench.view.debug.enabled"
},
{
"key": "ctrl+shift+d",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "cursorColumnSelectDown",
"when": "textInputFocus"
},
{
"key": "",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+up",
"command": "cursorColumnSelectUp",
"when": "textInputFocus"
},
{
"key": "alt+right",
"command": "workbench.action.navigateForward",
"when": "canNavigateForward"
},
{
"key": "alt+left",
"command": "workbench.action.navigateBack",
"when": "canNavigateBack"
},
]

Markdown Style

When using extension Markdown PDF, by default it exports as Light Theme.
To make it export Dark, add <style type="text/css"></style> at the top of .md file and set the theme.
We may add themes for light and dark in the same .md file by adding blocks for @media (prefers-color-scheme: light) or @media (prefers-color-scheme: dark).
Theme below is just my preference.

<style type="text/css">
/* @media (prefers-color-scheme: light) {
} */
/* @media (prefers-color-scheme: dark){ */
    html{
        --primary-color: #000;
        --text-color: white;
        --bg-code: #2B2B2B;
        --keyword: #4E98BA;
        --comment: #57A64A;
        --doctag: #569CD6;
        --string: #C09979;
    } 
    a:link{
        color: rgb(0,128,255);
    }
/* } */
html {
    color: var(--text-color);
    background-color: var(--primary-color);
}
pre:not(.hljs) {
    margin: 1px;
    padding: 1px;
    color: var(--text-color);
    background-color: var(--bg-code);
}
code {
    margin: 1px;
    padding: 2px 5px;
    color: var(--text-color);
    background-color: var(--bg-code);
}
:not(pre):not(.hljs) > code {
    color: var(--text-color);
    font-weight: bold;
}
pre code{
    margin: 1px;
    padding: 1px;
    display: inline-block;
}
pre.hljs code > div{
    margin: 1px;
    padding: 1px;
}
.hljs {
    margin: 1px;
    padding: 5px;
    color: var(--text-color);
    background-color: var(--bg-code);
} 
.hljs-title{
    color: var(--text-color);
}
.hljs-keyword{
    color: var(--keyword);
}
.hljs-tag{
    color: var(--keyword);
}
.hljs-name{
    color: var(--keyword);
}
.hljs-string{
    color: var(--string);
}
.hljs-comment{
    color: var(--coment);
}
.hljs-doctag{
    color: var(--doctag);
}
</style>
// Place this at /usr/share/codium/resources/app/product.json or /usr/share/vscodium-bin/resources/app/product.json if AppImage
// $XDG_CONFIG_HOME/VSCodium or ~/.config/VSCodium
// %APPDATA%\VSCodium
{
"nameShort": "Visual Studio Code",
"nameLong": "Visual Studio Code",
"extensionsGallery": {
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
"itemUrl": "https://marketplace.visualstudio.com/items",
"controlUrl": "",
"recommendationsUrl": ""
}
}
{
"LoadImage": {
"scope": "python",
"prefix": "image_load",
"body": [
"${1:self.image} = pygame.image.load('${2:path/image.png}').convert${3:_alpha}()",
"$0"
],
"description": "pygame.image.load()"
},
"LoadSound": {
"scope": "python",
"prefix": "sound_load",
"body": [
"${1:self.sound} = pygame.mixer.Sound('${2:path/sound.wav}')",
"${1:self.sound}.set_volume(${3:0.1})",
"$0"
],
"description": "pygame.image.load()"
},
"GameObjectSprite": {
"scope": "python",
"prefix": "sprite_init",
"body": [
"class ${1:Player}(pygame.sprite.Sprite):",
"\tdef __init__(self, groups: List[pygame.sprite.Group]):",
"\t\tsuper().__init__(groups)",
"\t\t${0}",
],
"description": "pygame.image.load()"
},
}
{
"sg.Window": {
"scope": "python",
"prefix": "sg_window",
"body": [
"window = sg.Window(\"${1:Title}\", layout, size=(${2:100}, ${3:100}))$0"
],
"description": "sg.Window"
},
"sg.Input": {
"scope": "python",
"prefix": "sg_input",
"body": [
"sg.Input(key=\"-${1:INPUT}-\", expand_x=${2|True,False|})$0"
],
"description": "sg.Input"
},
"sg.Input_extended": {
"scope": "python",
"prefix": "sg_input_extended",
"body": [
"sg.Input(key=\"-${1:INPUT}-\"${2:, expand_x=True})$0"
],
"description": "sg.Input"
},
"sg.Canvas": {
"scope": "python",
"prefix": "sg_canvas",
"body": [
"sg.Canvas(key=\"-${1:CANVAS}-\")$0"
],
"description": "sg.Canvas"
},
"sg.Spin": {
"scope": "python",
"prefix": "sg_spin",
"body": [
"sg.Spin([${1}], key=\"-${2:SPIN}-\")$0"
],
"description": "sg.Spin"
},
"sg.Button": {
"scope": "python",
"prefix": "sg_button",
"body": [
"sg.Button(\"${1:Button}\", key=\"-${2:BUTTON}-\")$0"
],
"description": "sg.Button"
},
"sg.Button_extended": {
"scope": "python",
"prefix": "sg_button_extended",
"body": [
"sg.Button(\"${1:Button}\", key=\"-${2:BUTTON}-\", expand_x=${3:False}, size=(${4:1, 1}), button_color=${5:black}, border_width=${6:0})$0"
],
"description": "sg.Button"
},
"sg.Text": {
"scope": "python",
"prefix": "sg_text",
"body": [
"sg.Text(\"${1:Text}\", key=\"-${2:TEXT}-\")$0"
],
"description": "sg.Text"
},
"sg.Text_extended": {
"scope": "python",
"prefix": "sg_text_extended",
"body": [
"sg.Text(\"${1:Text}\", key=\"-${2:TEXT}-\", font=\"${3:Arial 12}\", justification=\"${4|left,center,right|}\", expand_x=${5|True,False|}, pad=(${6:5, 5}), visible=${7|True,False|}, background_color='${8:white}', text_color='${9:black}')$0"
],
"description": "sg.Text"
},
"sg.Multiline": {
"scope": "python",
"prefix": "sg_multiline",
"body": [
"sg.Multiline('${1:Text}', key=\"-${2:TEXTBOX}-\", no_scrollbar=${3:True}, size=(${4:40}, ${5:30}), disabled=${6|True,False|})$0"
],
"description": "sg.Multiline"
},
"sg.Menu": {
"scope": "python",
"prefix": "sg_menu",
"body": [
"sg.Menu([['${1:Menu}',['${2:Option1}',['${3:Option2}',['${4:suboption}']]]]])$0"
],
"description": "sg.Menu"
},
"sg.Frame": {
"scope": "python",
"prefix": "sg_frame",
"body": [
"sg.Frame('${1:FrameTitle}', layout=[[]])$0"
],
"description": "sg.Frame"
},
"sg.Tab": {
"scope": "python",
"prefix": "sg_tab",
"body": [
"sg.Tab('${1:TabTitle}', layout=[[]])$0"
],
"description": "sg.Tab"
},
"sg.TabGroup": {
"scope": "python",
"prefix": "sg_tabgroup",
"body": [
"sg.TabGroup(layout=[[]])$0"
],
"description": "sg.TabGroup"
},
"sg.Slider": {
"scope": "python",
"prefix": "sg_slider",
"body": [
"sg.Slider(key=\"-${1:SLIDER}-\", orientation=\"${2|h,v|}\", range=(${3:0}, ${4:100}))$0"
],
"description": "sg.Slider"
},
"sg.Checkbox": {
"scope": "python",
"prefix": "sg_checkbox",
"body": [
"sg.Checkbox(\"${1:CheckboxLabel}\", key=\"-${2:CHECKBOX}-\")$0"
],
"description": "sg.Checkbox"
},
"sg.Column": {
"scope": "python",
"prefix": "sg_column",
"body": [
"sg.Column([[]])$0"
],
"description": "sg.Column"
},
"sg.Push": {
"scope": "python",
"prefix": "sg_push",
"body": [
"sg.Push()$0"
],
"description": "sg.Push"
},
"sg.VPush": {
"scope": "python",
"prefix": "sg_vpush",
"body": [
"sg.VPush()$0"
],
"description": "sg.VPush"
},
"sg.Progress": {
"scope": "python",
"prefix": "sg_progress",
"body": [
"sg.Progress(${1:100}, key=\"-${1:PROGRESS}-\", expand_x=\"${2|True,False|}\", size=(${3:20}, ${4:20}), bar_color=('green', 'white'))$0"
],
"description": "sg.Progress"
},
"sg.Image": {
"scope": "python",
"prefix": "sg_image",
"body": [
"sg.Image(\"${1:/path/to/image.png}\", key=\"-${2:IMAGE}-\", background_color='${3:white}')$0"
],
"description": "sg.Image"
},
}
{
"Textbox": {
"scope": "python",
"prefix": "tk_textbox",
"body": [
"self.${1:textbox} = tk.Text(self.${2:root}, width=${3:40}, height=${4:10})",
"self.${1:textbox}.${5|grid,pack|}()",
"$0"
],
"description": "tk.Text()"
},
"Button": {
"scope": "python",
"prefix": "tk_button",
"body": [
"self.${1:button} = tk.Button(self.${2:root}, text='${3:Sample}', command=self.${4:function_name})",
"self.${1:button}.${5|grid,pack|}()",
"$0"
],
"description": "tk.Button()"
},
"Label": {
"scope": "python",
"prefix": "tk_label",
"body": [
"self.${1:label} = tk.Label(self.${2:root}, text='${3:Sample}')",
"self.${1:label}.${4|grid,pack|}()",
"$0"
],
"description": "tk.Label()"
},
"LabelFrame": {
"scope": "python",
"prefix": "tk_labelframe",
"body": [
"self.${1:label_frame} = tk.LabelFrame(self.${2:root}, text='${3:Sample}')",
"self.${1:label_frame}.${4|grid,pack|}()",
"$0"
],
"description": "tk.LabelFrame()"
},
"Message": {
"scope": "python",
"prefix": "tk_message",
"body": [
"self.${1:message} = tk.Message(self.${2:root}, text='${3:Sample}', aspect=${4:150}, justify=${5|LEFT,RIGHT,CENTER|})",
"self.${1:message}.${5|grid,pack|}()",
"$0"
],
"description": "tk.Message()"
},
"Entry": {
"scope": "python",
"prefix": "tk_entry",
"body": [
"self.${1:entry} = tk.Entry(self.${2:root})",
"self.${1:entry}.${3|grid,pack|}()",
"$0"
],
"description": "tk.Entry()"
},
"Entry Font": {
"scope": "python",
"prefix": "tk_entry_font",
"body": [
"self.${1:entry} = tk.Entry(self.${2:root}, font=('${3:Arial}', ${4:28}))",
"self.${1:entry}.${5|grid,pack|}()",
"$0"
],
"description": "tk.Entry()"
},
"Frame": {
"scope": "python",
"prefix": "tk_frame",
"body": [
"self.${1:frame} = tk.Frame(self.${2:root})",
"self.${1:frame}.${3|grid,pack|}()",
"$0"
],
"description": "tk.Frame()"
},
"Listbox": {
"scope": "python",
"prefix": "tk_listbox",
"body": [
"self.${1:listbox} = tk.Listbox(self.${2:root}, selectmode=${3|BROWSE,SINGLE,MULTIPLE,EXTENDED|})",
"self.${1:listbox}.${4|grid,pack|}()",
"self.${1:listbox}.insert(END, *${5:list_var})",
"$0"
],
"description": "tk.Listbox()"
},
"Font": {
"scope": "python",
"prefix": "tk_font",
"body": [
"self.${1:font} = Font(self.${2:root}, size=${3:10})",
"$0"
],
"description": "tk.Font()"
},
"Filedialog Ask Open": {
"scope": "python",
"prefix": "tk_fileaskopen",
"body": [
"${1:filename} = filedialog.askopenfilename(initialdir='${2:.}', filetypes=(('${3:Filetype description}', '*.${4:ext}'),))",
"if not ${1:filename}:",
"\treturn",
"$0"
],
"description": "filedialog.askopenfilename()"
},
"Filedialog Ask Save": {
"scope": "python",
"prefix": "tk_fileasksave",
"body": [
"${1:filename} = filedialog.asksaveasfilename(initialdir='${2:.}', filetypes=(('${3:Filetype description}', '*.${4:ext}'),))",
"if not ${1:filename}:",
"\treturn",
"$0"
],
"description": "filedialog.asksaveasfilename()"
},
"ScrollFrame": {
"scope": "python",
"prefix": "tk_scrollframe",
"body": [
"self.${1:outer_frame} = tk.Frame(self.${2:root})",
"self.${1:outer_frame}.pack(fill=BOTH, expand=1)\n",
"self.${3:canvas} = tk.Canvas(self.${1:outer_frame})",
"self.${3:canvas}.pack(side=LEFT, fill=BOTH, expand=1)\n",
"self.${3:canvas}.configure(scrollregion=self.${3:canvas}.bbox('all'))",
"self.${3:canvas}.bind('<Configure>', lambda event: self.${3:canvas}.configure(scrollregion=self.${3:canvas}.bbox('all')))\n",
"self.${4:work_frame} = tk.Frame(self.${3:canvas})\n",
"if os.name == 'nt':",
"\tself.${4:work_frame}.bind('<MouseWheel>', lambda event: self.${3:canvas}.yview('scroll', -1 if event.num==4 else 1, 'units'))",
"else:",
"\tself.${4:work_frame}.bind('<Button-4>', lambda event: self.${3:canvas}.yview('scroll', -1 if event.num==4 else 1, 'units'))",
"\tself.${4:work_frame}.bind('<Button-5>', lambda event: self.${3:canvas}.yview('scroll', -1 if event.num==4 else 1, 'units'))\n",
"self.${3:canvas}.create_window((0,0), window=self.${4:work_frame}, anchor=NW)\n",
"self.${5:vertical_scroll} = tk.Scrollbar(self.${3:canvas}, orient=VERTICAL, command=self.${3:canvas}.yview)",
"self.${5:vertical_scroll}.pack(side=RIGHT, fill=Y)",
"self.${3:canvas}.config(yscrollcommand=self.${5:vertical_scroll}.set)\n",
"self.${6:horizontal_scroll} = tk.Scrollbar(self.${3:canvas}, orient=HORIZONTAL, command=self.${3:canvas}.xview)",
"self.${6:horizontal_scroll}.pack(side=BOTTOM, fill=X)",
"self.${3:canvas}.config(xscrollcommand=self.${6:horizontal_scroll}.set)\n",
"$0"
],
"description": "filedialog.asksaveasfilename()"
},
"ScrollCanvas": {
"scope": "python",
"prefix": "tk_scrollcanvas",
"body": [
"self.${1:canvas} = tk.Canvas(self.${2:root})",
"self.${1:canvas}.configure(scrollregion=(0, 0, self.width, self.height))",
"self.${1:canvas}.bind('<Configure>', lambda event: self.${1:canvas}.configure(scrollregion=self.${1:canvas}.bbox('all')))\n",
"self.${3:vertical_scroll} = tk.Scrollbar(self.${2:root}, orient=VERTICAL, command=self.${1:canvas}.yview)",
"self.${3:vertical_scroll}.pack(side=RIGHT, fill=Y)",
"self.${1:canvas}.config(yscrollcommand=self.${3:vertical_scroll}.set)\n",
"self.${4:horizontal_scroll} = tk.Scrollbar(self.${2:root}, orient=HORIZONTAL, command=self.${1:canvas}.xview)",
"self.${4:horizontal_scroll}.pack(side=BOTTOM, fill=X)",
"self.${1:canvas}.config(xscrollcommand=self.${4:horizontal_scroll}.set)\n",
"# pack the canvas after the horizontal scroll to position correctly\n",
"self.${1:canvas}.pack(side=LEFT, fill=BOTH, expand=1)\n",
"if os.name == 'nt':",
"\tself.${1:canvas}.bind('<MouseWheel>', lambda event: self.${1:canvas}.yview('scroll', -1 if event.num==4 else 1, 'units'))",
"else:",
"\tself.${1:canvas}.bind('<Button-4>', lambda event: self.${1:canvas}.yview('scroll', -1 if event.num==4 else 1, 'units'))",
"\tself.${1:canvas}.bind('<Button-5>', lambda event: self.${1:canvas}.yview('scroll', -1 if event.num==4 else 1, 'units'))\n",
"$0"
],
"description": "filedialog.asksaveasfilename()"
},
"Menu New": {
"scope": "python",
"prefix": "tk_menunew",
"body": [
"self.menu = tk.Menu(self.root)",
"self.root.config(menu=self.menu)",
"self.${1:item_menu} = tk.Menu(self.menu, tearoff=False)",
"self.menu.add_cascade(label='${2:Title}', menu=self.${1:item_menu})",
"self.${1:item_menu}.add_command(label='${3:Command}', command=self.${4:function_name})",
"self.${1:item_menu}.add_separator()",
"self.${1:item_menu}.add_command(label='Exit', command=self.root.quit)",
"$0"
],
"description": "tk.Menu() new"
},
"Menu Item": {
"scope": "python",
"prefix": "tk_menuitem",
"body": [
"self.${1:item_menu} = tk.Menu(self.menu, tearoff=False)",
"self.menu.add_cascade(label='${2:Title}', menu=self.${1:item_menu})",
"self.${1:item_menu}.add_command(label='${3:Command}', command=self.${4:function_name})",
"$0"
],
"description": "tk.Menu() item"
},
"Radiobutton New": {
"scope": "python",
"prefix": "tk_radiobuttonnew",
"body": [
"self.${1:radio_var} = tk.${2|IntVar,StringVar|}()",
"self.${1:radio_var}.set(${3:0})",
"self.${4:radio_button} = tk.Radiobutton(self.${5:root}, text='${6:Option 1}', variable=self.${1:radio_var}, value=${7:1}, command=self.${8:function_name})",
"self.${4:radio_button}.${9|grid,pack|}()",
"$0"
],
"description": "tk.Radiobutton() new"
},
"Radiobutton Option": {
"scope": "python",
"prefix": "tk_radiobuttonoption",
"body": [
"self.${1:radio_button} = tk.Radiobutton(self.${2:root}, text='${3:Option 1}', variable=self.${4:radio_var}, value=${5:1}, command=self.${6:function_name})",
"self.${1:radio_button}.${7|grid,pack|}()",
"$0"
],
"description": "tk.Radiobutton() new"
},
"Checkbutton New": {
"scope": "python",
"prefix": "tk_checkbuttonnew",
"body": [
"self.${1:check_var} = tk.${2|IntVar,StringVar|}()",
"self.${1:check_var}.set(${3:0})",
"self.${4:check_button} = tk.Radiobutton(self.${5:root}, text='${6:Option 1}', variable=self.${1:check_var}, onvalue=${7:1}, offvalue=${8:0})",
"self.${4:check_button}.deselect()",
"self.${4:check_button}.${9|grid,pack|}()",
"$0"
],
"description": "tk.Checkbutton() new"
},
"Scale": {
"scope": "python",
"prefix": "tk_scale",
"body": [
"self.${1:scale} = tk.Scale(self.${2:root}, from_=${3:0}, to=${4:100}, orient=${5|HORIZONTAL,VERTICAL|}, command=self.${6:function_name})",
"self.${1:scale}.${7|grid,pack|}()",
"$0"
],
"description": "tk.Label()"
},
"Scale TTK": {
"scope": "python",
"prefix": "ttk_scale",
"body": [
"self.${1:scale} = ttk.Scale(self.${2:root}, from_=${3:0}, to=${4:100}, orient=${5|HORIZONTAL,VERTICAL|}, command=self.${6:function_name}, value=${7:10}, lenght=${8:220})",
"self.${1:scale}.${9|grid,pack|}()",
"$0"
],
"description": "tk.Label()"
},
"Progressbar": {
"scope": "python",
"prefix": "tk_progressbar",
"body": [
"self.${1:progressbar} = ttk.Progressbar(self.${2:root}, value=${3:0}, length=${4:100}, orient=${5|HORIZONTAL,VERTICAL|}, mode='${6|determinate,indeterminate|}')",
"self.${1:progressbar}.${7|grid,pack|}()",
"$0"
],
"description": "ttk.Progressbar()"
},
"Spinbox Integer": {
"scope": "python",
"prefix": "tk_spinboxint",
"body": [
"self.${1:spinbox_int_var} = tk.IntVar(self.${2:root})",
"self.${1:spinbox_int_var}.set(${3:0})",
"self.${4:spinbox_int} = ttk.Spinbox(self.${2:root}, from_=${4:0}, to=${5:100}, increment=${6:1}, textvariable=self.${1:spinbox_int_var}, command=self.${7:function_name})",
"self.${4:spinbox_int}.${7|grid,pack|}()",
"$0"
],
"description": "ttk.Spinbox() Integer"
},
"Spinbox String": {
"scope": "python",
"prefix": "tk_spinboxstr",
"body": [
"${1:iterable_var} = [$2]",
"self.${3:spinbox_int_var} = tk.StringVar(self.${4:root})",
"self.${3:spinbox_int_var}.set(${5:0})",
"self.${6:spinbox_int} = ttk.Spinbox(self.${4:root}, values=${1:iterable_var}, textvariable=self.${3:spinbox_int_var}, command=self.${7:function_name})",
"self.${6:spinbox_int}.${8|grid,pack|}()",
"$0"
],
"description": "ttk.Spinbox() String"
},
"Scrollbar": {
"scope": "python",
"prefix": "tk_scrollbar",
"body": [
"self.${1:scrollbar} = tk.Scrollbar(self.${2:root}, orient=${3|VERTICAL,HORIZONTAL|})",
"self.${1:scrollbar}.pack(side=${4|RIGHT,BOTTOM,LEFT,TOP|}, fill=${5|Y,X|})",
"$0"
],
"description": "tk.Scrollbar()"
}
}
{
"from ... import ...": {
"scope": "python",
"prefix": "fromim",
"body": "from ${1:package/module} import ${2:names}$0",
"description": "from ... import ..."
},
"class ClassName": {
"scope": "python",
"prefix": "classinit",
"body": [
"class ${1:ClassName}:",
"\tdef __init__(self$2):",
"\t\t$0"
],
"description": "Simple class."
},
"class ClassName(object)": {
"scope": "python",
"prefix": "classobj",
"body": [
"class ${1:ClassName}(${2:object}):",
"\tdef __init__(self$3):",
"\t\tsuper().__init__($4)",
"\t\t$0"
],
"description": "class inherits."
},
"super init": {
"scope": "python",
"prefix": "superinit",
"body": [
"super().__init__($1)",
"$0"
],
"description": "super().__init__($1)"
},
"def func(arg)": {
"scope": "python",
"prefix": "def",
"body": [
"def ${1:func}(${2:arg}):",
"\t$0"
],
"description": "Code snippet for function definition."
},
"def func(self)": {
"scope": "python",
"prefix": "defs",
"body": [
"def ${1:func}(self$2):",
"\t$0"
],
"description": "Code snippet for a class method definition."
},
"def func(self, args)": {
"scope": "python",
"prefix": "defsa",
"body": [
"def ${1:func}(self, ${2:args}):",
"\t$0"
],
"description": "Code snippet for a class method definition."
},
"def __init__(self)": {
"scope": "python",
"prefix": "definit",
"body": [
"def __init__(self$1):",
"\t$0"
],
"description": "def __init__"
},
"if": {
"scope": "python",
"prefix": "if",
"body": "if ${1:condition}:\n\t$0",
"description": "if"
},
"else": {
"scope": "python",
"prefix": "else",
"body": "else:\n\t$0",
"description": "if"
},
"if:else": {
"scope": "python",
"prefix": "ifelse",
"body": "if ${1:condition}:\n\t${2:}\nelse:\n\t$0",
"description": "if else"
},
"if:elfi": {
"scope": "python",
"prefix": "ifelif",
"body": "if ${1:condition}:\n\t${2:}\nelif ${3:condition}:\n\t$0",
"description": "if elif"
},
"for value in iter": {
"scope": "python",
"prefix": "for",
"body": "for ${1:value} in ${2:iterable}:\n\t$0\n",
"description": "for value in iter"
},
"for value in range": {
"scope": "python",
"prefix": "forrange",
"body": "for ${1:value} in range(${2:int}):\n\t$0\n",
"description": "for value in range."
},
"for:else": {
"scope": "python",
"prefix": "fore",
"body": "for ${1:value} in ${2:iterable}:\n\t${3:}\nelse:\n\t$0\n",
"description": "for in something else"
},
"for:key:value": {
"scope": "python",
"prefix": "forkv",
"body": "for ${1:key}, ${2:value} in ${3:iterable}:\n\t$0\n",
"description": "for in something else"
},
"while": {
"scope": "python",
"prefix": "while",
"body": "while ${1:condition}:\n\t$0",
"description": "while condition"
},
"try:except:": {
"scope": "python",
"prefix": "try",
"body": "try:\n\t${1:}\nexcept ${2:Exception} as ${3:e}:\n\t$0",
"description": "try except"
},
"try:except:else": {
"scope": "python",
"prefix": "trye",
"body": "try:\n\t${1:}\nexcept ${2:Exception} as ${3:e}:\n\t${4:}\nelse:\n\t$0",
"description": "try except else"
},
"try:except:else:finally": {
"scope": "python",
"prefix": "tryef",
"body": "try:\n\t${1:}\nexcept${2:Exception} as ${3:e}:\n\t${4:}\nelse:\n\t${5:}\nfinally:\n\t$0",
"description": "try except else finally"
},
"try:except:finally": {
"scope": "python",
"prefix": "tryf",
"body": "try:\n\t${1:}\nexcept ${2:Exception} as ${3:e}:\n\t${4:}\nfinally:\n\t$0",
"description": "try except finally."
},
"if __name__ == \"__main__\"": {
"scope": "python",
"prefix": "ifmain",
"body": "if __name__ == \"__main__\":\n\tmain()$0",
"description": "if __name__ == __main__"
},
"print(f'{variable=}')": {
"scope": "python",
"prefix": "printvar",
"body": "print(f'{${1:variable}=}$0')",
"description": "print(f'{variable=}')"
},
"print(f'')": {
"scope": "python",
"prefix": "printf",
"body": "print(f'$0')",
"description": "print(f'')"
},
"with open(filename, mode) as f": {
"scope": "python",
"prefix": "withopenfile",
"body": "with open(${1:filename}, ${2:mode}) as ${3:f}:\n\t${4:}$0",
"description": "with open(filename, mode) as f"
},
"loginfoclass": {
"scope": "python",
"prefix": "loginfoclass",
"body": "self.log.info(f'$0')",
"description": "log info"
},
"logdebugclass": {
"scope": "python",
"prefix": "logdebugclass",
"body": "self.log.debug(f'$0')",
"description": "log debug"
},
"logwarnclass": {
"scope": "python",
"prefix": "logwarnclass",
"body": "self.log.warning(f'$0')",
"description": "log warn"
},
"logerrorclass": {
"scope": "python",
"prefix": "logerrorclass",
"body": "self.log.error(f'$0')",
"description": "log error"
},
"loginfo": {
"scope": "python",
"prefix": "loginfo",
"body": "logging.info(f'$0')",
"description": "log info"
},
"logerror": {
"scope": "python",
"prefix": "logerror",
"body": "logging.error(f'$0')",
"description": "log error"
},
"logdebug": {
"scope": "python",
"prefix": "logdebug",
"body": "logging.debug(f'$0')",
"description": "log debug"
},
"logwarn": {
"scope": "python",
"prefix": "logwarn",
"body": "logging.warning(f'$0')",
"description": "log warn"
},
"logbasicconfig": {
"scope": "python",
"prefix": "logbasicconfig",
"body": "logging.basicConfig(format='%(asctime)s - %(levelname)s - %(name)s.%(funcName)s:%(lineno)d - %(message)s', datefmt='%Y-%m-%d %H:%M:%S', level=logging.DEBUG)",
"description": "log basic config"
},
"logadvancedconfig": {
"scope": "python",
"prefix": "logadvancedconfig",
"body": "logging.basicConfig(format='%(asctime)s - %(levelname)s - %(relativeCreated)d - %(threadName)s.%(module)s.%(name)s.%(funcName)s:%(lineno)d - %(message)s', datefmt='%Y-%m-%d %H:%M:%S', level=logging.DEBUG)",
"description": "log basic config"
},
"logbasicconfigrotate": {
"scope": "python",
"prefix": "logbasicconfigrotate",
"body": [
"logging.basicConfig(",
"\tformat=\"%(asctime)s - %(levelname)s - %(name)s.%(funcName)s:%(lineno)d - %(message)s\",",
"\tdatefmt=\"%Y-%m-%d %H:%M:%S\",",
"\tlevel=logging.${1|INFO,DEBUG,ERROR,WARNING,CRITICAL|},",
"\thandlers=[RotatingFileHandler(\"${2:filename}.log\", maxBytes=5000000, backupCount=10)]",
")\n$0"
],
"description": "log basic config"
},
"getLogger": {
"scope": "python",
"prefix": "getlogger",
"body": "self.log = logging.getLogger(${1:self.__class__.__name__})",
"description": "log getlogger"
}
}
// Global settings
{
// Atari Dev Studio
"atari-dev-studio.application.configuration.latestVersion": "0.9.6",
"atari-dev-studio.application.configuration.showNewVersionMessage": false,
// Blade Formatter - Laravel
"bladeFormatter.format.indentSize": 2,
"bladeFormatter.format.noMultipleEmptyLines": true,
"bladeFormatter.misc.dontShowNewVersionMessage": true,
// C/C++ Microsoft
"C_Cpp.autocompleteAddParentheses": true,
"C_Cpp.codeAnalysis.clangTidy.enabled": true,
"C_Cpp.default.browse.databaseFilename": "/mnt/HDExtra/cache/.vscode/${workspaceFolderBasename}/.browse.VC.db",
// "C_Cpp.default.browse.databaseFilename": "D:\\CPP_Projects\\.cache\\.vscode\\${workspaceFolderBasename}\\.browse.VC.db", // Windows
"C_Cpp.default.configurationProvider": "ms-vscode.cpptools",
"C_Cpp.default.cppStandard": "c++20",
"C_Cpp.intelliSenseCachePath": "/mnt/HDExtra/cache/.vscode/${workspaceFolderBasename}",
// "C_Cpp.intelliSenseCachePath": "D:\\CPP_Projects\\.cache\\.vscode\\${workspaceFolderBasename}", // Windows
"C_Cpp.intelliSenseUpdateDelay": 3000,
"C_Cpp.workspaceParsingPriority": "low",
// C/C++ Advanced Lint
"c-cpp-flylint.clang.enable": false,
"c-cpp-flylint.flawfinder.enable": false,
"c-cpp-flylint.flexelint.enable": false,
"c-cpp-flylint.lizard.enable": false,
"c-cpp-flylint.cppcheck.extraArgs": [
"--quiet",
"--force",
"--enable=all",
// "-I",
// "\"C:\\Program Files (x86)\\Windows Kits\\10\\Include\\10.0.22621.0\\um\""
],
// CMake Tools Microsoft
"cmake.automaticReconfigure": false,
"cmake.buildDirectory": "${workspaceFolder}/build_dir",
// "cmake.buildDirectory": "${workspaceFolder}/build_win",
"cmake.configureOnEdit": false,
"cmake.configureOnOpen": false,
"cmake.debugConfig": {
// "cwd": "${workspaceFolder}/out/build/linux-debug/code"
"cwd": "${workspaceFolder}/build_dir",
// "cwd": "${workspaceFolder}/build",
// "cwd": "${workspaceFolder}/build_win",
},
"cmake.emscriptenSearchDirs": [
"/mnt/Data/CPP_Projects/emsdk_linux"
// "D:\\CPP_Projects\\emsdk_win"
],
// "cmake.generator": "Unix Makefiles", // Default is Ninja
"cmake.installPrefix": "${workspaceFolder}/install_dir",
// "cmake.installPrefix": "${workspaceFolder}/install_win",
"cmake.launchBehavior": "newTerminal",
"cmake.options.statusBarVisibility": "visible",
"cmake.parallelJobs": 12,
"cmake.pinnedCommands": [
"workbench.action.tasks.configureTaskRunner",
"workbench.action.tasks.runTask"
],
"cmake.setBuildTypeOnMultiConfig": true,
"cmake.showConfigureWithDebuggerNotification": false,
"cmake.showOptionsMovedNotification": false,
"cmake.useCMakePresets": "auto",
// cmake-format
"cmakeFormat.exePath": ".venv/bin/cmake-format",
// "cmakeFormat.exePath": "venv\\Scripts\\cmake-format.exe",
// VSCode
"debug.onTaskErrors": "showErrors",
// VSCode
"diffEditor.ignoreTrimWhitespace": false,
// VSCode
"editor.accessibilitySupport": "off",
"editor.autoClosingBrackets": "always",
"editor.detectIndentation": false,
"editor.fontFamily": "JetBrains Mono NL",
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.suggestSelection": "first",
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "log.error",
"settings": {
"foreground": "#FF5555",
"fontStyle": "bold"
}
},
{
"scope": "log.warning",
"settings": {
"foreground": "#F1FA8C",
"fontStyle": "bold"
}
}
],
"[Agila Oceanic Next]": {
"textMateRules": [
{
"scope": [
"meta.attribute.python",
"meta.member.access.python"
],
"settings": {
"foreground": "#BB80B3",
"fontStyle": "italic bold"
}
},
]
},
"[Dracula]": {
"textMateRules": [
{
"scope": "entity.name.namespace",
"settings": {
"foreground": "#8BE9FD",
"fontStyle": "italic bold"
}
},
{
"scope": "variable.other.property",
"settings": {
"foreground": "#50FA7B",
"fontStyle": ""
}
},
{
"scope": "variable.other.readwrite",
"settings": {
"foreground": "#F8F8F2",
"fontStyle": ""
}
},
{
"scope": "entity.name.function",
"settings": {
"foreground": "#50FA7B",
"fontStyle": "italic"
}
},
],
}
},
"editor.wordWrapColumn": 100,
// VSCode
"explorer.autoReveal": false,
"explorer.confirmDragAndDrop": false,
"explorer.confirmDelete": false,
// VSCode
"files.autoSave": "afterDelay",
//"files.encoding": "iso88591",
"files.associations": {
"*.vert": "c",
"*.frag": "c",
"*.aqf": "xml",
"*.aev": "xml",
"*.make": "makefile"
},
// Flake8 Microsoft
"flake8.args": [
"--ignore=E501,E203,W503,W504,E743,E741",
"--extend-exclude",
"**/vendor/**",
],
// Format Files jbockle
"formatFiles.excludedFolders": [
"node_modules",
".vscode",
".git",
"dist",
".chrome",
"log4php",
"venv",
".venv",
"vendor",
"scriptaculous"
],
"formatFiles.excludePattern": "**/jquery*,**/vendor/**,**/scriptaculous/**",
"formatFiles.logLevel": "info",
// VSCode
"git.enableSmartCommit": true,
"git.autofetch": true,
"git.confirmSync": false,
"git.defaultBranchName": "master",
"git.openRepositoryInParentFolders": "always",
"git.replaceTagsWhenPull": true,
// GitLens
"gitlens.advanced.messages": {
"suppressNoRepositoryWarning": true
},
"gitlens.launchpad.indicator.enabled": false,
// PHP Intelephense
"intelephense.environment.phpVersion": "8.2",
"intelephense.format.braces": "allman",
"intelephense.stubs": [
"apache",
"bcmath",
"bz2",
"calendar",
"com_dotnet",
"Core",
"ctype",
"curl",
"date",
"dba",
"dom",
"enchant",
"exif",
"FFI",
"fileinfo",
"filter",
"fpm",
"ftp",
"gd",
"gettext",
"gmp",
"hash",
"iconv",
"imap",
"intl",
"json",
"ldap",
"libxml",
"mbstring",
"meta",
"mysqli",
"oci8",
"odbc",
"openssl",
"pcntl",
"pcre",
"PDO",
"pdo_ibm",
"pdo_mysql",
"pdo_pgsql",
"pdo_sqlite",
"pgsql",
"Phar",
"posix",
"pspell",
"random",
"readline",
"Reflection",
"session",
"shmop",
"SimpleXML",
"snmp",
"soap",
"sockets",
"sodium",
"SPL",
"sqlite3",
"standard",
"superglobals",
"sysvmsg",
"sysvsem",
"sysvshm",
"tidy",
"tokenizer",
"xml",
"xmlreader",
"xmlrpc",
"xmlwriter",
"xsl",
"Zend OPcache",
"zip",
"zlib",
"win32service",
"sqlsrv",
"ssh2"
],
// VSCode
"javascript.updateImportsOnFileMove.enabled": "always",
// Jupyter Microsoft
"jupyter.askForKernelRestart": false,
"jupyter.interactiveWindow.creationMode": "perFile",
// Live Server
"liveServer.settings.ignoreFiles": [
"README.md",
".vscode/**",
"**/*.scss",
"**/*.sass",
"**/*.ts"
],
"liveServer.settings.wait": 500,
"liveServer.settings.donotShowInfoMsg": true,
// Makefile Tools Microsoft
"makefile.dryrunSwitches": [],
"makefile.configureOnOpen": false,
// PHP
"php.validate.executablePath": "/usr/bin/php",
// "php.validate.executablePath": "C:\\Users\\Username\\Documents\\php-8.1.7-Win32-vs16-x64\\php.exe",
// Prettier
"prettier.bracketSameLine": true,
"prettier.endOfLine": "auto",
"prettier.tabWidth": 4,
// Python Microsoft
"python.analysis.autoImportCompletions": true,
"python.analysis.completeFunctionParens": true,
"python.analysis.diagnosticMode": "workspace",
"python.analysis.ignore": [
"**/vendor/**",
"**/site-packages/**/*.py",
".vscode/*.py",
"**/Lib/**/*.py",
"**/venv/**/*.py",
"**/.venv/*.py"
],
"python.analysis.typeCheckingMode": "basic",
// "python.linting.banditEnabled": true,
"python.terminal.executeInFileDir": true,
// XML Red Hat
// "redhat.telemetry.enabled": false,
// VSCode
"scm.countBadge": "focused",
// VSCode
"telemetry.telemetryLevel": "off",
// VSCode
"terminal.integrated.fontFamily": "CaskaydiaCove Nerd Font Mono",
// Windows
// "terminal.integrated.fontFamily": "CaskaydiaCove NF",
// "terminal.integrated.defaultProfile.windows": "Command Prompt",
// MinGW
// "terminal.integrated.profiles.windows": {
// "mingw64": {
// "path": "D:\\msys64\\usr\\bin\\bash.exe",
// "args": [
// "--login",
// "-i"
// ]
// }
// },
// "terminal.integrated.defaultProfile.windows": "mingw64",
// "terminal.integrated.env.windows": {
// "CHERE_INVOKING": "1",
// "MSYSTEM": "MINGW64"
// },
// "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
// Theme by language
// "theme-by-language.themes": {
// "*": "Default Dark Modern",
// "python": "One Monokai Python"
// },
// Todo Tree
"todo-tree.highlights.defaultHighlight": {
"type": "text",
"foreground": "#F48701",
"rulerColour": "#F48701",
"rulerLane": "none"
},
// VSCode
"window.commandCenter": true,
"window.menuBarVisibility": "compact",
// "window.zoomLevel": 1,
// VSCode
"workbench.colorTheme": "Default Dark Modern",
// "workbench.colorTheme": "Agila Oceanic Next",
"workbench.editor.enablePreview": false,
"workbench.startupEditor": "none",
// YAML
"yaml.schemas": {
"Kubernetes": "*.yaml"
},
// VSCode
"[blade]": {
"editor.tabSize": 2
},
"[cmake]": {
"editor.defaultFormatter": "cheshirekow.cmake-format"
},
"[css]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2
},
"[dockercompose]": {
"editor.tabSize": 2
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features",
"editor.tabSize": 2
},
"[javascript]": {
"editor.tabSize": 2,
},
"[json]": {
"editor.tabSize": 2,
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"[vue]": {
"editor.tabSize": 2
},
"[yaml]": {
"editor.tabSize": 2
},
"[github-actions-workflow]": {
"editor.tabSize": 2
},
"diffEditor.hideUnchangedRegions.enabled": true,
}
{
// C++ include directories on Windows
"C_Cpp.default.includePath": [
"D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\include",
"D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.36.32532\\atlmfc\\include",
"D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\VS\\include",
"D:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Auxiliary\\VS\\UnitTest\\include",
"D:\\Windows Kits\\10\\Include\\10.0.22000.0\\ucrt",
"D:\\Windows Kits\\10\\Include\\10.0.22000.0\\um",
"D:\\Windows Kits\\10\\Include\\10.0.22000.0\\shared",
"D:\\Windows Kits\\10\\Include\\10.0.22000.0\\winrt",
"D:\\Windows Kits\\10\\Include\\10.0.22000.0\\cppwinrt"
],
// C++ include directories on Linux
"C_Cpp.default.includePath": [
"/usr/include/c++/12",
"/usr/include/x86_64-linux-gnu/c++/12",
"/usr/include/x86_64-linux-gnu",
],
"cmake.configureArgs": [
"-DCMAKE_CXX_LINKER_FLAGS=\"-fuse-ld=lld\""
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment