No object ID suggested when namespace is used
1. Describe the bug When an object starts with a namespace declaration, Ctrl + Space doesn't suggest an object ID.
2. To Reproduce
- Create a new object
- Start with specifying a namespace
- 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".
When the namespace is removed, it suggests the next available object ID.
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
Can confirm that this is an issue. I experience the same.