LSP-OmniSharp icon indicating copy to clipboard operation
LSP-OmniSharp copied to clipboard

Question: How to use in combination with Godot? ("The type or namespace name 'Godot' could not be found")

Open pineapplemachine opened this issue 5 months ago • 11 comments

I installed this plugin hoping to use it with C# code for Godot. I think I must be missing some setup step, though, because the line using Godot; is currently producing an error. The same source file shows as having no errors when viewed in JetBrains Rider, configured for Godot C#.

image

Here are my LSP-OmniSharp settings:

// Settings in here override those in "LSP-OmniSharp/LSP-OmniSharp.sublime-settings"
{
    "settings": {
        "csharp.format.enable": false,
        "csharp.maxProjectFileCountForDiagnosticAnalysis": 100,
        "omnisharp.useEditorFormattingSettings": false,
        "razor.format.enable": false,
    },
}

I have not added any C#-specific settings to my LSP plugin settings, since this wasn't mentioned in the LSP-OmniSharp readme?

pineapplemachine avatar Sep 02 '24 17:09 pineapplemachine