AdaCore / ada_language_server

Server implementing the Microsoft Language Protocol for Ada and SPARK
GNU General Public License v3.0
226 stars 54 forks source link

Constantly crashing on save #1187

Open hw762 opened 3 months ago

hw762 commented 3 months ago

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 commented 3 months ago

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