AdaCore / ada_language_server

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

gnat tasks obsolete but mentioned in the documentation? #1202

Open mgrojo opened 4 weeks ago

mgrojo commented 4 weeks ago

My first time trying VSCode and maybe I'm misinterpreting something, but here we have a reference in the documentation about gnat tasks.

https://github.com/AdaCore/ada_language_server/blob/5100ea1e890a8a19da3a5f952dc3ad10f583839d/integration/vscode/ada/media/launch-debug.md?plain=1#L3

In another place, which I cannot reproduced now, I got a message saying something like "gnat tasks are obsolete, use ada or spark instead".

So I guess the documentation could be obsolete on that point.

eliericha commented 4 weeks ago

Hello,

It seems that this piece of documentation is unfortunately outdated. gnat: and gpr: tasks are indeed obsolete and the tasks that should be used are ada: and spark:.

I will update the documentation shortly and the update will appear in the next release of the VS Code extension.