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

Non-existing reserved words, variables and functions are not flagged as errors. #371

Open
Cyrodwd opened this issue May 23, 2024 · 1 comment

Comments

@Cyrodwd
Copy link

Cyrodwd commented May 23, 2024

Hello, I have detected a problem or detail that makes me late to find out about certain errors:
I'm not sure if it's my computer, but I tried it on two computers I have with different operating systems (Windows and Linux), and it's exactly the same. When I develop with VSCode and Dlang (with the Dlang extension), I have sometimes had errors when compiling because I mistype a variable, function, reserved word, and the LSP doesn't mark it as an error and I have to notice it when compiling. I tried to see if the same thing happened with typing non-existent functions and reserved keywords, and indeed, it doesn't mark them as errors.

@WebFreak001
Copy link
Member

which serve-d version are you using?

Try upgrading to serve-d nightly by setting the d.servedReleaseChannel setting in vscode (Ctrl-, for User Settings) to nightly - afterwards, reload the window with Ctrl-Shift-P -> Reload Window and let it automatically download the update.

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