Skip to content
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

fix(extension/#3204): C# extension is failing to start language server on Windows #3225

Merged
merged 2 commits into from
Mar 4, 2021

Conversation

bryphe
Copy link
Member

@bryphe bryphe commented Mar 4, 2021

Issue: The C# extension is failing to start on Windows.

Defect: The extension uses the vscode.workspace.findInFiles API to look for valid solution files and .cs files. On Windows, Onivim was not handling this API correctly. Specifically, glob paths weren't being handled correctly - a glob like **/*.sln wouldn't match against a Windows-style path with backslashes.

Fix: Normalize paths when comparing them with a glob

Fixes #3204

@bryphe bryphe mentioned this pull request Mar 4, 2021
@bryphe bryphe merged commit c2da7ba into master Mar 4, 2021
@bryphe bryphe deleted the fix/extension/3204/csharp-windows branch March 4, 2021 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

C# extension
1 participant