Merge fc402026fb
into 7b2edbad43
This commit is contained in:
commit
cf5221374c
4 changed files with 75 additions and 11 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
@ -5,5 +5,11 @@
|
||||||
/zephyr
|
/zephyr
|
||||||
/zmk-config
|
/zmk-config
|
||||||
/build
|
/build
|
||||||
|
*.code-workspace
|
||||||
*.DS_Store
|
*.DS_Store
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|
||||||
|
/.vscode/**
|
||||||
|
!/.vscode/extensions.json
|
||||||
|
!/.vscode/settings.json
|
||||||
|
!/.vscode/tasks.json
|
||||||
|
|
19
.vscode/extensions.json
vendored
Normal file
19
.vscode/extensions.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
|
||||||
|
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
|
||||||
|
|
||||||
|
// List of extensions which should be recommended for users of this workspace.
|
||||||
|
"recommendations": [
|
||||||
|
"dbaeumer.vscode-eslint",
|
||||||
|
"esbenp.prettier-vscode",
|
||||||
|
"ms-vscode.cpptools",
|
||||||
|
"plorefice.devicetree",
|
||||||
|
"spadin.zmk-tools",
|
||||||
|
"trond-snekvik.kconfig-lang",
|
||||||
|
"twxs.cmake",
|
||||||
|
],
|
||||||
|
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
|
||||||
|
"unwantedRecommendations": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
33
.vscode/settings.json
vendored
33
.vscode/settings.json
vendored
|
@ -1,6 +1,33 @@
|
||||||
{
|
{
|
||||||
|
"C_Cpp.autoAddFileAssociations": false,
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
"*.overlay": "dts",
|
"*.h": "c"
|
||||||
"*.keymap": "dts"
|
},
|
||||||
}
|
"[c]": {
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"[css]": {
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[javascript]": {
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[javascriptreact]": {
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[markdown]": {
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[typescript]": {
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
|
"[typescriptreact]": {
|
||||||
|
"editor.formatOnSave": true,
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
|
},
|
||||||
}
|
}
|
26
.vscode/tasks.json
vendored
26
.vscode/tasks.json
vendored
|
@ -6,22 +6,34 @@
|
||||||
{
|
{
|
||||||
"label": "Build",
|
"label": "Build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "cd app && west build",
|
"command": "west build",
|
||||||
"group": {
|
"options": {
|
||||||
"kind": "build",
|
"cwd": "${workspaceFolder}/app"
|
||||||
"isDefault": true
|
},
|
||||||
}
|
"group": "build",
|
||||||
|
"problemMatcher": [
|
||||||
|
{
|
||||||
|
"base": "$gcc",
|
||||||
|
"fileLocation": ["autoDetect", "${workspaceFolder}/app/build"]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Flash",
|
"label": "Flash",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "cd app && west flash",
|
"command": "west flash",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/app"
|
||||||
|
},
|
||||||
"group": "test"
|
"group": "test"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Debug",
|
"label": "Debug",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "cd app && west debug",
|
"command": "west debug",
|
||||||
|
"options": {
|
||||||
|
"cwd": "${workspaceFolder}/app"
|
||||||
|
},
|
||||||
"group": "test"
|
"group": "test"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue