[英]IntelliSense not working for omnisharp but for rest of extensions (e.g. F#)
dotnet --info
output: dotnet --info
输出:
.NET Command Line Tools (2.0.3)
Product Information:
Version: 2.0.3
Commit SHA-1 hash: 12f0c7efcc
Runtime Environment:
OS Name: Windows
OS Version: 6.1.7601
OS Platform: Windows
RID: win7-x64
Base Path: C:\Program Files\dotnet\sdk\2.0.3\
Microsoft .NET Core Shared Framework Host
Version : 2.0.3
Build : a9190d4a75f4a982ae4b4fa8d1a24526566c69df
VS Code version: C# Extension version: 1.13.1
VS代码版本:C#扩展版本:
1.13.1
It was working few weeks earlier properly however recently start failing to load intelliSense. 它在几周前正常工作,但是最近开始无法加载intelliSense。
Should show errors, missing reference, F12, should open definition of type. 应该显示错误,缺少参考,F12,应该打开类型的定义。
Nothing working as expected. 没有按预期工作。
User Settings 用户设置
// Place your settings in this file to overwrite the default settings
{
"http.proxyStrictSSL": false,
"editor.minimap.enabled": true,
"csharp.suppressDotnetInstallWarning": true,
"editor.multiCursorModifier": "ctrlCmd",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"workbench.panel.location": "bottom",
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressUpdateNotice": false,
"suppressWelcomeNotice": true
},
"gitlens.blame.line.enabled":true,
"gitlens.codeLens.enabled":true,
"gitlens.gitExplorer.enabled":true,
"gitlens.statusBar.enabled": true,
"FSharp.logLanguageServiceRequests": "both",
"FSharp.logLanguageServiceRequestsOutputWindowLevel": "WARN",
"csharp.format.enable": false
}
I tried to resolve issue by uninstalling & installing 2-3 times, no luck !
我试图通过卸载和安装2-3次来解决问题,但是不走运!
Select Project /solution from status bar right bottom corner and it is started working like anything. 从右下角的状态栏中选择“项目/解决方案”,它可以像任何东西一样开始工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.