Skip to content

No new ID is suggested when using namespaces #8177

@DanielGoehler

Description

@DanielGoehler

1. Describe the bug
When I have a namespace and using no new Id will suggested.

2. To Reproduce

  1. Create a new File and try to have new ID
namespace Test.BC.Apps.App; using System.DataAdministration; using System.Upgrade; codeunit MyCodeunit { trigger OnRun() begin end; var myInt: Integer; }

3. Expected behavior
The next free Id.

4. Actual behavior
The no new Id.

Image

5. Versions:

  • AL Language: 16.2.1869542
  • Visual Studio Code: 1.107.1
  • Business Central: DE Business Central 27.2 (Plattform 27.0.43272.0 + Anwendung 27.2.42879.43229)
  • List of Visual Studio Code extensions that you have installed:
    • AL Language extension for Microsoft Dynamics 365 Business Central
  • Operating System:
    • Windows
    • Linux
    • MacOS

Please remember to do the following:

  • Search the issue repository to ensure you are reporting a new issue
  • Reproduce the issue after disabling all extensions except the AL Language extension
  • Simplify your code around the issue to better isolate the problem

Internal work item: AB#616818

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