<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>VS Code Tips &amp; Tricks on Business Central Deep Dive</title><link>https://wbrakowski.github.io/category/vs-code-tips--tricks/</link><description>Recent content in VS Code Tips &amp; Tricks on Business Central Deep Dive</description><generator>Hugo</generator><language>en</language><lastBuildDate>Fri, 09 Jun 2023 13:09:02 +0200</lastBuildDate><atom:link href="https://wbrakowski.github.io/category/vs-code-tips--tricks/index.xml" rel="self" type="application/rss+xml"/><item><title>Show Microsoft Translations When Hovering Over Field Names in VS Code</title><link>https://wbrakowski.github.io/2023/05/31/show-microsoft-translations-when-hovering-over-field-names-in-vs-code/</link><pubDate>Wed, 31 May 2023 12:10:21 +0200</pubDate><guid>https://wbrakowski.github.io/2023/05/31/show-microsoft-translations-when-hovering-over-field-names-in-vs-code/</guid><description>&lt;p&gt;This post is especially interesting for the people whose native language is not English. Do you know the feeling? You are looking at the source code of some .al object and you come across a field name that means absolutely nothing to you. It would be helpful for you if you could see the translation of this field name into your native language. Often this is already sufficient. In the old C/SIDE client we had the field “Caption” in the table designer to see the translation.&lt;/p&gt;</description></item><item><title>VS Code: Keep Your Code Clean by Running Extension Commands on Save</title><link>https://wbrakowski.github.io/2022/08/17/vs-code-keep-your-code-clean-by-running-extension-commands-on-save/</link><pubDate>Wed, 17 Aug 2022 12:48:17 +0200</pubDate><guid>https://wbrakowski.github.io/2022/08/17/vs-code-keep-your-code-clean-by-running-extension-commands-on-save/</guid><description>&lt;p&gt;There are many VS Code Extensions that make our lives as developers easier. If I think of the AL programming language, for example, they help us with the following things:&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;ul class="wp-block-list"&gt;&lt;li&gt; Replace missing brackets &lt;/li&gt;&lt;li&gt; Correct the casing of words &lt;/li&gt;&lt;li&gt; Sort fields in tables &lt;/li&gt;&lt;li&gt; …and the list could go on forever. &lt;/li&gt;&lt;/ul&gt;&#10;&#10;&#10;&#10;&lt;p&gt;That&amp;#8217;s why I thought a while back that it would actually be cool to automatically execute a few of these commands when I save a file in Visual Studio Code. The VS Code Extension &lt;a href="https://marketplace.visualstudio.com/items?itemName=andrzejzwierzchowski.al-code-outline"&gt;AZ AL Dev Tools&lt;/a&gt; for example has a setting &amp;#8220;alOutline.codeActionsOnSave&amp;#8221; which allows us to define a few commands. &lt;/p&gt;</description></item><item><title>My 8 Favorite Rather Unknown VS Code Extensions for AL</title><link>https://wbrakowski.github.io/2022/02/09/my-8-favorite-rather-unknown-vs-code-extensions-for-al/</link><pubDate>Wed, 09 Feb 2022 08:51:52 +0100</pubDate><guid>https://wbrakowski.github.io/2022/02/09/my-8-favorite-rather-unknown-vs-code-extensions-for-al/</guid><description>&lt;p&gt;More and more developers are venturing their first bold steps into AL terrain. Gone are the days when dinosaurs could move on safe C/AL ground and look forward to new developments in a cheerful and leisurely manner.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;With the move to the VS Code development environment and the AL programming language, we as a developer community have the opportunity to adapt VS Code to our needs. Innovations in the AL area are happening faster and faster, new extensions are sprouting from the ground and it&amp;#8217;s hard to keep an overview of them. &lt;/p&gt;</description></item><item><title>VS Code Extension Git Prefix – Prefill Your Commit Message with Branch Name</title><link>https://wbrakowski.github.io/2021/09/08/vs-code-extension-git-prefix-prefill-your-commit-message-with-branch-name/</link><pubDate>Wed, 08 Sep 2021 09:54:25 +0200</pubDate><guid>https://wbrakowski.github.io/2021/09/08/vs-code-extension-git-prefix-prefill-your-commit-message-with-branch-name/</guid><description>&lt;p&gt;This will be one of the very short posts again. I just found this awesome little extension for VS Code called &lt;a href="https://marketplace.visualstudio.com/items?itemName=srmeyers.git-prefix"&gt;Git Prefix&lt;/a&gt; by Samuel Meyers that let&amp;#8217;s you prefill your git commit messages with your branch name. Awesome!&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;figure class="wp-block-image"&gt;&lt;img src="https://wbrakowski.github.io/wp-content/uploads/2021/09/git-prefix-button.gif" alt="" width="462" height="368" class="wp-image-1399" loading="lazy" /&gt;&lt;/figure&gt;&#10;&#10;&#10;&#10;&lt;p&gt;I hope you will find this as useful as me. 🙂&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;&lt;/p&gt;</description></item><item><title>Show Microsoft Translations in VS Code</title><link>https://wbrakowski.github.io/2021/05/18/show-microsoft-translations-in-vs-code/</link><pubDate>Tue, 18 May 2021 13:56:44 +0200</pubDate><guid>https://wbrakowski.github.io/2021/05/18/show-microsoft-translations-in-vs-code/</guid><description>&lt;p&gt;This post is especially interesting for the people whose native language is not English. Do you know the feeling? You are looking at the source code of some .al object and you come across a field name that means absolutely nothing to you. It would be helpful for you if you could see the translation of this field name into your native language. Often this is already sufficient. In the old C/SIDE client we had the field &amp;#8220;Caption&amp;#8221; in the table designer to see the translation.&lt;/p&gt;</description></item><item><title>VS Code November Release – Most Important New Changes for AL Developers</title><link>https://wbrakowski.github.io/2020/12/14/vs-code-november-release-features-most-important-new-features-for-al-developers/</link><pubDate>Mon, 14 Dec 2020 20:58:09 +0100</pubDate><guid>https://wbrakowski.github.io/2020/12/14/vs-code-november-release-features-most-important-new-features-for-al-developers/</guid><description>&lt;p&gt;Last week the new November release of Visual Studio Code was published. There are a lot of changes in this release. In this post here I want to show a few changes that caught my attention. This post is not meant to document all changes, but only the most interesting ones for me. You can find a complete overview following &lt;a href="https://code.visualstudio.com/updates/v1_52"&gt;this link&lt;/a&gt;. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;&lt;strong&gt;A little spoiler&lt;/strong&gt;: There is an awesome snippet deactivation feature in this release!&lt;/p&gt;</description></item><item><title>13 VS Code Settings to Save You Time in AL</title><link>https://wbrakowski.github.io/2020/12/07/13-vs-code-settings-to-save-you-time-in-al/</link><pubDate>Mon, 07 Dec 2020 09:15:55 +0100</pubDate><guid>https://wbrakowski.github.io/2020/12/07/13-vs-code-settings-to-save-you-time-in-al/</guid><description>&lt;p&gt;Slowly but surely, even the last dinosaur will venture out of the cosy safety of C/SIDE and C/AL to plunge death-defyingly onto the battlefield of the new programming language AL. Not everyone has the time to deal with all the VS Code Settings. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;It&amp;#8217;s enough if a dumb guy like me has nothing better to do and writes it down for the others. That&amp;#8217;s why I&amp;#8217;ve summarized some important settings here that can save you a lot of time. Easy to digest and with great screenshots (semi srs). Please note that these are my &lt;strong&gt;personal &lt;/strong&gt;suggestions. I find them useful, you do not have to agree with me.&lt;/p&gt;</description></item><item><title>9 Tips For Developing Reports in AL</title><link>https://wbrakowski.github.io/2020/11/30/9-tips-for-developing-reports-in-al/</link><pubDate>Mon, 30 Nov 2020 17:43:38 +0100</pubDate><guid>https://wbrakowski.github.io/2020/11/30/9-tips-for-developing-reports-in-al/</guid><description>&lt;p&gt;Damn it. I gave everything to write 10 tips together, but in the end there were only 9. Reports can drive you to despair in AL. While extensions have been available for tables and pages for a long time, we have to be patient with reports until the following screenshot of a report extension becomes reality.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Update 09.06.2023: Finally I can make the 10 tips full. My 10th tip is a special one. Learn in &lt;a href="https://wbrakowski.github.io/2023/06/09/how-to-copy-reports-in-vs-code-the-smart-way/"&gt;this blogpost&lt;/a&gt; how to copy reports in AL very quickly and easily.&lt;/p&gt;</description></item><item><title>VS Code October Release – New IntelliSense Features</title><link>https://wbrakowski.github.io/2020/11/06/vs-code-october-release-new-intellisense-features/</link><pubDate>Fri, 06 Nov 2020 12:13:11 +0100</pubDate><guid>https://wbrakowski.github.io/2020/11/06/vs-code-october-release-new-intellisense-features/</guid><description>&lt;p&gt;In October a new release for Visual Studio Code has been released. This release includes two features that are also nice for Business Central developers.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;h2 class="wp-block-heading"&gt;Resizable Suggestions&lt;/h2&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Until now it was not possible to change the window for IntelliSense Suggestions. The window always had a fixed size. So you could sometimes not read the description for the suggestions if they were long. In the following screenshot you can see what the suggestion window looked like so far. On the right side the description is &amp;#8220;cut off&amp;#8221;.&lt;/p&gt;</description></item><item><title>Snippet Suggestions in Visual Studio Code</title><link>https://wbrakowski.github.io/2020/10/29/snippet-suggestions-in-visual-studio-code/</link><pubDate>Thu, 29 Oct 2020 13:58:08 +0100</pubDate><guid>https://wbrakowski.github.io/2020/10/29/snippet-suggestions-in-visual-studio-code/</guid><description>&lt;p&gt;This is one of the shortest posts ever. Five minutes ago I was annoyed by Visual Studio Code&amp;#8217;s default behavior when it comes to IntelliSense in combination with snippets.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Picture tell more than words, so I will show you an example. I have an OnAfterValidateTrigger and want to see the suggestions inside the brackets. When I hit Ctrl + Space to activate IntelliSense, the first suggestions are all snippets that do not make sense in this situation.&lt;/p&gt;</description></item><item><title>AL Navigator – Visual Studio Code Extension</title><link>https://wbrakowski.github.io/2020/05/11/al-navigator-visual-studio-code-extension/</link><pubDate>Mon, 11 May 2020 18:02:41 +0200</pubDate><guid>https://wbrakowski.github.io/2020/05/11/al-navigator-visual-studio-code-extension/</guid><description>&lt;h2 class="wp-block-heading"&gt;Features&lt;/h2&gt;&#10;&#10;&#10;&#10;&lt;p&gt;My &lt;a href="https://marketplace.visualstudio.com/items?itemName=wbrakowski.al-navigator&amp;amp;ssr=false#overview"&gt;AL Navigator extension for Visual Studio Code&lt;/a&gt; enables you to automatically create variables in AL and navigate through .al files with awesome shortcuts. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;h3 class="wp-block-heading" id="user-content-create-variables"&gt;AL Navigator &amp;#8211; Create Variables&lt;/h3&gt;&#10;&#10;&#10;&#10;&lt;p&gt;AL Navigator provides a CodeAction for the AL compiler error 118 &amp;#8220;&lt;strong&gt;The name does not exist in the current context&lt;/strong&gt;&amp;#8220;. This CodeAction enables you to automatically create a local or global variable by using the names of standard objects as well as names of your local workspace files. The extension will automatically detect the object type and name and create a variable for it. If no object type and name can be found however, the variable will be created without a type. In other words, it is smart!&lt;/p&gt;</description></item><item><title>ID Assigning – Boost Your Productivity with AL/BC</title><link>https://wbrakowski.github.io/2020/02/24/id-assigning-boost-your-productivity-with-al-bc/</link><pubDate>Mon, 24 Feb 2020 07:30:55 +0100</pubDate><guid>https://wbrakowski.github.io/2020/02/24/id-assigning-boost-your-productivity-with-al-bc/</guid><description>&lt;p&gt;This post is part of the blog post series &amp;#8220;Boost Your Productivity with AL and Business Central&amp;#8221;. If you want to know more about what this series is about and why I created it, you can checkout &lt;a href="https://wbrakowski.github.io/?p=390"&gt;this post&lt;/a&gt;. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;h2 class="wp-block-heading"&gt;What This Post Is About&lt;/h2&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Today I deliberately keep the post short. It is about the automatic assignment of an ID for .al objects. Some of you may already know this trick. For others, who do not know it yet, it will make your work much easier.&lt;/p&gt;</description></item><item><title>Boost Your Productivity with AL/BC – Breadcrumbs</title><link>https://wbrakowski.github.io/2020/02/17/productivity-breadcrumbs/</link><pubDate>Mon, 17 Feb 2020 08:00:05 +0100</pubDate><guid>https://wbrakowski.github.io/2020/02/17/productivity-breadcrumbs/</guid><description>&lt;p&gt;This post is part of the blog post series &amp;#8220;Boost Your Productivity with AL and Business Central&amp;#8221;. If you want to know more about what this series is about and why I created it, you can checkout &lt;a href="https://wbrakowski.github.io/?p=390"&gt;this post&lt;/a&gt;. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Today we will deal with the breadcrumbs in Visual Studio Code.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;h2 class="wp-block-heading"&gt;What Are These Breadcrumbs?&lt;/h2&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Breadcrumbs in Visual Studio allow us to navigate to our symbols or files in a fast way. Pictures speak more than a thousand words, so let&amp;#8217;s take a look at an example. For this I created the table &amp;#8220;MyTable&amp;#8221;.&lt;/p&gt;</description></item><item><title>CRS Language Extension – Boost Your Productivity with AL/BC</title><link>https://wbrakowski.github.io/2020/02/10/boost-your-productivity-with-al-bc-crs-language-extension/</link><pubDate>Mon, 10 Feb 2020 08:00:30 +0100</pubDate><guid>https://wbrakowski.github.io/2020/02/10/boost-your-productivity-with-al-bc-crs-language-extension/</guid><description>&lt;p&gt; This is the third post of the blog post series &amp;#8220;Boost Your Productivity with AL and Business Central&amp;#8221;. If you want to know more about what this series is about and why I created it, you can checkout &lt;a href="https://wbrakowski.github.io/?p=390"&gt;this post&lt;/a&gt;. &lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;The CRS Language Extension offers a few features that can make your life a lot easier when developing in AL. In this post, I will talk about the features that I use the most:&lt;/p&gt;</description></item><item><title>Boost Your Productivity with AL/BC – Todo Tree and TODO Highlight</title><link>https://wbrakowski.github.io/2020/01/06/boost-your-productivity-with-al-bc-todo-tree-and-todo-highlight/</link><pubDate>Mon, 06 Jan 2020 08:42:53 +0100</pubDate><guid>https://wbrakowski.github.io/2020/01/06/boost-your-productivity-with-al-bc-todo-tree-and-todo-highlight/</guid><description>&lt;p&gt;This is the second post of the blog post series &amp;#8220;Boost Your Productivity with AL and Business Central&amp;#8221;. If you want to know more about what this series is about and why I created it, you can checkout &lt;a href="https://wbrakowski.github.io/?p=390"&gt;this post&lt;/a&gt;. Today&amp;#8217;s post will be a very short one. I will show you how you can use &lt;a href="https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree"&gt;Todo Tree by Gruntfuggly&lt;/a&gt; and &lt;a href="https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight"&gt;TODO Highlight by Wayou Liu&lt;/a&gt; to track the Todos in your VS Code Project.&lt;/p&gt;</description></item><item><title>Boost Your Productivity with AL/BC – AL Variable Helper</title><link>https://wbrakowski.github.io/2019/12/23/boost-your-productivity-with-al-bc-al-variable-helper/</link><pubDate>Mon, 23 Dec 2019 07:30:46 +0100</pubDate><guid>https://wbrakowski.github.io/2019/12/23/boost-your-productivity-with-al-bc-al-variable-helper/</guid><description>&lt;p&gt;This is the first post of the blog post series &amp;#8220;Boost Your Productivity with AL and Business Central&amp;#8221;. If you want to know more about what this series is about and why I created it, you can checkout &lt;a href="https://wbrakowski.github.io/?p=390"&gt;this post&lt;/a&gt;. Today&amp;#8217;s post will feature the &lt;a href="https://marketplace.visualstudio.com/items?itemName=rasmus.al-var-helper"&gt;AL Variable Helper by Rasmus Aaen&lt;/a&gt;. According to his own readme file, it provides the following features:&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;ul class="wp-block-list"&gt;&lt;li&gt;Easy variable assignment&lt;/li&gt;&lt;li&gt;Go to global/local variables &amp;#8211; like in the C/SIDE environment.&lt;/li&gt;&lt;li&gt;Sort Variables&lt;/li&gt;&lt;li&gt;Fix keyword casing&lt;/li&gt;&lt;/ul&gt;&#10;&#10;&#10;&#10;&lt;p&gt;Let&amp;#8217;s checkout what it does. &lt;/p&gt;</description></item><item><title>Boost Your Productivity with AL/BC</title><link>https://wbrakowski.github.io/2019/12/16/boost-your-productivity-with-al-and-business-central/</link><pubDate>Mon, 16 Dec 2019 07:30:56 +0100</pubDate><guid>https://wbrakowski.github.io/2019/12/16/boost-your-productivity-with-al-and-business-central/</guid><description>&lt;p&gt;When I started out programming with AL in Visual Studio Code, everything seemed to take really long. Over the years I have become quite familiar with C/SIDE and C/AL, but developing in AL was a whole new thing.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;p&gt;I did many things in a stupid and slow way, because I simply did not know a better way. This is how life works I guess. First you do it in a stupid way. Then you hopefully learn from your mistakes. Finally you will find the ways and tricks to perform your tasks in a reasonably smart way. &lt;/p&gt;</description></item><item><title>Lists in Business Central</title><link>https://wbrakowski.github.io/2019/12/02/lists-in-business-central/</link><pubDate>Mon, 02 Dec 2019 07:30:28 +0100</pubDate><guid>https://wbrakowski.github.io/2019/12/02/lists-in-business-central/</guid><description>&lt;p&gt;When checking out the NAV Techdays Videos (you can find the links &lt;a href="http://vjeko.com/nav-techdays-2019-goodies/"&gt;here&lt;/a&gt;), I found an interesting piece of code in the opening key note. I have to admit: I felt a bit like I am living behind the moon. It seems that there is the possibility to use lists in Business Central/AL. How could I not find out about this earlier?&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;figure class="wp-block-image"&gt;&lt;img src="https://wbrakowski.github.io/wp-content/uploads/2019/12/2019-12-01-08_48_29-Window.png" alt="" width="689" height="390" class="wp-image-373" loading="lazy" /&gt;&lt;/figure&gt;&#10;&#10;&#10;&#10;&lt;p&gt; That really surprised me but is an awesome step forward in my opinion. Yes, real lists, no arrays &amp;#8211; with methods like Contains, IndexOf, Add&amp;#8230; &lt;/p&gt;</description></item><item><title>Automatically Create Procedure Stub / AL Navigator</title><link>https://wbrakowski.github.io/2019/11/04/create-procedure-stub-for-al-file-with-vs-code-al-navigator/</link><pubDate>Mon, 04 Nov 2019 07:30:20 +0100</pubDate><guid>https://wbrakowski.github.io/2019/11/04/create-procedure-stub-for-al-file-with-vs-code-al-navigator/</guid><description>&lt;p&gt;Last week I added a new feature to my Visual Studio Code Extension AL Navigator that makes it possible to create a procedure stub in AL. If you have not read my post about that extension yet, you can checkout &lt;a href="https://wbrakowski.github.io/2019/10/28/jump-to-positions-in-al-code-with-al-navigator/"&gt;this link&lt;/a&gt;. Here is the link to the newest extension on the &lt;a href="https://marketplace.visualstudio.com/items?itemName=wbrakowski.al-navigator"&gt;VS Code Marketplace&lt;/a&gt;.&lt;/p&gt;&#10;&#10;&#10;&#10;&lt;h2 class="wp-block-heading"&gt;What Does It Do?&lt;/h2&gt;&#10;&#10;&#10;&#10;&lt;p&gt;So what does this new feature do? It implements a functionality that I was strongly missing &amp;#8211; detecting a procedure call and automatically creating the stub for it.&lt;/p&gt;</description></item><item><title>AL Navigator – My First VS Code Extension</title><link>https://wbrakowski.github.io/2019/10/28/jump-to-positions-in-al-code-with-al-navigator/</link><pubDate>Mon, 28 Oct 2019 07:30:32 +0100</pubDate><guid>https://wbrakowski.github.io/2019/10/28/jump-to-positions-in-al-code-with-al-navigator/</guid><description>&lt;p&gt;Sometimes work can be frustrating. I sometimes get frustrated when I find out that there seems to be no quick way of doing things. When you develop reports with Visual Studio Code and AL, you often want to add columns in the dataset for a data item. Sometimes you also want to add code in the triggers. I noticed that there is no shortcut to jump through the data items of an .al report file. My new extension AL Navigator changes that!&lt;/p&gt;</description></item></channel></rss>