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

Not working on windows #26

Open
L-Carloni opened this issue Aug 22, 2024 · 1 comment
Open

Not working on windows #26

L-Carloni opened this issue Aug 22, 2024 · 1 comment

Comments

@L-Carloni
Copy link

VScode info:
Version: 1.92.2 (user setup)
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

Issue
Extension won't start

Probable cause
It fails to open any file as workspacePath is incorrectly defined.

Possible solution
in file src/extension.ts at line 23
replace

const workspacePath = workspace.workspaceFolders![0].uri.path;

with

const workspacePath = workspace.workspaceFolders![0].uri.fsPath;

Tested on system above and works, not tested on any linux disto

Thanks a lot for you work, it's very useful

@M97Chahboun
Copy link
Member

Thank you for your issue report @L-Carloni

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

No branches or pull requests

2 participants