AdaCore / gnatstudio

GNAT Studio is a powerful and lightweight IDE for Ada and SPARK.
399 stars 52 forks source link

binary release of als seems not working well with gnatstudio binary release in Linux #131

Closed qunying closed 1 year ago

qunying commented 2 years ago

If I replace the ada_langague_server that comes with gnatstudio with the new binary release from https://github.com/AdaCore/ada_language_server, then the editing does not function properly (e.g adding new line after a statement does not have proper indent, not tested other features, as this one alone makes the editing experience really bad.) , is it a bug in ada_language_server or gnatsutdio?

I only tested under Linux, did not try on other platform.

kevlar700 commented 1 year ago

I find that vscodes pretty print formatter works on some files that gnat studios does not but replacing gnat studios, creates other issues. Would a build of this repos master branch help?

AnthonyLeonardoGracio commented 1 year ago

Hello @qunying,

We package a specific version of the Ada Language Server with GNAT Studio, which is different from the extension's one in most cases. So replacing it like this is clearly not recommended.

If you want to benefit from the latest improvements made in the Ada Language Server, I would suggest you to use it from VS Code directly. Note that we have also release a new version of GNAT Studio last week.

Regards,