web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Visual Studio Code does not suggest object id's

(0) ShareShare
ReportReport
Posted on by 143
Hi experts,
 
When I make a new file in Visual Studio Code on a new AL:GO project, and enter /table/ (or any other object type), then it does not suggest an id for the new object. For instance /50100/. When I press Ctrl-space, it shows a list of snippets starting with /taction/, /tactionref/ etc.
 
I have disabled all my extensions in Visual Studio Code - except /AL Language Extension.../ from Microsoft.
 
How do I make it suggest the next free object id in my project?
 
Hope you can help.
 
Best regards,
 
Morten
I have the same question (0)
  • Suggested answer
    Gerardo Rentería García Profile Picture
    25,213 Most Valuable Professional on at
  • MS-07051042-0 Profile Picture
    143 on at
    Hi gdrenteria,
     
    Thanks for your time.
     
    Yes, I have downloaded symbols.
     
    The problem is on every project, I have. I have many for different customers and they have many objects (both tables, pages, table ext.'s, page ext.'s etc.)
     
    Since it is a problem also in a new AL:GO project with downloaded symbols, it must be a setting in my Visual Studio Code, but I cannot find it.
     
    Best regards,
     
    Morten
  • Suggested answer
    YUN ZHU Profile Picture
    95,331 Super User 2025 Season 2 on at
    Do you mean that VS Code will suggest you the next unused Object ID?
    This is not a standard feature of AL Language, you may have other extensions installed and you disabled it now. You need to find the extension that provides this functionality and enable it.
    Normally there is no prompt. . . .
     
    Hope this helps.
    Thanks.
    ZHU
  • Verified answer
    MS-07051042-0 Profile Picture
    143 on at
    Hi Yun Zhu,
     
    Thank you for your reply.
     
    I have seen several examples from Erik Hougaard and maybe also from you, where the intelliSense (Ctrl-space) finds and suggests the next unused object number. For instance, if I have my own table with id 50100, then when I create a new file and write "table" and press Ctrl-space, it should suggest 50101.
     
    I have managed to find the setting, so now it works!
     
    This check box must be marked in order to make it work: "Text Editor: "Suggest: Show References".
     
    Best regards,
     
    Morten
     
    P.S: Yun Zhu, thank you very much for all that you post online about Business Central development! Your blog has helped me several times. Keep up the good work.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,143

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,694 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,067 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans