diff --git a/.vscode/extensions.json b/.vscode/extensions.json index ac5a5fb..358ac96 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -2,9 +2,9 @@ "recommendations": [ "ms-vscode.makefile-tools", "timonwong.shellcheck", - "eugenwiens.bitbake", "kweihmann.oelint-vscode", "lextudio.restructuredtext", - "trond-snekvik.simple-rst" + "trond-snekvik.simple-rst", + "yocto-project.yocto-bitbake" ] } \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 86af9a6..bdc963d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,12 +1,47 @@ { "files.watcherExclude": { - "**/build/cache/**": true, - "**/build/downloads/**": true, - "**/build/sstate-cache/**": true, - "**/build/tmp/**": true, - "**/documentation/_build/**": true, - "**/build/workspace": true + "**/build/**": true, + "**/_build/**": true, }, + "search.exclude": { + "**/build/**": true, + "**/_build/**": true, + }, + "C_Cpp.files.exclude": { + "**/build": true, + "**/_build": true, + }, + "python.analysis.exclude": [ + "**/build/**", + "**/_build/**", + ], "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", } \ No newline at end of file