AL icon indicating copy to clipboard operation
AL copied to clipboard

No object ID suggested when namespace is used

Open ajkauffmann opened this issue 1 year ago • 1 comments

1. Describe the bug When an object starts with a namespace declaration, Ctrl + Space doesn't suggest an object ID.

2. To Reproduce

  1. Create a new object
  2. Start with specifying a namespace
  3. Specify object type and press Ctrl + Space

3. Expected behavior The next available object ID for the object type is suggested.

4. Actual behavior The drop-down shows the text "No suggestions".

Image

When the namespace is removed, it suggests the next available object ID.

Image

5. Versions:

  • AL Language: v14.1.1180850
  • Visual Studio Code: v1.94.2
  • Business Central: v25
  • List of Visual Studio Code extensions that you have installed:
  • Operating System:
    • [X] Windows
    • [ ] Linux
    • [ ] MacOS

Final Checklist

Please remember to do the following:

  • [X] Search the issue repository to ensure you are reporting a new issue

  • [X] Reproduce the issue after disabling all extensions except the AL Language extension

  • [X] Simplify your code around the issue to better isolate the problem

Internal work item: AB#559421

ajkauffmann avatar Oct 24 '24 07:10 ajkauffmann

Can confirm that this is an issue. I experience the same.

mynhardt7 avatar Oct 24 '24 09:10 mynhardt7