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

allow specifying gpr file in initializationOptions #1079

Closed stephe-ada-guru closed 1 year ago

stephe-ada-guru commented 1 year ago

In Emacs, it would be convenient if als allowed specifying the gpr file in the initializationOptions parameter of the initialize request; other language servers allow similar settings by that method. Right now, I have to write custom code to send a workspace/didChangeConfiguration message to set the gpr file.

AnthonyLeonardoGracio commented 1 year ago

Hello @stephe-ada-guru,

Indeed, that looks like a reasonable enhancement. We'll have a look!