-
Notifications
You must be signed in to change notification settings - Fork 303
-
Notifications
You must be signed in to change notification settings - Fork 303
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
Support activating for workspaces that include virtual folders (like LiveShare) (virtual workspaces will have limited functionality) #3340
Comments
I suspect this is a result of VS Code blacklisting many extensions from workspaces with virtual folders by default in the most recent relese: https://github.com/microsoft/vscode/wiki/Virtual-Workspaces
Although there are no immediate plans to support virtual workspaces, we should be able to activate the extension and work for the non-virtual folders in the workspace at least (which would also allow the textmate grammar to be loaded). |
I've pushed a fix that will allow the extension to activate in virtual workspaces, although this does not add language support for it. Basic things like syntax highlighting will work. #3327 is open for investigating better support for virtual workspaces, although it's not clear whether that will be feasible (or if so, to what extend) yet. |
Thanks a ton, @DanTup ! Just confirming that this will be out on Jun 1 with v3.23.0 right? |
Not set in stone, but it should be in the next release somewhere around then. There will likely be a beta release a little in advance if you'd like it sooner. To re-iterate, this only allows the extension to activate, which will fix things like the textmate grammar (syntax highlighting) not being loaded. It doesn't add Dart-language support for virtual workspaces - however with LiveShare they should be proxied over to the host, so you should still see language functionality (though I would also expect that today even without this fix). |
Alright. Thank you so much for all your help! |
There's a beta version here if you'd like to test it out early: https://github.com/Dart-Code/Dart-Code/releases/tag/v3.23.0-beta.1 If it doesn't work as expected, please let me know so I can fix before release. Thanks! |
Hello!
Describe the bug
I've been using this extension in conjunction with VSCode's Liveshare feature. Everything was working fine until a few days ago, since which time this extension does simply not work. I don't see any code highlighting, everything's just grey. I can't do any code navigation, nor can I even use a simple
cmd + /
. Quaintly enough, VSCode live share works perfectly for shared YAML or JSON files.On the host's computer, all highlighting works perfectly, but on another editor's computer, the Dart extension simply doesn't work. It displays an error; "This plugin doesn't support virtual workspaces." I commented on the issue regarding support for virtual workspaces, and a maintainer requested me to file a separate issue.
To Reproduce
Steps to reproduce the behavior:
.dart
file.Expected behavior
Code highlighting, code navigation, general working of an extension.
Screenshots
Versions (please complete the following information):
>=2.7.0 <3.0.0
inpubspec.yaml
. Not converted tonull-safe
yet because packages don't support it.Thank you so much in advance.
The text was updated successfully, but these errors were encountered: