Skip to content

Latest commit

 

History

History
537 lines (410 loc) · 31.3 KB

CHANGELOG.md

File metadata and controls

537 lines (410 loc) · 31.3 KB

Change Log

All notable changes to the "crs-al-language-extension" extension:

[1.5.31] - 2023-11-27

Fixed snippets (removed ";" after procedure). Zech Andersen fixed an issue to use quotes around field names that start with an integer. Thanks!

[1.5.29] - 2023-10-20

New! Organize your folders by Namespace. Pretty neat idea from Spyco Clown, which he also turned into reality by this pullrequest. Many thanks!

[1.5.28] - 2023-07-12

Fix from James Pearson: pull request #282 - Do not add quotes to object names if not necessary when reorganising - thanks!

[1.5.25] - 2023-01-20

Some new pullrequests from the community for which I'm very thankful :-).

[1.5.24] - 2022-12-20

Added Support for Arrays on Page Extensions by pri-kise. Thanks so much!

[1.5.23] - 2022-12-19

  • New snippet tUpgradeCodeunitJobQueuewaldo: schedule upgrade routine with Job Queue.

[1.5.22] - 2022-12-05

[1.5.19] - 2022-08-23

Add Support for Arrays in Report Columns, based on issue logged by pri-kise. Thanks!

[1.5.18] - 2022-07-11

Improved snippet tpagefieldwaldo.

[1.5.17] - 2022-07-08

Fixed Current File is always adding a prefix in Report Extensions, Reported by frobiii. Thanks!

[1.5.16] - 2022-07-07

Fixed Object Name Prefix breaks all reports on save, Reported by matthias-planzer. Thanks!

[1.5.15] - 2022-07-05

Fixed Quotation marks are added to reports/queries, Reported by Lazys. Thanks!

[1.5.14] - 2022-07-04

Fixed Prefixing fields and other controls on Report Extensions, Reported by g-franck. Thanks!

[1.5.12] - 2022-07-01

Fixed Issue with DGML export (Reported by tscottjendev).

[1.5.11] - 2022-06-17

Once again many changes by Christian Bräunlich - Big thanks again!

  • Fixed snippets
  • Added snippets
  • Improved the README

pri-kise Added support for more special chars on pages. Big thanks!

Replace "opn" with "open"

[1.5.8] - 2022-05-16

[1.5.7] - 2022-05-10

[1.5.6] - 2022-05-05

[1.5.5] - 2022-04-28

  • Snippet updated by Arthur. Thanks so much!

[1.5.4] - 2022-03-17

  • Added setting SkipWarningMessageOnRenameAll that does just that ;-). Thanks Mustafa Kilic for the pull request!
  • Updated snippets tcodeunitMethodWithoutUIwaldo & tcodeunitMethodWithUIwaldo (renamed "Handled" to "IsHandled") (thanks IceOnly)

[1.5.2] - 2022-02-22

[1.5.1] - 2022-02-11

  • Fix about loading setting from multiple levels. (Thanks dannoe)
  • Fix regarding runobject with certain browsers. (Thanks geschwint)
  • Fix regarding naming convention of PermissionSet(Extension) (Thanks Tomas Kapitan)
  • Added functionality: use comments to disable crs-string-manipulation (Thanks askotnica)
  //crs-al disable
  ...
  //crs-al enable

[1.4.12] - 2022-02-09

Improved snippets (also thank you Christian Bräunlich)

[1.4.11] - 2021-09-13

Updated snippets (including v19)

[1.4.10] - 2021-08-03

PR: Reuse crs terminal if one already exists by James Pearson - Thanks so much, James!

[1.4.9] - 2021-05-10

New command CRS: Compile DGML, which enables the new capabilities of the compiler to generate a DGML document that can be opened by a DGML reader (usually Visual Studio).

[1.4.4] - 2021-04-20

Renamed "Run AL Test Tool" command. New objects: PermissionSet and PermissionSetExtension in rename process Added snippets:

  • tinstallcodeunitwaldo - A template install codeunit. (thank you Waldemar and AJ)
  • tUpgradeCodeunitwaldo - A template upgrade codeunit.
  • tUpgradeTableProcedurewaldo - A template procedure to move all data from one table to the next.
  • tUpgradeFieldProcedurewaldo - A template procedure to move field data from one table to the other.

Improved snippets (thank you Daniel)

[1.4.2] - 2021-02-08

Added command CRS: Configure Best-practice File Naming, it will set up your user settings or workspace settings with some settings that are considered to be best practice (Thank you, Vjeko).

[1.4.1] - 2021-02-04

Added:

  • Support for Report Extensions
  • New snippets regarding GetRecordOnce in setup tables.
  • Warning when using Chrome in combination with RunObject commands
  • Take comments into account - it might have confused the object parsing (Bug 167)

[1.3.8] - 2021-01-28

Fix a very rare case where a rename could overwrite a file.

[1.3.7] - 2021-01-11

Added new command: CRS: Publish and Run Current Object. Now you don't have to compile/publish first, to run object afterwards - it's all one command now!

[1.3.5] - 2020-11-26

Added "internal" to the method-snippet. Thanks Stefan!

[1.3.3] - 2020-11-19

Added 2 snippets for Notification Codeunit Patterns (described by Luc van Vugt):

  • tnotificationcodeunitwaldo: (Notification Codeunit with a bunch of needed mechanics)
  • tmynotificationscodeunitwaldo: (same is above, but now with added subscriber to add the notification to the "My Notifications" page)

More information on Luc's blog:

[1.3.2] - 2020-11-06

Fix - run CRS: Create GraphViz Dependency Graph on "just" a folder with lots of apps. Open the folder in VSCode, run the command.

[1.3.1] - 2020-11-05

New Command: CRS: Create GraphViz Dependency Graph

This command will read all app.json files in your workspace (so this function is really useful in a Multi-root workspace) and create a .dot dependency file from it. To display this file graphically, I recommend to also install the extension Graphviz Interactive Preview. If you have, this command will automatically open the preview after generating the graph.

This functionality will take these settings into account:

  • CRS.DependencyGraph.IncludeTestApps: Whether to include all dependencies to test apps in the Dependency Graph.
  • CRS.DependencyGraph.ExcludeAppNames: List of apps you don't want in the dependency graph.
  • CRS.DependencyGraph.ExcludePublishers: List of publishers you don't want in the dependency graph.
  • CRS.DependencyGraph.RemovePrefix: Remove this prefix from the appname in the graph. Remark: this has no influence on the 'Exluce AppNames' setting.

[1.2.5] - 2020-10-05

Fix from Márton Sági about focusing webview and performance loss. Fixed a few snippets to comply with CodeCops

[1.2.4] - 2020-04-29

Fixed: action indentation after rename

[1.2.3] - 2020-04-28

New setting:

  • CRS.RemoveUnderscoreFromFilename: When using the Reorganize/Rename-commands, this setting will remove any underscore from the filename (but keep it in object name). Tip: use as a workspace-setting

Fixed:

[1.2.2] - 2020-04-27

Finally found a solution for the annoying snippets that popped up in IntelliSense when not wanted.

Added:

Fixed:

[1.2.1] - 2020-04-06

Added support for "Interface" object of Business Central v16

[1.1.26] - 2020-04-02

Fixed a small issue with renaming extension objects with long name (and auto object naming)

[1.1.25] - 2020-03-26

Fixed issue when autorenaming resulted in a table-/pageextension that was too long.

[1.1.24] - 2020-03-25

New Command: "CRS: Search Object Names"

  • It will search the selected object name in all your files.
  • The regex can be set up with the setting CRS.SearchObjectNamesRegexPattern.
  • This idea comes from this blog by Jack Mallender. Thank you so much - this is extremely useful :-).

[1.1.23] - 2020-03-16

Changed - Allow renaming to result in too big object names

[1.1.22] - 2020-01-03

Added and updated snippets, like:

  • tassistedsetup - for version >=15
  • tProcedureFromClipboard - to convert a piece of code into a function, just cut the code and use this snippet - pretty cool ;-).
  • tTestHandler.. - multiple snippets for easily adding handlers in test-codeunits
  • added "caption" to snippets with also "UsageCategory" (to enable translation).
  • Improved "Option" snippet. Reported by SirBETE

Solved:

  • Updated naming convention for Control Addin (Thanks to this pullrequest.)
  • Wrong behaviour when using "Trigger" as a new of a control (don't remember who gave the feedback, my apologies. here is the commit)
  • Run Object for named online sandbox.
  • Use al browser settings (if any). Reported by mjmatthiesen here.

[1.1.21] - 2019-11-05

Added keywords as suggested here by Frédéric Vercaemst.

Added <ObjectTypeShortPascalCase> as an extra FilePattern option because Microsoft is going to include this as a Best Practice. Thanks ernestasjuska and hmerbouche for the heads up!

An example of the new "best practice" settings looks like:

    "CRS.OnSaveAlFileAction": "Rename",
    "CRS.FileNamePattern": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
    "CRS.FileNamePatternExtensions": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
    "CRS.FileNamePatternPageCustomizations": "<ObjectNameShort>.<ObjectTypeShortPascalCase>.al",
    "CRS.ObjectNamePrefix": "ALDA ",
    "CRS.RemovePrefixFromFilename": true,

[1.1.19] - 2019-10-29

  • Improved:
  • Renamed to "waldo's al language extension". Initially, it was intended to be built by the team members of CRS. But it turned out to be a purely community project by waldo only - so renaming it was inevitable ;-). I expect to rename the commands at some point as well.. .

[1.1.17] - 2019-10-09

Fixed: Test Snippets - it included a "." in the names, but seemed to break the "AL Test Runner". Changed to "_"?

[1.1.16] - 2019-07-06

Fixed: Remove spaces in ControlAddIn names and paths.

[1.1.15] - 2019-07-04

Fixed:

[1.1.11] - 2019-06-27

Fixed:

[1.1.9] - 2019-06-07

[1.1.7] - 2019-06-06

[1.1.6] - 2019-05-28

Fixed:

[1.1.3] - 2019-04-12

Improved snippets, including a contribution of Rasmus Aaen with a snippet for test cases by this pullrequest.

[1.1.2] - 2019-03-28

Fixed:

[1.1.0] - 2019-03-26

New:

Improved:

Fixed: "case insensitivity" for file extensions - Rename/Reorganize AL File in extension of file is in caps

[1.0.15] - 2019-02-25

[1.0.13] - 2019-02-19

[1.0.12] - 2019-01-29

  • Fixed - Issue with situations when many comments are in a file, which could cause (by exception) taking the wrong text for determining the object properties. Filed by Luc van Vugt in this issue.
  • Fixed - Issue with leading comments in a file, which could cause the regex to end up taking wrong conclusions. Issue by Laura Nicolas.
  • Small improvement on snippet(s)

[1.0.11] - 2019-01-21

[1.0.10] - 2019-01-13

[1.0.8] - 2018-11-04

  • Improved - Reopen files when renaming, reorganizing all files - by PR from Martin Kuhn. Thank you!
  • Updated dependent modules & Changed/Reset compile-tasks to default behaviour
  • Disabled command "Install Waldo's Modules" as this was never used, and not working like I would like it to. There is a better way to run powershell, and I'll implement that first.

[1.0.6] - 2018-10-15

[1.0.5] - 2018-10-10

[1.0.4] - 2018-09-25

Fixed snippets

[1.0.3] - 2018-09-19

[1.0.1] - 2018-08-20

[1.0.0] - 2018-08-03

After 10k downloads, I guess we can speak of a version 1.0 ;-).

Changes:

[0.2.24] - 2018-07-13

[0.2.22] - 2018-07-06

Fixed unreadable documentation - basically nothing changed

[0.2.20] - 2018-07-06

  • New Feature: automatic object name for Extension Objects with a new setting:
    • CRS.ExtensionObjectNamePattern: The pattern for the object name. If set (it's not set by default), it will perform an automatic object name for extension objects
      • <Prefix>
      • <Suffix>µ
      • <ObjectType>
      • <ObjectTypeShort> - a short notation of the object type.
      • <ObjectTypeShortUpper> - Same as "ObjectTypeShort" but uppercased
      • <ObjectId>
      • <BaseName> - weird chars are removed - does NOT include prefix nor suffix
      • <BaseNameShort> - does NOT include prefix nor suffix
      • <BaseId> - If you want this to work, you need to put the Id in comment after the base name (see below)

[0.2.19] - 2018-07-03

  • Fixed prefix and suffix behaviour:

    • Now also suffixes on fields and actions
    • No suffix/prefix anymore on action of new pages
  • Fixed setting "CRS.AlSubFolderName" - changed "Src" to "src", as that is Microsoft's recommendation (pullrequest from spookymattress :-)).

  • Added functionality: Search on Google / Microsoft Docs - these two commands have been added to search for any given search string on Google or Microsoft Docs:

    • CRS: Search Microsoft Docs
    • CRS: Search Google

    The selected word in the editor will be added by default as a search string and the search string "Business Central" will automatically be added.

[0.2.18] - 2018-07-02

  • No bugfixes (none reported)
  • Improved efficiency of many existing snippets
  • Added snippets for "fieldgroups" (like Brick and DropDown)

[0.2.17] - 2018-06-24

Two new settings by pullrequest from Johannes Wikman:

  • CRS.RemovePrefixFromFilename: When using the Reorganize/Rename-commands, this setting will remove any prefix from the filename (but keep it in object name). Tip: use as a workspace-setting
  • CRS.RemoveSuffixFromFilename: When using the Reorganize/Rename-commands, this setting will remove any suffix from the filename (but keep it in object name). Tip: use as a workspace-setting

[0.2.16] - 2018-06-21

[0.2.15] - 2018-06-13

  • Solved Github Issue and in the meanwhile, I have been refactoring and extending the "Rename FileName" functionality a bit, resulting in these tags (copy from ReadMe.md):

    • <Prefix> - just the prefix separately
    • <Suffix> - just the suffix separately
    • <ObjectType>
    • <ObjectTypeShort> - a short notation of the object type.
    • <ObjectTypeShortUpper> - Same as "ObjectTypeShort" but uppercased
    • <ObjectId>
    • <ObjectName> - weird chars are removed - includes prefix and suffix
    • <ObjectNameShort>
    • <BaseName> - weird chars are removed - does NOT include prefix nor suffix
    • <BaseNameShort> - does NOT include prefix nor suffix
    • <BaseId> - If you want this to work, you need to put the Id in comment after the base name
  • Solved Github Issue - renaming with prefix messed up the format of the fields

  • Solved Github Issue - ability to override the launch.json with a PublicWebBaseUrl

[0.2.13] - 2018-06-13

[0.2.12] - 2018-05-29

  • Better permission-xml snippet
  • Run Current Object for Extension-objects
  • Run Object in Cloud Sandbox

[0.2.11] - 2018-05-29

"Reorganize" will move a test-codeunit to the test-folder (github)

[0.2.10] - 2018-05-27

  • Minor changes to some existing snippets
  • Two snippet-contributions from Dmitry Katson (More info here): ttablesetup & tpagesetup - create setup-table with page

[0.2.9] - 2018-05-23

Configurations:

  • CRS.AlSubFolderName: Added "Src" and "Source" folder (which Microsoft uses internally). Remember: 'None' prevents the 'Reorganize' to do anything (if you want to apply your own folder structure)
  • CRS.DisableDefaultAlSnippets is not by default "true" anymore as I decided that disabling the default AL snippets should be a conscious decision.

[0.2.8] - 2018-05-16

Added following snippets:

  • tmynotifications - apply "discover event subscriber" for adding a "My Notification"
  • tassistedsetup - apply "discover event subscriber" for adding an assisted setup
  • tserviceconnection - apply "discover event subscriber" for adding a service connection
  • tvar - a somewhat easier way to create a variable

[0.2.7] - 2018-05-08

Also applies prefix to fields on table extensions (not tables)

[0.2.6] - 2018-05-04

Now it will also apply the prefix to actions (requirement for Business Central)

Behind the scenes:

  • Major redesign of the code
  • Implemented testability
  • Minor bugfixes

[0.2.4] - 2018-04-29

New command - Run CAL Test Tool in Web Client

[0.2.3] - 2018-04-25

Small bugfix - Github

[0.2.2] - 2018-04-25

Improved some snippets.

Added 2 new settings to control "prefix" and "suffix" of object names and filenames:

  • CRS.ObjectNamePrefix: When using the Reorganize/Rename-commands, this setting will make sure the object name (and filename) will have a Prefix.
  • CRS.ObjectNameSuffix: When using the Reorganize/Rename-commands, this setting will make sure the object name (and filename) will have a Suffix.

Added an ability to rename/reorganize when you save a document. This way, your commit to SCM will always to be correct:

  • CRS.OnSaveAlFileAction: Automatically will Rename/Reorganize the file you are editing. Takes into account the prefix/suffix as well.

[0.2.1] - 2018-04-16

Improved snippets

[0.2.0] - 2018-04-13

New command:

  • CRS: Run Current Object (Web Client) (CTRL+SHIFT+r) New settings:
  • DisableDefaultAlSnippets
  • DisableWaldoSnippets Snippets:
  • improved snippets from the al language extension

[0.1.12] - 2018-04-11

Bugfix - Reorganizing/Renaming Files - Issue On Github

[0.1.11] - 2018-04-05

Changelog activated like it should!

[0.1.10] - 2018-04-05

  • Reorganize File(s) - Variable subfolder
  • Support multi-root workspaces

[0.1.8]

New snippets to create a permission- & Webservice-metadata file.

[0.1.6]

Quite an important bugfix: ObjectId was swapped into ObjectName (typo :-/)

[0.1.4]

Added ability to use "ObjectNameShort" or "ObjectName" for renaming files. Added support for "&" in the name.

[0.1.2]

Following Changes were added:

  • Alligned the file naming to the ones that are documented by microsoft here.
  • Added tableextension and pageextension as snippets to help users include an BaseObjectId to be able to do the rename
  • reopen file when renaming/reorganizing current file.

[0.1.1]

Added ability to run Table in web client

[0.0.8]

Minor but important (;-)) bugfix.

[0.0.7]

Updated Readme.md

[0.0.6]

The following commands were added:

  • Rename Current File
  • Rename All Files
  • Reorganize Current File
  • Reorganize All Files Rename: reads the file, and renames it to a certain filename, depending on the object. Reorganize: move the file to a folder, corresponding to the object type.

[0.0.5]

Added Snippet - Page Wizard

[0.0.4]

  • Added Snippet - Method Codeunit (No UI)
  • Bugfixing - for build operation

[0.0.3]

Bugfixing - for September Release.

[0.0.2]

Bugfixing - getting everything decently published on the Marketplace

[0.0.1]

Initial release