30
When developing in C/SIDE, the 'Go to Definition' on variables with a complex datatype (pages, tables, codeunits, ...) always opened the 'object'. It didn't point to the variable declaration (globals / locals)

Working in AL with the 'Go to Definition' always navigates / points to the variable declaration first, from where we need to click a second time on the datatype to actually open the object / file.

Please provide VSCode alternative to allow direct navigation / Go to 'object' definition, the same way it was implemented in C/AL.

recCustomer : Record Customer;
recMyISVTable: Record "MY ISV Table"
...
recCustomer.MODIFY; >> Alternative would be appreciated to open the 'Customer' table when
right-clicking on the recCustomer.
recMyISVTable.whatever; >> Alternative would be appreciated to open the 'MY ISV Table' table when right-clicking on the recMyISVTable.
Category: Development
STATUS DETAILS
Needs Votes
Ideas Administrator

Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.

Best regards,
Business Central Team

Comments

F

I'd like to broaden the initial idea to upgrade the 'Go to Definition' behavior to at least the features we had in C/AL.

Please also integrate support for 'Go to Definition' on Table triggers

In C/AL, you could use 'Go to definition' on code lines calling the INSERT/MODIFY/... (table) triggers to navigate to the table object trigger code.

In AL, you can no longer use 'Go to definition' on code lines calling the INSERT/MODIFY/... (table) triggers to navigate to the table object trigger code (only when present).

More info on Github
https://github.com/Microsoft/AL/issues/4928

Category: Development