-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Syntax highlighting, autocomplete, code navigation not working #268
Comments
I fiddled with killing and restarting the service, and VS completely. Auto-complete showing the popup, but not showing valid completion suggestions; it just shows items from the local scope, and not members of the scope that the completion should be showing items from. A couple restarts later, it's gone backwards, only some code highlighted, navigation only working on some symbols... Weird stuff! |
I've been trying to write some software for the last couple of weeks, and VisualD is just really broken and basically not even a thing right now. Are you still working on VisualD? This needs a serious once-over otherwise VisualD is basically dead from here on :( |
Another weird one; VisualStudio apparently internalised |
Sorry to hear that Visual D doesn't work well for you @TurkeyMan . I use it from time to time to write some small tools and don't see the issues you are describing. Browsing the visuald/dmd source when updating the semantic engine (that uses the dmd frontend) works pretty well, too. Agreed, completion could provide more useful results faster. I suspect that some issues (especially regarding the debugger) are related to Win11, so I setup a Hyper-V environment that seems to run Win11 much better than my previous attempts with VirtualBox. I hope I can spent some time on that next week. Some easily reproducible failures would be nice to have.... Regarding .editorconfig: A couple of releases ago, "Format Document" was implemented using dfmt, maybe that interferes with the default implementation provided by VS? You might get back the old behavior with selecting the whole text and use "Format selection". |
I suspect that analyzing your code while being edited makes the dmdserver process crash (it contains a slightly modified version of the dmd frontend). Do you find crash dumps for it in %LOCALAPPDATA%\CrashDumps? If yes, please upload them here. |
I updated to your RC, and these problems all seem to be gone. Highlighting and navigation is working properly now. |
This issue, or another issue to the same effect seem to have returned... I can't find a pattern, but it's an ongoing nuisance :( |
Still running into heaps of issues. Visual-D seems to be totally broken rn against the latest VS at least.
I'm working on a tiny greenfields project; not much code to freak it out, but syntax highlighting was working, and then at some point it stopped working. Weirdly, all the previously highlighted text remains highlighted, but any new text I write is just white.
See here, the highlighted enum was written earlier... the lower struct was written later and it never got coloured.
Also check the includes at the top;
std.format
is highlighted, but then onlystd
is formatted for the ones I added later.Then this:
You can see the white lines, they're fields I added more recently.
This is just super weird! Strange that it remembers some highlighting like that, but it's just given up.
Another thing is that completion suggestions and autocomplete don't work at all anymore.
Go-to definition/symbol, etc doesn't work at all... so there's no code navigation. I think VisualD is basically not doing anything, except for a fragment of residual symbol markup database which is still lingering and having effect.
The text was updated successfully, but these errors were encountered: