简体   繁体   English

IntelliSense不适用于omnisharp,但不能用于其他扩展(例如F#)

[英]IntelliSense not working for omnisharp but for rest of extensions (e.g. F#)

Environment data 环境数据

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

Steps to reproduce 重现步骤

It was working few weeks earlier properly however recently start failing to load intelliSense. 它在几周前正常工作,但是最近开始无法加载intelliSense。

Expected behavior 预期行为

Should show errors, missing reference, F12, should open definition of type. 应该显示错误,缺少参考,F12,应该打开类型的定义。

Actual behavior 实际行为

Nothing working as expected. 没有按预期工作。

Screenshot: (No intelliSense error shown) 屏幕截图:(未显示intelliSense错误)

图片

Additional details: 额外细节:

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
}

Installed extensions: 已安装的扩展程序:

图片

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.

相关问题 VSCode OmniSharp / C#intellisense没有看到Ionide / F#lib模块/命名空间 - VSCode OmniSharp/C# intellisense does not see Ionide/F# lib modules/namespaces C# async/await 如何与更通用的构造(例如 F# 工作流或 monad)相关? - How does C# async/await relates to more general constructs, e.g. F# workflows or monads? Intellisense 在 VSCode 中不起作用 - OmniSharp 错误 - Intellisense not working in VSCode - OmniSharp Error .NET 核心混合 F# 和 C# 项目 Intellisense 不工作 - .NET Core mixed F# and C# project Intellisense not working VS Code Omnisharp Intellisense 停止工作 - VS Code Omnisharp Intellisense stopped working 尽管在例如 Access 中工作,SQL 查询却没有提供任何结果? - SQL Query delivers no results despite working in e.g. Access? 如何在MOQ中自动模拟容器(例如IList)而不使用extensions / contrib - How to auto-mock a container (e.g. IList) in MOQ without extensions/contrib VScode 中的 Unity intellisense 不工作,Omnisharp 给出多个错误和警告 - Unity intellisense in VScode not working and Omnisharp is giving multiple errors and warnings c# omnisharp intellisense 不适用于 vscode 中的 net 5.0(Windows 10) - c# omnisharp intellisense not working with net 5.0 in vscode (windows 10) vscode omnisharp intellisense 不适用于 dotnet 5.0(目标 net5.0) - vscode omnisharp intellisense not working with dotnet 5.0 (target net5.0)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM