-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vscode extension xaml code completion doesn't work on linux #7639
Comments
Thanks for the report. Can you provide the output of the "Uno Platform" output as well ? |
Uno Platform output:
|
I reloaded my vscode and the "Multiple projects loaded..." logs went away, but still no code completion. here is the full Uno Platform - XAML logs
|
Thanks. Make sure to select a specific project in the project selector: https://platform.uno/docs/articles/get-started-vscode.html#prepare-the-webassembly-application We're going to be releasing an update that makes step more obvious. |
Thanks. This likely means that the project fails to load in omnisharp. Can you take a look at the omnisharp log as well ? |
So there was an exception there because MyApp-vsmac.slnf still referenced the missing Web Assembly project, I removed that now I get "MyApp-vsmac.slnf" selected but clicking it results in an error
Why is there even a vsmac file here, is it confusing vscode? |
If I remove the vsmac file then it selects MyApp.sln, If I click that I get the same error. |
I seem to be running into this error dotnet/vscode-csharp#4907 Some comments say fixing sln/csproj files can make it go away, others say even fresh templates from dotnet new cause this to happen. |
Thanks, this looks like a recent issue in omnisharp: dotnet/vscode-csharp#4937. You can try downgrading omnisharp to an earlier release, or upgrade to the preview. |
I can confirm that upgrading to the OmniSharp beta fixes the problem |
Thanks for the update! |
Current behavior
When editing a xaml page there is no code completion
In the Uno Platform -XAML output windows it says this:
I'm on Ubuntu 20.04, I have .net 6 installed and the Uno Platform vscode extension installed.
uno-check does not report any problems.
Expected behavior
I expect to get code completion when editing my xaml files. I expect this because the Uno Platform vscode extension details says the following:
How to reproduce it (as minimally and precisely as possible)
-> no code completion
Workaround
No response
Works on UWP/WinUI
No response
Environment
No response
NuGet package version(s)
No response
Affected platforms
Skia (GTK on Linux/macOS/Windows)
IDE
Visual Studio Code
IDE version
1.63.0
Relevant plugins
No response
Anything else we need to know?
No response
The text was updated successfully, but these errors were encountered: