AL Language extension 10.1
AL Language extension 10.1 for Business Central 2022 release wave 2: released 2022-11-10; 4 changelog entries, 11 GitHub issues linked.
- 2022-11-10released
- 4entries
- 11issues
Changelog on the Visual Studio Marketplace · Business Central 2022 release wave 2
Support for global and workspace launch configuration
AL developers are now able to add a launch property to their code-workspace or settings.json file and it will be taken into account. A local launch.json file overrides the workspace and global configuration. A workspace launch configuration overrides the launch configuration specified in the global settings.json file.
In case that the local launch.json file doesn’t contain a valid AL launch configuration, we’ll try to find one in the code-workspace first, and then in the settings.json files. However, if the launch property is specified in the code-workspace file even without specifying a valid AL configuration, the global settings.json file will not be able to override it.
Report.PrintOnlyIfDetail
- The PrintOnlyIfDetail method is now supported for Business Central online.
GitHub Issues
- #6514 Viewing variables in debug breaks session
- #6930 CalcFields and CalcSums auto-complete/IntelliSense stops working after the first two fields, i.e. broken on third onwards
- #7077 AL allows/suggests “Enum Name”::“First Value Name”::“Another Value Name”::“Etc”::“Etc”
- #7146 Support sticky scroll with a more complete model, meaning for instance, the sticky scroll line is not the attribute of a procedure but the name of it.
- #7156 Rule AA0241 should not report a warning on object types.
- #7133 There should be a Compiler Error for setting the Editable Property of a part in a PageExtension
- #7155 Unable to cast object of type ‘Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.ObjectTypeSystemOptionTypeSymbol’ to type ‘Microsoft.Dynamics.Nav.CodeAnalysis.Symbols.OptionTypeSymbol’
- #7166 Copies wrong SQL statement
- #7190 Intellisense is very slow.
- #6977 Doc for “Table System fields” says audit fields like SystemCreatedAt can be used in keys, but AL gives errors (AL0306)
- #7220 Unexpected value ‘BadExpression’ if using Enum class as Parameter with Next Minor Version of BC21
Miscellaneous
- Deprecated the usage of ‘Extension’ and ‘Internal’ targets in the app.json manifest in favor of ‘Cloud’ and ‘OnPrem’ from runtime version 11.0.
- AW0012 - When targeting runtime versions higher or equal to 10.0, the AboutText and AboutTitle properties will not be flagged as not supported for parts and controls inside of factboxes.
- Fixed issue in the snapshot debugger that resulted in skipping each snappoint, except the first one set on an application object, when there were multiple application objects in one source file.
- Improved IntelliSense to suggest the name of the 20 synthesized promoted categories when creating a new action group in the promoted area.
- Improved IntelliSense and hover display for the promoted category
Category_Processto mention that this category is theHomecategory. - Added a new feature “NoPromotedActionProperties” in the app.json to enforce the usage of the promoted area and actionref syntax in the extension.
- The username and password input boxes will no longer disappear when the editor window goes out of focus during authentication.
- AW0008 - Expanded the set of page types where repeaters are not supported to match the behavior of the web client. AW0008 will be reported when a repeater is added to any page or page extension which is not a List, ListPart, Worksheet, or API page.
- Generated translation file again contains PromotedActionCategories when the property is used.
- Better support for copying variable expressions to the watch window and debug console.
- Fixed an issue in the workspace logic where opening a file would always trigger a recompilation of the entire project.
- Reports and report extensions can no longer have dataitems whose names are only quotes and whitespace (e.g. “” and “ “).
Source: Visual Studio Marketplace, ms-dynamics-smb.al changelog, Microsoft’s text unchanged. Dates from the gallery’s upload records.