feat(vscode): use official bitbake extension from Yocto Project

This remove the deprecated bitbake extension from Eugen Wiens
and add the new official extension from the Yocto Project.
This commit is contained in:
Sam Dolt 2024-03-18 10:04:30 +01:00
parent dd11a6ccbc
commit 6a87dab5a8
2 changed files with 44 additions and 9 deletions

View File

@ -2,9 +2,9 @@
"recommendations": [ "recommendations": [
"ms-vscode.makefile-tools", "ms-vscode.makefile-tools",
"timonwong.shellcheck", "timonwong.shellcheck",
"eugenwiens.bitbake",
"kweihmann.oelint-vscode", "kweihmann.oelint-vscode",
"lextudio.restructuredtext", "lextudio.restructuredtext",
"trond-snekvik.simple-rst" "trond-snekvik.simple-rst",
"yocto-project.yocto-bitbake"
] ]
} }

49
.vscode/settings.json vendored
View File

@ -1,12 +1,47 @@
{ {
"files.watcherExclude": { "files.watcherExclude": {
"**/build/cache/**": true, "**/build/**": true,
"**/build/downloads/**": true, "**/_build/**": true,
"**/build/sstate-cache/**": true,
"**/build/tmp/**": true,
"**/documentation/_build/**": true,
"**/build/workspace": true
}, },
"search.exclude": {
"**/build/**": true,
"**/_build/**": true,
},
"C_Cpp.files.exclude": {
"**/build": true,
"**/_build": true,
},
"python.analysis.exclude": [
"**/build/**",
"**/_build/**",
],
"python.formatting.provider": "black", "python.formatting.provider": "black",
"editor.rulers": [80,100,120] "editor.rulers": [80,100,120],
"bitbake.pathToBuildFolder": "${workspaceFolder}/build",
"bitbake.pathToEnvScript": "${workspaceFolder}/coreos-init-build-env",
"bitbake.pathToBitbakeFolder": "${workspaceFolder}/bitbake",
"python.autoComplete.extraPaths": [
"${workspaceFolder}/bitbake/lib",
"${workspaceFolder}/meta/lib"
],
"python.analysis.extraPaths": [
"${workspaceFolder}/bitbake/lib",
"${workspaceFolder}/meta/lib"
],
"[python]": {
"diffEditor.ignoreTrimWhitespace": false,
"gitlens.codeLens.symbolScopes": [
"!Module"
],
"editor.formatOnType": true,
"editor.wordBasedSuggestions": "off",
"files.trimTrailingWhitespace": false
},
"[shellscript]": {
"files.eol": "\n",
"files.trimTrailingWhitespace": false
},
"bitbake.sdkImage": "coreos-image-minimal",
"bitbake.workingDirectory": "${workspaceFolder}",
"task.saveBeforeRun": "always",
} }