NAB AL Tools
This extensions is a tool that helps with AL development.
The workflow for working with these XLIFF tools are
NAB: Refresh XLF files from g.xlf
Iterates the g.xlf file and updates all language xlf files.
NAB: Find next untranslated text (Ctrl+Alt+U)
Finds the next occurance of the tags [NAB: NOT TRANSLATED] or [NAB: REVIEW] and selects the tag.
NAB: Find untranslated texts (* Please read Known Issues below)
Uses the Find in Files feature to search for the tags above.
NAB: Find translated texts of current line (* Please read Known Issues below)
Place the cursor on a AL code line that should be translated and execute this command to use the Find in Files feature to find all occurences of the translations
NAB: Find code source of current line ("F12" in xlf files)
Place the cursor somewhere in a trans-unit node in the xlf file and execute this command to navigate to the source code for that translation.
NAB: Uninstall dependendent apps
Uninstalls dependant apps through PowerShell. Useful if you cannot install your app due to dependencies.
Only works for local installations, not Docker, not Saas Sandbox.
NAB: Sign app file
Sign the app file (matching your current app.json). You must first have the Code Signing Certificate installed in the Current User Personal Store (Cert:\CurrentUser\My if you're importing with PowerShell).
NAB: Deploy and Run TestTool without Debugger
Useful if you're using a separate app as a test app
When this command is executed, VSCode...
NAB: Deploy and Run TestTool with Debugger
The same feature as above, but with debugging
Assign text variable with CopyStr
Since CodeCop rule AA0139 complains on possible overflow, we need to assign text variables with a CopyStr statement
Inserts a stub Test Codeunit
Inserts a stub Test Function
Inserts a generic SendNotificationHandler function
Inserts a generic MessageHandler function
Inserts a generic ConfirmHandler function
This extension requires the Microsoft AL Language Extension to fully work.
This extension contributes the following settings:
The Find in Files API is a bit buggy right now... I had to create a PR for VSCode for this to work properly. This will probably be released in VSCode v1.34, so after that release you'll hopefully see an improvement.
Please submit issues on GitHub