vscode 从"typescript"/ "npm"获取任务超时

gg0vcinb  于 2个月前  发布在  Vscode
关注(0)|答案(7)|浏览(28)

这是一个关于VS Code的Bug报告。报告中提到了在Insiders 1.93.0-insider版本的VS Code中遇到了一个错误,具体错误信息为:

。报告还提供了一些关于系统和扩展的信息。

nzk0hqpo

nzk0hqpo1#

你是否在OSS中看到这个?这通常是由于扩展慢/差引起的。

fnx2tebb

fnx2tebb2#

这似乎发生在运行"禁用扩展":

重复重新启动,最终两者都会出现。

e37o9pze

e37o9pze3#

你正在做其他事情吗?我无法重现

jk9hmnmh

jk9hmnmh4#

实际上什么都没有。只是加载一个TS项目并打开开发者工具。

nr9pn0ug

nr9pn0ug5#

打开vscode仓库会这样做吗?您可以禁用特定的python扩展吗?
您能提供您的设置文件吗?

eoigrqb6

eoigrqb66#

同时,任务是否有效?

b0zn9rqh

b0zn9rqh7#

打开vscode仓库会对你做这个吗?
是的。实际上,我遇到的任何TS项目都会这样。
你能禁用特定的Python扩展吗?
我已经尝试过卸载Python扩展了。
你能提供你的设置文件吗?
工作区设置:

{
    "files.exclude": {
        "out": false, // set this to true to hide the "out" folder with the compiled JS files
        "dist": false // set this to true to hide the "dist" folder with the compiled JS files
    },
    "search.exclude": {
        "out": true, // set this to false to include "out" folder in search results
        "dist": true // set this to false to include "dist" folder in search results
    },
    // Turn off tsc task auto detection since we have the necessary tasks as npm scripts
    "typescript.tsc.autoDetect": "off",
    "[typescript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode",
        "editor.formatOnSave": true
    },
    "prettier.tabWidth": 4
}

用户设置:

{
  "workbench.sideBar.location": "right",
  "terminal.integrated.defaultProfile.windows": "Command Prompt",
   "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "python.analysis.typeCheckingMode": "off",
  "git.inputValidationSubjectLength": 200,
  "git.inputValidationLength": 200,
  "editor.inlineSuggest.enabled": true,
  "gulp.autoDetect": "on",
  "workbench.colorTheme": "Visual Studio Dark",
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "python.experiments.optInto": ["All"],
  "editor.renderWhitespace": "all",
  "diffEditor.ignoreTrimWhitespace": false,
  "githubPullRequests.fileListLayout": "tree",
  "[json]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "python.trace.server": "verbose",
  //"black-formatter.trace.server": "verbose",
  "editor.accessibilitySupport": "off",
  "python.createEnvironment.trigger": "prompt",
  "testing.automaticallyOpenPeekView": "never",
  "pygls-demo.trace.server": "verbose",
  "githubPullRequests.pullBranch": "never",
  "editor.stickyScroll.scrollWithEditor": false,
  "workbench.tree.enableStickyScroll": false,
  "editor.stickyScroll.enabled": false,
  "terminal.integrated.stickyScroll.enabled": false,
  "diffEditor.maxComputationTime": 0,
  "files.autoSave": "off",
  "scm.workingSets.enabled": true,
  "scm.workingSets.default": "empty",
  "remote.autoForwardPortsSource": "hybrid",
  "github.copilot.editor.enableAutoCompletions": true,
  "python.languageServer": "Pylance",
  "ruff.nativeServer": true,
  "python.locator": "native",
  "git.replaceTagsWhenPull": true,
  "accessibility.verbosity.debug": true,
  "notebook.experimental.enableNewDiffEditor": true,
  "python-envs.defaultEnvManager": "ms-python.vscode-python-envs:system"
}

任务是否有效?
是的。

相关问题