Rav*_*obo 6 powershell intellisense visual-studio-code
VS Code PowerShell intellisense对我来说突然变得非常缓慢.它工作正常几天.我卸载了所有扩展,但PowerShell除外.
以下是有关VS代码的详细信息.
Version: 1.28.2 (user setup)
Commit: 7f3ce96ff4729c91352ae6def877e59c561f4850
Date: 2018-10-17T00:23:51.859Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
Run Code Online (Sandbox Code Playgroud)
以下是PowerShell的用户设置:
"powershell.bugReporting.project":" https://github.com/PowerShell/vscode-powershell ","powershell.codeFolding.enable":true,"powershell.codeFormatting.alignPropertyValuePairs":true,"powershell.codeFormatting.ignoreOneLineBlock ":true,"powershell.codeFormatting.newLineAfterCloseBrace":true,"powershell.codeFormatting.newLineAfterOpenBrace":true,"powershell.codeFormatting.openBraceOnSameLine":true,"powershell.codeFormatting.preset":"Custom","powershell.codeFormatting" .whitespaceAfterSeparator ":真实的, "powershell.codeFormatting.whitespaceAroundOperator":真实的, "powershell.codeFormatting.whitespaceBeforeOpenBrace":真实的, "powershell.codeFormatting.whitespaceBeforeOpenParen":真实的, "powershell.debugging.createTemporaryIntegratedConsole":假的," powershell.developer .bundledModulesPath":"","powershell.developer.editorServicesLogLevel":"Normal","powershell.developer.editorServicesWaitForDebugger":false,"powershell.developer.featureFlags":[],"powershell.developer.powerShell ExeIsWindowsDevBuild":false,"powershell.developer.powerShellExePath":"","powershell.enableProfileLoading":true,"powershell.helpCompletion":"BlockComment","powershell.integratedConsole.focusConsoleOnExecute":true,"powershell.integratedConsole.showOnStartup ":true,"powershell.powerShellAdditionalExePaths":[],"powershell.powerShellDefaultVersion":"","powershell.powerShellExePath":"","powershell.scriptAnalysis.enable":true,"powershell.scriptAnalysis.settingsPath":" ","powershell.startAutomatically":true,"powershell.useX86Host":false
有人有建议吗?
由于重新安装 VSCode 没有帮助,这可能是 powershell 的问题。
需要考虑的事情很少。由于某些模块文件夹位于网络驱动器上,我曾经在智能感知/ps 加载方面遇到过一些滞后。除了在本地复制所有模块之外,我没有找到更好的解决方案。
在 Win 7 上从 v3 升级到 v5 后,我遇到了 PS 的大问题。它几乎停止工作。降级回来并没有帮助。令人惊讶的是,如果我以不同的用户身份登录,它工作得很好,所以我只是删除并重新创建了我的个人资料,它有所帮助。以不同的用户身份登录,看看它的工作方式是否不同。
我在带有 powershell 核心 (pwsh) 的 Linux 计算机上使用 VSCode,作为 ISE 的替代方案。它运行良好,我的 VSCode 版本与你相同。尝试在您的计算机上安装 powershell core,然后切换 VSCode 以使用它而不是 5.0 https://learn.microsoft.com/en-us/powershell/scripting/core-powershell/vscode/using-vscode?view=powershell- 6#使用特定安装版本的 powershell
归档时间: |
|
查看次数: |
1184 次 |
最近记录: |