Use a placeholder character as variable name and replace it with the suggested variable name.
variable name "x" can be replaced by "SalesLine" when the record "Sales Line" has been selected. Demo
Change the settings "alNavigator.ignoreALPrefix" and "alNavigator.ignoreALSuffix" to ignore these affixes when detecting or creating variables.
Set "alNavigator.ignoreALPrefix" to "EX". If you have a table called "EX Test Table" and use the variable name "TestTable", it can be automatically be created. Demo
Create Variables for Objects Like Records
Prefix Temp
Abbreviated Variable Names
Frequently Used Variable Names
Replace Placeholder
Affixes
The prefix "CCO" is removed for the suggested variable name because we set the "alNavigator.ignoreALPrefix": CCO
Settings
Setting
Description
alNavigator.ignoreALPrefix
Removes prefix from suggested variable names.
alNavigator.ignoreALSuffix
Removes suffix from suggested variable names.
Requirements
AL Language
AZ AL Dev Tools/AL Code Outline
Thanks to
David Feldhoff for his contributions and feedback
Andrzej Zwierzchowski for providing such an awesome API for his AZ AL Dev Tools/AL Code Outline extension
Additional information
The functionality of this extension is constantly evolving.
To not bloat this readme too much, you can find more detailed documentations and details on my blog (https://navinsights.net/category/al-navigator/).