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

Constantly crashing on save #1187

Closed
hw762 opened this issue Mar 22, 2024 · 2 comments
Closed

Constantly crashing on save #1187

hw762 opened this issue Mar 22, 2024 · 2 comments
Assignees
Labels

Comments

@hw762
Copy link

hw762 commented Mar 22, 2024

Hello, I am trying to learn Ada with some simple projects and tried the plugin. Every time I change anything in project settings, try to reformat, or save a file, I am constantly getting errors like these:

Log directory is 
[Error - 10:29:20 PM] Request textDocument/formatting failed.
  Message: raylib.adb:1:1: Error formatting node (CompilationUnit). Keeping the initial input selection unchanged
pp-formatting.adb:1247
  Code: -32603 
[Error - 10:29:20 PM] Request textDocument/formatting failed.
  Message: raylib.adb:1:1: Error formatting node (CompilationUnit). Keeping the initial input selection unchanged
pp-formatting.adb:1247
  Code: -32603 

No error squiggles anywhere. I have to do alr build to find any errors, fix them, reload the editor, and only then will the errors go away.

@hw762
Copy link
Author

hw762 commented Mar 22, 2024

Basically, one error window pops up for every character I type into the editor window.

@AnthonyLeonardoGracio
Copy link
Collaborator

Hello!

We have released a new version of the extension, with a new formatting engine based on GNATformat (see #1216 for more details on this).

Closing this, assuming that it's fixed now. Do not hesitate to re-open with a basic reproducer (e.g: simple project) if not.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants