Please visit https://www.altoolbox.com/ for more in depth information and AL Language tips and tricks.
All notable changes to the "al-toolbox" extension will be documented in this file.
- Source Code Folder Name Setting #121
- Fix rUpgradeFunctionDatabase #123
- Add Use Simple Function Snippets setting which simplifies function snippets so a custom completion provider can be used
- Don't create regions when they already exists #107
- Fix telemetry logging issue
- Fix capitals in comment snippets
- Adjust translation format check #110
- Add support for permissionset, permissionsetextension, report, reportextension when renumbering objects #64
- Add TelemetryIdentifier setting to identify internal/external telemetry
- Add Application Insights telemetry
- Disable Promoted properties on the raction snippet in runtime 10+ #94
- Invalid region directive in rTestFunction snippet #100
- Renumber AL Objects Error #99
- Copy fields to related tables #60
- Optimize rtableNoSeries, rHideValidation snippets
- New snippets
- rSimplestFunction: function without parameters
- rActionRef: action reference
- rUpgradeFunctionCompany: company upgrade function
- rUpgradeFunctionDatabase: database upgrade function
- Add round brackets everywhere in document #77
- Surround with pragma in all documents not working #78
- Create Regions doesn't work with multiple apps in Workspace #88
- Surround CopyStr (Everywhere in this document) does not work #90
- Fix incorrect VSIX
- Regions are back to //#region in runtime 10.0 #80
- Add targetLanguage / targetLanguage2 settings which replaces the fixed NLB/FRB values #66
- Surround names with " " for object related snippets
- Removed trailing ; from procedures
- Added internal to the (non-table) function snippets (so new functions will not be exposed by default)
- Added rNLBComment, rFRBComment, rNLBFRBComment snippets to add comments to captions, tooltips, ...
- Optimized rTestFunction snippet
- Added rTestCodeunit (inspired by NAB AL Tools)
- Minor snippet cleanup / format
- Fix Dev/Debug Version in Marketplace #71
Remove hyperlink from diagnostic code #61
Disable field description on hover functionality #55
'Go to Definition' opened in side window when hovering object derived variable #55
- Optimized SetLoadFields functionality
- Added CodeAction to Add Pragma with TODO Tag #46 & #53
- Added CodeAction to Add Pragma for all error occurences in all documents #42
- Duplicate fields in ALTB: Generate SetLoadFields: #39
- EnumExtensions are not getting renumbered via "Renumber AL objects" #38
- Fixed the CodeunitSubscriber Snippet
- Added CodeActions to Add Pragma around warnings.
- Modified the GitIgnore from "*.json", to "launch.json"
- Fixed the CodeunitSubscriber Snippet
- Added commands:
- ALTB: Renumber fields | Renumbers field numbers in the active editor
- ALTB: Renumber all fields | Renumbers fields in all tables and table extensions objects (in all workspace folders).
- Added option for checking format of label comments required by the 'AL Language Tools' extension for generating XLIFF files: ALTB.CheckCommentTranslations
- Added command "ALTB: Generate SetLoadFields"
- Show field description on hover
- Bugfix: AL Toobox prevents folding icons in .al files with many lines #23
- Added option to disable snippets: ALTB.DisableSnippets
- Added custom coloring for regions:
- ALTB.RegionColor: color for region markers (e.g. #region)
- ALTB.RegionTextColor: color for text after the region markers
- Snippets now use regions without '//' if ALTB.UseAlRegions is true and runtime in app.json >= 6.0
- Snippets will no longer work with the 'Insert Snippet' command
- Added command ALTB: Add region
- Adds region arround the currend selection
- [BugFix] Quick fix for AL0666 now only adds '//' for regions (use to do it for all "preprocessor directives")
- [BugFix] Enable folding for regions without '//'
- Option to disable all folding provided by this extension: ALTB.DisableCustomFolding (Disables folding for "//#region"s)
- Option to use region without '//' for region generation (snippets still use '//'): ALTB.UseAlRegions (Default will be true; set it to false if you still want to use the custom regions provided by this extension)
- Added quick fix for AL0666 -> transforms region without '//' to regions with them.
- Added Enum Snippets:
- rGetEnumName
- rConvertOrdinalToEnum
- rConvertTextToEnum
- Added indent based folding. The default indent based folding is overridden if we add folding providers for AL.
- Fixed Handled parameter in Function Snippets
Added Command:
- ALTB: init .gitignore
Added Command:
-
ALTB: Copy fields to related tables | This will copy al fields from the current table to all related tables. If there are conflicts you will get a popup that allows you to navigate to them:
Added 3 Commands:
- ALTB: Renumber AL Objects | This function will renumber your objects based on the number ranges in the App.json
- ALTB: Change Object Prefix | This function will ask you what the new prefix should be and rename all your objects and the settings.json.
- ALTB: Open Related Tables/Pages | This function will open the related tables/pages for the object you are working on, so you can easily copy paste fields between the related tables of Sales Header for example. Updated the snippets:
- Replaced variablename with v so that it works better with the variable helper extension
- Added rTableExtension and rPageExtension for those that still want to add in the Original id to the object they are creating (CRS Extension removed it)
Added 4 Commands:
- ALTB: Start Project: Create Related Tables | This function will create Tableextensions for Sales Header/Line, Purchase Header/Line and Contact + their Pageextensions.
- ALTB: Create regions for all AL functions and triggers | Running this command will generate Regions around all Functions that don't have regions yet.
- ALTB: Create regions for all AL dataitems and columns | Running this command will generate Regions around all Dataitems and Columns in a report.
- ALTB: Create regions for all AL functions, triggers, dataitems, and columns | Combination of the previous 2.
- Added the snippet rDelChr (ALTB)
- Added 3 Snippets
- rAction
- rPropertiesAction
- rRepeat
- Fixed Caption snippets that would have $0 midway instead of at the end
- Fixed the Page Subscriber Snippet
- Added Translation Comment to Snippets so that it works with the AL Language Tools Extension
- Added Enum to Int Snippet
- Renamed Subscriptions to Subscribers
- Added CurrPage Lookup Snippet
- Removed the gif and made it static image
- There was an issue with people that have the C/Side Dev theme installed, the color of the regions would be green instead of blue
- Added another gif to clearly see the utility of regions
