Skip to content

[Bug]: Params of procedure auto fill out doesn't auto format or with format file #1308

Description

@kevlar700

Environment

  • Linux Leap 16
  • Gnat Studio 2026.2 (ALS 27.0w 20260409)

Bug Summary and Reproducer

Bug Summary:
Using Params of provides nice output that can be autoformatted but Procedure name smart completion cannot be autoformatted due to type information and in particular out mode keywords.

Steps to reproduce:
After typing the whole name of a procedure followed by ( and hitting control space then you get the Params of option. When you click it then you get all the spec of the procedure to fill in formatted on multiple lines (nice). If you type part of a procedure name followed by ctrl space for smart completion then you get it all filled in but on one long line and with more output such as in out modes. If you delete the types or possibly just the out keywords then autoformat works and you can fill in each parameter within 80 columns.

Expected behavior:
Smart completion output should not go off the screen or break format file functionality

Configuration and Logs

I believe this applies to every system and the language server log has no interesting information except for Ada version used for predefined completion: ADA_2020

Other VS Code Extensions

No response

Additional context

This may be a Gnat Studio bug. I can just delete in out and out and try format file again. Perhaps it would be best to just fill in the parameter names and not the type information as we can always jump to declaration in another window anyway where we can jump to the types in any case which can't currently be done from the output?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions