Files
NebulaShell/.vscode/settings.json
Falck e72818399c update project configuration and add development tools
- Add Python virtual environment patterns to .gitignore
- Replace .codebuddy with .clinerules in .gitignore
- Add .pid file for process tracking
- Add comprehensive .pylintrc configuration for Python linting
- Update start.bat with English translations and simplified functions
2026-04-19 12:00:02 +08:00

154 lines
4.5 KiB
JSON

{
"python.defaultInterpreterPath": "/usr/bin/python3",
"python.terminal.activateEnvironment": true,
"python.terminal.activateEnvInCurrentTerminal": true,
"python.analysis.extraPaths": [
"${workspaceFolder}",
"${workspaceFolder}/oss",
"${workspaceFolder}/store/@{FutureOSS}"
],
"python.analysis.typeCheckingMode": "basic",
"python.analysis.autoImportCompletions": true,
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.linting.pylintPath": "pylint",
"python.linting.pylintArgs": [
"--rcfile=${workspaceFolder}/.pylintrc"
],
"python.formatting.provider": "black",
"python.formatting.blackPath": "black",
"python.formatting.blackArgs": [
"--line-length=88"
],
"python.testing.pytestEnabled": true,
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"python.testing.pytestPath": "pytest",
"python.testing.pytestArgs": [
"-v",
"--tb=short",
"--cov=oss",
"--cov-report=html",
"--cov-report=term"
],
"python.testing.cwd": "${workspaceFolder}",
"debug.internalConsoleOptions": "neverOpen",
"debug.javascript.usePreview": true,
"debug.onTaskErrors": "showErrors",
"debug.openDebug": "openOnDebugBreak",
"debug.openExplorerOnEnd": false,
"debug.saveBeforeStart": "allEditorsInActiveGroup",
"debug.showInStatusBar": "always",
"debug.toolBarLocation": "floating",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
},
"files.exclude": {
"**/__pycache__": true,
"**/.pytest_cache": true,
"**/.coverage": true,
"**/.mypy_cache": true,
"**/.ruff_cache": true,
"**/*.pyc": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/node_modules": true
},
"files.watcherExclude": {
"**/__pycache__/**": true,
"**/.pytest_cache/**": true,
"**/.git/**": true,
"**/node_modules/**": true,
"**/.venv/**": true
},
"search.exclude": {
"**/__pycache__": true,
"**/.pytest_cache": true,
"**/.git": true,
"**/node_modules": true,
"**/.venv": true
},
"terminal.integrated.env.linux": {
"PYTHONPATH": "${workspaceFolder}",
"PYTHONUNBUFFERED": "1"
},
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh"
},
"fish": {
"path": "fish"
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
"pwsh": {
"path": "pwsh",
"icon": "terminal-powershell"
}
},
"task.problemMatchers.neverPrompt": true,
"task.autoDetect": "on",
"task.saveBeforeRun": "always",
"explorer.autoReveal": true,
"explorer.compactFolders": false,
"explorer.confirmDelete": true,
"explorer.confirmDragAndDrop": false,
"workbench.editor.enablePreview": false,
"workbench.editor.enablePreviewFromQuickOpen": false,
"workbench.startupEditor": "none",
"workbench.colorTheme": "Default Dark Modern",
"workbench.iconTheme": "vs-seti",
"breadcrumbs.enabled": true,
"editor.minimap.enabled": true,
"editor.renderWhitespace": "boundary",
"editor.rulers": [
88
],
"editor.wordWrap": "on",
"editor.suggestSelection": "first",
"editor.quickSuggestions": {
"strings": true
},
"editor.acceptSuggestionOnEnter": "smart",
"editor.suggest.showClasses": true,
"editor.suggest.showColors": true,
"editor.suggest.showConstants": true,
"editor.suggest.showConstructors": true,
"editor.suggest.showCustomcolors": true,
"editor.suggest.showDeprecated": true,
"editor.suggest.showEnumMembers": true,
"editor.suggest.showEvents": true,
"editor.suggest.showFields": true,
"editor.suggest.showFiles": true,
"editor.suggest.showFolders": true,
"editor.suggest.showFunctions": true,
"editor.suggest.showInterfaces": true,
"editor.suggest.showIssues": true,
"editor.suggest.showKeywords": true,
"editor.suggest.showMethods": true,
"editor.suggest.showModules": true,
"editor.suggest.showOperators": true,
"editor.suggest.showProperties": true,
"editor.suggest.showReferences": true,
"editor.suggest.showSnippets": true,
"editor.suggest.showStructs": true,
"editor.suggest.showTypeParameters": true,
"editor.suggest.showUnits": true,
"editor.suggest.showUsers": true,
"editor.suggest.showValues": true,
"editor.suggest.showVariables": true,
"editor.suggest.showWords": true
}