Skip to content

Ada Source Formatter  #901

@Joebeazelman

Description

@Joebeazelman

I had given up on trying to format my Ada code in VSCode. There's no mention of it in Ada's documentation. Trying to execute the command resulted in VSCode asking if you'd like to download a formatter for Ada. After looking for alternatives, I was just about to write one until I tested my initial extension code. My extension formatting wasn't loading, so after much investigation I discovered Ada Language server was performing the formatting. It suddenly worked. Not sure what happened. Looking at the VSCode base, I don't see where Ada Language Server registers itself as a code formatter.

The remaining issue is that there's little documentation of this feature even existing and there are no options for setting its formatting options such as formatting comments, line length, number of tabs, etc.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions