From 3cba72ce3f9cf3add8052da300da3ce2b5dde81e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Vercaemst?= Date: Fri, 6 May 2022 09:04:48 +0200 Subject: [PATCH] Added Tips section with link to VS Code extension --- content/docs/BestPractices/begin-end/index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/docs/BestPractices/begin-end/index.md b/content/docs/BestPractices/begin-end/index.md index f92bf395..964e5c40 100644 --- a/content/docs/BestPractices/begin-end/index.md +++ b/content/docs/BestPractices/begin-end/index.md @@ -52,3 +52,10 @@ if X then begin end else (not X) ``` + +## Tips + +The [AZ AL Dev Tools/AL Code Outline](https://marketplace.visualstudio.com/items?itemName=andrzejzwierzchowski.al-code-outline) extension adds two new commands to Visual Studio Code to remove begin..end around single statements. + +- `Remove Begin..End around Single Statements from the Active Editor` : removes begin..end around single statement from the current editor +- `Remove Begin..End around Single Statements from the Active Project` : removes begin..end around single statement from the current project