Skip to content

[Bug]: Root Child package name of library is required in parameter signature for ALS param suggestion functionality #1239

Open
@kevlar700

Description

@kevlar700

Environment

  • OS and Version: Devuan Linux (Debian 12)
  • IDE Version: Gnat Studio 25.0w

Bug Summary and Reproducer

Bug Summary:

If you have a library procedure

STM32.SPI.Run.Configure (SPI  : in STM32.Devices.SPI.SPI_T);

Then ALS will handily fill out the params for you when you type the following from a main application so long as STM32.Devices.SPI is withed.

STM32.SPI.Run.Configure ( Ctrl=>Space

Then you can backspace the end (.SPI_T) and retype the . to get a list of possible values.


Steps to reproduce:

However if the procedure is the following ommiting the libraries root package name.

STM32.SPI.Run.Configure (SPI  : in Devices.SPI.SPI_T);

Then that functionality no longer works.


Expected behavior:

Is the advice to always include the root child package name in the library sources procedure signatures or is this a bug?

Configuration and Logs

I expect that this is the current behaviour for any configuration but can provide logs if required. The current behaviour may even be the best that can be expected?

Other VS Code Extensions

No response

Additional context

No response

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