Hello there
I’ve found my way in here to figure out if anyone has gotten it working?
My problem is specifically that It’s almost but not quite working,
It has problems finding the definition for built in keywords like enum and object, to me this seems like a reference problem.
My debug message is the following:
Troublshooting Log: Omnisharp
# Troubleshooting: OmniSharp
## Version
- LSP: 2.2.0
- Sublime Text: 4180
## Server Test Run
- exit code: 0
- output
## Server Configuration
- command
```json
[
"C:\\bin\\Sublime Text\\LATEST\\Data\\Package Storage\\LSP-OmniSharp\\OmniSharp.exe",
"--languageserver",
"--encoding",
"utf-8",
"--hostPID",
"60616"
]
"C:\bin\Sublime Text\LATEST\Data\Package Storage\LSP-OmniSharp\OmniSharp.exe" --languageserver --encoding utf-8 --hostPID 60616
source.cs | source.cake
source.cs | source.cake
{}
{
"csharp": {
"format": {
"enable": true
},
"maxProjectFileCountForDiagnosticAnalysis": 1000,
"referencesCodeLens": {
"enabled": true,
"filteredSymbols": []
},
"semanticHighlighting": {
"enabled": true
},
"suppressHiddenDiagnostics": true,
"testsCodeLens": {
"enabled": true
}
},
"omnisharp": {
"defaultLaunchSolution": null,
"enableAsyncCompletion": false,
"enableDecompilationSupport": false,
"enableEditorConfigSupport": true,
"enableImportCompletion": false,
"enableMsBuildLoadProjectsOnDemand": false,
"enableRoslynAnalyzers": false,
"loggingLevel": "information",
"maxFindSymbolsItems": 1000,
"maxProjectResults": 250,
"minFindSymbolsFilterLength": 0,
"organizeImportsOnFormat": false,
"useEditorFormattingSettings": true
},
"razor": {
"format": {
"enable": true
}
}
}
{
"FrameworkPathOverride": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\MSBuild\\Current"
}
Active view
C:\Code\insights\insights\InsightsBackend.cs
{
"auto_complete_selector": "meta.tag, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
"lsp_active": true,
"syntax": "Packages/C#/C#.sublime-syntax"
}
source.cs
Project / Workspace
[
"C:\\Code\\insights"
]
- is project: True
- project data:
{
"folders": [
{
"path": "."
}
]
}
LSP configuration
{
"show_diagnostics_severity_level": 0
}
System PATH
- C:\Program Files\Amazon Corretto\jdk11.0.20_9\bin
- C:\Program Files (x86)\Common Files\Oracle\Java\javapath
- C:\WINDOWS\system32
- C:\WINDOWS
- C:\WINDOWS\System32\Wbem
- C:\WINDOWS\System32\WindowsPowerShell\v1.0\
- C:\WINDOWS\System32\OpenSSH\
- C:\Program Files\dotnet\
- C:\Program Files\Microsoft VS Code\bin
- C:\Program Files\Microsoft SQL Server\150\Tools\Binn\
- C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\
- C:\bin\gh\
- C:\bin\apache-maven-3.9.6\bin
- C:\bin\JetBrains\Toolbox\scripts
- C:\Program Files\Docker\Docker\resources\bin
- C:\Users\jonas\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts
- C:\Program Files\nodejs\
- C:\Program Files\Amazon\AWSCLIV2\
- C:\Program Files\Git\cmd
- C:\Program Files\PowerShell\7\
- C:\Users\jonas\scoop\shims
- C:\Users\jonas\AppData\Local\Microsoft\WindowsApps
- C:\Users\jonas.dotnet\tools
- C:\Users\jonas\AppData\Local\JetBrains\Toolbox\scripts
- C:\Users\jonas\AppData\Local\Microsoft\WinGet\Links
- C:\Users\jonas\AppData\Local\GitHubDesktop\bin
- C:\bin\deno
- C:\bin\vim\bin\vim91
- C:\Users\jonas\AppData\Roaming\npm
- C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin
-