Skip to main content

Notifications

Business Central forum
Answered

Visual Studio Code does not suggest object id's

editSubscribe (0) ShareShare
ReportReport
Posted on by 7
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
Categories:
  • Verified answer
    MS-07051042-0 Profile Picture
    MS-07051042-0 7 on at
    Visual Studio Code does not suggest object id's
    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.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 60,818 Super User on at
    Visual Studio Code does not suggest object id's
    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
  • MS-07051042-0 Profile Picture
    MS-07051042-0 7 on at
    Visual Studio Code does not suggest object id's
    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
    gdrenteria Profile Picture
    gdrenteria 3,108 Super User on at
    Visual Studio Code does not suggest object id's

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,375 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,308 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans