AdaCore / ada_language_server

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

What LSP request implements "auto-add with-clauses"? #1039

Closed stephe-ada-guru closed 4 months ago

stephe-ada-guru commented 2 years ago

The main README.md mentions "Code refactoring like insert named associations, auto-add with-clauses." However, https://github.com/AdaCore/ada_language_server/blob/master/doc/refactoring_tools.md does not mention this feature.

I'm working on adding support for ada_language_server to Emacs ada-mode, so I'd like to know how to do this.

stephe-ada-guru commented 1 year ago

Maybe it's als-refactor-imports?

AnthonyLeonardoGracio commented 4 months ago

Hello,

it's called als-auto-import. We'll update the doc to put the names more explicitly.

Regards,