Skip to content

broken Intellisense/auto-complete for begin/end of a procedure returning a record type #6978

@dzzzb

Description

@dzzzb

If a procedure returns nothing, or a basic type,

  • starting to type begin for its body gets us this suggestion, and
  • pressing Enter creates the correct/expected result:

image


However, if the procedure returns a record, and has already specified which record it's returning, this does not work...

  • we get the beginend; auto-filled, but
  • the suggestion is instead for some random tables that contain isolated letters from the word begin... and
  • pressing Enter causes the name of the first suggested table to be inserted, replacing the desired begin/end;.

image

So, we

  • get an arbitrary wrong thing inserted instead of what we wanted, and
  • have to delete that, and
  • start again, making sure not to accept the beginend; suggestion

...which adds a fair number of seconds, and more frustration, to the should-be-simple task of declaring a procedure. :-(

This is very inconvenient when returning records, something that is otherwise a great and really useful new feature :-) So please can it be fixed?

Thanks!


Name: AL Language
Id: ms-dynamics-smb.al
Description: AL development tools for Dynamics 365 Business Central
Version: 8.4.586670
Publisher: Microsoft
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-dynamics-smb.al

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