<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Damian Krawczyk – Notes</title><link>https://damiankrawczyk.com/en/blog/</link><description>Recent content in Notes on Damian Krawczyk</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>damian@damiankrawczyk.com (Damian Krawczyk)</managingEditor><webMaster>damian@damiankrawczyk.com (Damian Krawczyk)</webMaster><atom:link href="https://damiankrawczyk.com/en/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>10 essential Visual Studio Code extensions every IT Engineer should use</title><link>https://damiankrawczyk.com/en/blog/10-useful-visual-studio-code-extensions-for-every-it-engineer/</link><pubDate>Sat, 06 Jan 2024 00:00:00 +0000</pubDate><author>damian@damiankrawczyk.com (Damian Krawczyk)</author><guid>https://damiankrawczyk.com/en/blog/10-useful-visual-studio-code-extensions-for-every-it-engineer/</guid><description>
&lt;p>If you use Visual Studio Code for your work, check these extensions. I’m sure they will speed up your work.&lt;/p>
&lt;h2>Marp for VS Code&lt;span class="hx:absolute hx:-mt-20" id="marp-for-vs-code">&lt;/span>
&lt;a href="#marp-for-vs-code" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;p>Create simple slide decks as code using Markdown markup language.&lt;/p>
&lt;ol>
&lt;li>Install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=marp-team.marp-vscode"target="_blank" rel="noopener">Marp for VS Code&lt;/a> extension.&lt;/li>
&lt;li>Create a new file type, &lt;em>Marp Markdown&lt;/em>.&lt;/li>
&lt;li>Use &lt;a href="https://www.markdownguide.org"target="_blank" rel="noopener">Markdown syntax&lt;/a> to create slides.&lt;/li>
&lt;li>If you want to add a &lt;em>Table of Contents&lt;/em> based on Markdown headings to generated pdf file, go to extension&amp;rsquo;s settings. Look for setting named &lt;em>Markdown › Marp › Pdf: Outlines&lt;/em> and change its value from &lt;code>off&lt;/code> to &lt;code>headings&lt;/code>.&lt;/li>
&lt;/ol>
&lt;figure class="text-center">&lt;img src="https://damiankrawczyk.com/images/blog/10-essential-visual-studio-code-extensions-every-it-engineer-should-use/marp-for-vs-code-new-file.gif"
alt="Simple slide in Marp." width="80%">&lt;figcaption>
&lt;p>Simple slide in Marp. (extension&amp;rsquo;s author image)&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;blockquote>
&lt;p>Read more about the &lt;a href="https://marpit.marp.app/markdown"target="_blank" rel="noopener">Marpit Markdown syntax&lt;/a> to know how to suit slides to your needs.&lt;/p>
&lt;/blockquote>
&lt;h2>Insert Date String&lt;span class="hx:absolute hx:-mt-20" id="insert-date-string">&lt;/span>
&lt;a href="#insert-date-string" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;p>An easy way to insert the current date and time thanks to an extension created by Jakub Synowiec.&lt;/p>
&lt;ol>
&lt;li>Install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=jsynowiec.vscode-insertdatestring"target="_blank" rel="noopener">Insert Date String&lt;/a> extension.&lt;/li>
&lt;li>Insert date and time:
&lt;ul>
&lt;li>&lt;kbd>cmd⌘&lt;/kbd> &lt;kbd>Shift⇧&lt;/kbd> + &lt;kbd>I&lt;/kbd> (macOS)&lt;/li>
&lt;li>&lt;kbd>Ctrl&lt;/kbd> &lt;kbd>Shift&lt;/kbd> + &lt;kbd>I&lt;/kbd> (Windows/Linux)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>If you want to change the format of the date and time, go to extension&amp;rsquo;s settings. Look for setting named &lt;em>Insert Date String: Format&lt;/em> and change it&amp;rsquo;s value:
&lt;ul>
&lt;li>default value
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
&lt;div>&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">YYYY-MM-DD hh:mm:ss&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/div>&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
>
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;/button>
&lt;/div>
&lt;/div>
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
&lt;div>&lt;pre>&lt;code>2021-12-30 09:07:11&lt;/code>&lt;/pre>&lt;/div>&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
>
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;/button>
&lt;/div>
&lt;/div>
&lt;/li>
&lt;li>UTC Time offset value included
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
&lt;div>&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-text" data-lang="text">&lt;span class="line">&lt;span class="cl">YYYY-MM-DDThh:mm:ssZZZZ&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/div>&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
>
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;/button>
&lt;/div>
&lt;/div>
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
&lt;div>&lt;pre>&lt;code>2021-12-30T09:07:52&amp;#43;0100&lt;/code>&lt;/pre>&lt;/div>&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
>
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;/button>
&lt;/div>
&lt;/div>
&lt;/li>
&lt;/ul>
&lt;/li>
&lt;/ol>
&lt;blockquote>
&lt;p>Read more about the &lt;em>Insert Date String&lt;/em> in &lt;a href="https://github.com/jsynowiec/vscode-insertdatestring#usage"target="_blank" rel="noopener">Usage&lt;/a> instruction.&lt;/p>
&lt;/blockquote>
&lt;h2>Git Graph&lt;span class="hx:absolute hx:-mt-20" id="git-graph">&lt;/span>
&lt;a href="#git-graph" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;p>If you use git, this is the extension that will help you to visualize your git log.&lt;/p>
&lt;ol>
&lt;li>Install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=mhutchie.git-graph"target="_blank" rel="noopener">Git Graph&lt;/a> extension.&lt;/li>
&lt;li>Go to &lt;em>Source Control&lt;/em> or use the key combination:
&lt;ul>
&lt;li>&lt;kbd>cmd⌘&lt;/kbd> &lt;kbd>Shift⇧&lt;/kbd> + &lt;kbd>G&lt;/kbd> (macOS)&lt;/li>
&lt;li>&lt;kbd>Ctrl&lt;/kbd> &lt;kbd>Shift&lt;/kbd> + &lt;kbd>G&lt;/kbd> (Windows/Linux)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Click on the &lt;em>View Git Graph (git log)&lt;/em> icon.&lt;/li>
&lt;/ol>
&lt;figure class="text-center">&lt;img src="https://damiankrawczyk.com/images/blog/10-essential-visual-studio-code-extensions-every-it-engineer-should-use/git-graph-demo.gif"
alt="Git Graph example" width="80%">&lt;figcaption>
&lt;p>Git Graph example (extension&amp;rsquo;s author image)&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;blockquote>
&lt;p>Read more about &lt;em>Git Graph&lt;/em> in the &lt;a href="https://github.com/mhutchie/vscode-git-graph/wiki/Extension-Settings"target="_blank" rel="noopener">Extension Settings&lt;/a> documentation.&lt;/p>
&lt;/blockquote>
&lt;h2>Code Spell Checker&lt;span class="hx:absolute hx:-mt-20" id="code-spell-checker">&lt;/span>
&lt;a href="#code-spell-checker" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;p>If you write a lot, fixing your typos and grammatical errors with the &lt;strong>Code Spell Checker&lt;/strong> is worth it.&lt;/p>
&lt;ol>
&lt;li>Install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker"target="_blank" rel="noopener">Code Spell Checker&lt;/a> extension.&lt;/li>
&lt;li>Position the cursor in the word which you want to change&lt;/li>
&lt;li>Click on the lightbulb icon 💡 which will appear in the left hand or use the shortcut:
&lt;ul>
&lt;li>&lt;kbd>cmd⌘&lt;/kbd> + &lt;kbd>.&lt;/kbd> (macOS)&lt;/li>
&lt;li>&lt;kbd>Ctrl&lt;/kbd> + &lt;kbd>.&lt;/kbd> (Windows/Linux)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Choose a suggested correction to apply.&lt;/li>
&lt;/ol>
&lt;figure class="text-center">&lt;img src="https://damiankrawczyk.com/images/blog/10-essential-visual-studio-code-extensions-every-it-engineer-should-use/code-spell-checker-example.gif"
alt="Code Spell Checker example" width="80%">&lt;figcaption>
&lt;p>Code Spell Checker example (extension&amp;rsquo;s author image)&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;blockquote>
&lt;p>If you speak other languages, check the list of available dictionaries, e.g., &lt;a href="https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker-polish"target="_blank" rel="noopener">Polish - Code Spell Checker&lt;/a>. Read more about &lt;em>Code Spell Checker&lt;/em> on the &lt;a href="https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker"target="_blank" rel="noopener">extension page&lt;/a>.&lt;/p>
&lt;/blockquote>
&lt;h2>Open&lt;span class="hx:absolute hx:-mt-20" id="open">&lt;/span>
&lt;a href="#open" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;p>Check out the &lt;em>Open&lt;/em> extension if you need to open, e.g., an Image with a default application or an Excel document directly from Visual Studio Code.&lt;/p>
&lt;ol>
&lt;li>Install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=sandcastle.vscode-open"target="_blank" rel="noopener">Open&lt;/a> extension.&lt;/li>
&lt;li>Go to file Explorer, or use the shortcut:
&lt;ul>
&lt;li>&lt;kbd>cmd⌘&lt;/kbd> &lt;kbd>Shift⇧&lt;/kbd> + &lt;kbd>E&lt;/kbd> (macOS)&lt;/li>
&lt;li>&lt;kbd>Ctrl&lt;/kbd> &lt;kbd>Shift&lt;/kbd> + &lt;kbd>E&lt;/kbd> (Windows/Linux)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Click RMB (right mouse button) on the file.&lt;/li>
&lt;li>Select the option &lt;em>Open with default application&lt;/em>.&lt;/li>
&lt;/ol>
&lt;h2>Duplicate action&lt;span class="hx:absolute hx:-mt-20" id="duplicate-action">&lt;/span>
&lt;a href="#duplicate-action" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;p>If you have a template file or template catalog with many files, thanks to this extension, you can easily duplicate them at once.&lt;/p>
&lt;ol>
&lt;li>Install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=mrmlnc.vscode-duplicate"target="_blank" rel="noopener">Duplicate action&lt;/a> extension.&lt;/li>
&lt;li>Go to file Explorer, or use the shortcut:
&lt;ul>
&lt;li>&lt;kbd>cmd⌘&lt;/kbd> &lt;kbd>Shift⇧&lt;/kbd> + &lt;kbd>E&lt;/kbd> (macOS)&lt;/li>
&lt;li>&lt;kbd>Ctrl&lt;/kbd> &lt;kbd>Shift&lt;/kbd> + &lt;kbd>E&lt;/kbd> (Windows/Linux)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Click RMB (right mouse button) on the file or directory.&lt;/li>
&lt;li>Select the option &lt;em>Duplicate&lt;/em>.&lt;/li>
&lt;li>Enter the new path for the duplicate.&lt;/li>
&lt;/ol>
&lt;h2>Markdown All in One&lt;span class="hx:absolute hx:-mt-20" id="markdown-all-in-one">&lt;/span>
&lt;a href="#markdown-all-in-one" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;p>If you write in Markdown files, your work will be much easier. Try it out.&lt;/p>
&lt;ol>
&lt;li>Install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one"target="_blank" rel="noopener">Markdown All in One&lt;/a> extension.&lt;/li>
&lt;li>Open any Markdown file.&lt;/li>
&lt;li>Try to create a list as in the example below.
&lt;figure class="text-center">&lt;img src="https://damiankrawczyk.com/images/blog/10-essential-visual-studio-code-extensions-every-it-engineer-should-use/markdown-all-in-one-fix-marker.gif"
alt="List editing" width="40%">&lt;figcaption>
&lt;p>List editing (extension&amp;rsquo;s author image)&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;/li>
&lt;li>Paste a link on the selected text.
&lt;figure class="text-center">&lt;img src="https://damiankrawczyk.com/images/blog/10-essential-visual-studio-code-extensions-every-it-engineer-should-use/markdown-all-in-one-paste-link.gif"
alt="Paste link on selected text" width="60%">&lt;figcaption>
&lt;p>Paste link on selected text (extension&amp;rsquo;s author image)&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;/li>
&lt;/ol>
&lt;blockquote>
&lt;p>Read more about &lt;em>Markdown All in One&lt;/em> on the &lt;a href="https://marketplace.visualstudio.com/items?itemName=yzhang.markdown-all-in-one"target="_blank" rel="noopener">extension page&lt;/a>.&lt;/p>
&lt;/blockquote>
&lt;h2>Todo Tree&lt;span class="hx:absolute hx:-mt-20" id="todo-tree">&lt;/span>
&lt;a href="#todo-tree" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;p>This extension may help you if, in your project, you work on many files at the same time and you want to make some corrections later on. You can easily find all your TODO items.&lt;/p>
&lt;ol>
&lt;li>Install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree"target="_blank" rel="noopener">Todo Tree&lt;/a> extension.&lt;/li>
&lt;li>Open file.&lt;/li>
&lt;li>Make a comment in your file, you can use the shortcut:
&lt;ul>
&lt;li>&lt;kbd>cmd⌘&lt;/kbd> + &lt;kbd>/&lt;/kbd> (macOS)&lt;/li>
&lt;li>&lt;kbd>Ctrl&lt;/kbd> + &lt;kbd>/&lt;/kbd> (Windows/Linux)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Add &lt;code>TODO:&lt;/code> in your comment, e.g., in the Markdown file:
&lt;code>&amp;lt;!-- TODO: Correct this section --&amp;gt;&lt;/code>&lt;/li>
&lt;li>Go to TODOs explorer in the sidebar.&lt;/li>
&lt;li>Go through all your &lt;strong>to-do&lt;/strong> items easily.&lt;/li>
&lt;/ol>
&lt;figure class="text-center">&lt;img src="https://damiankrawczyk.com/images/blog/10-essential-visual-studio-code-extensions-every-it-engineer-should-use/todo-tree-screenshot.png"
alt="Todo Tree example" width="80%">&lt;figcaption>
&lt;p>Todo Tree example (extension&amp;rsquo;s author image)&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;blockquote>
&lt;p>Read more about &lt;em>Todo Tree&lt;/em> on the &lt;a href="https://marketplace.visualstudio.com/items?itemName=Gruntfuggly.todo-tree"target="_blank" rel="noopener">extension page&lt;/a>.&lt;/p>
&lt;/blockquote>
&lt;h2>Bookmarks&lt;span class="hx:absolute hx:-mt-20" id="bookmarks">&lt;/span>
&lt;a href="#bookmarks" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;p>If you need to analyze huge files with many lines, this extension may help you bookmark lines you already verified.&lt;/p>
&lt;ol>
&lt;li>Install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks"target="_blank" rel="noopener">Bookmarks&lt;/a> extension.&lt;/li>
&lt;li>Open file.&lt;/li>
&lt;li>Add or remove bookmark using the shortcut:
&lt;ul>
&lt;li>&lt;kbd>alt⌥&lt;/kbd> &lt;kbd>cmd⌘&lt;/kbd> + &lt;kbd>K&lt;/kbd> (macOS)&lt;/li>
&lt;li>&lt;kbd>alt&lt;/kbd> &lt;kbd>Ctrl&lt;/kbd> + &lt;kbd>K&lt;/kbd> (Windows/Linux)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Go to Bookmarks explorer in the sidebar.&lt;/li>
&lt;li>Go through all your &lt;strong>bookmarks&lt;/strong> quickly.&lt;/li>
&lt;/ol>
&lt;figure class="text-center">&lt;img src="https://damiankrawczyk.com/images/blog/10-essential-visual-studio-code-extensions-every-it-engineer-should-use/bookmarks-printscreen-toggle.png"
alt="Bookmarks example" width="80%">&lt;figcaption>
&lt;p>Bookmarks example (extension&amp;rsquo;s author image)&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;blockquote>
&lt;p>Read more about &lt;em>Bookmarks&lt;/em> on the &lt;a href="https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks"target="_blank" rel="noopener">extension page&lt;/a>.&lt;/p>
&lt;/blockquote>
&lt;h2>Foam&lt;span class="hx:absolute hx:-mt-20" id="foam">&lt;/span>
&lt;a href="#foam" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;p>If you want to build your knowledge base based on markdown files, you should try the &lt;a href="https://obsidian.md/"target="_blank" rel="noopener">Obsidian&lt;/a>. Still, there is an extension that will help you achieve a similar experience in Visual Studio Code. It’s helpful if your knowledge base consists of different code files.&lt;/p>
&lt;ol>
&lt;li>Install the &lt;a href="https://marketplace.visualstudio.com/items?itemName=foam.foam-vscode"target="_blank" rel="noopener">Foam&lt;/a> extension.&lt;/li>
&lt;li>Create your knowledge base structure using the template suggested in the &lt;a href="https://foambubble.github.io/foam/#getting-started"target="_blank" rel="noopener">Getting started&lt;/a> instruction.&lt;/li>
&lt;li>Open Command Palette
&lt;ul>
&lt;li>&lt;kbd>cmd⌘&lt;/kbd>－&lt;kbd>Shift⇧&lt;/kbd> &lt;kbd>P&lt;/kbd> (macOS)&lt;/li>
&lt;li>&lt;kbd>Ctrl&lt;/kbd>－&lt;kbd>Shift&lt;/kbd> &lt;kbd>P&lt;/kbd> (Windows/Linux)&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>Type in &lt;code>Foam&lt;/code>&lt;/li>
&lt;li>Select, e.g., &lt;code>Foam: Open Today's Note&lt;/code> to create a note for the day.&lt;/li>
&lt;li>Suit with templates to your specific need.&lt;/li>
&lt;/ol>
&lt;figure class="text-center">&lt;img src="https://damiankrawczyk.com/images/blog/10-essential-visual-studio-code-extensions-every-it-engineer-should-use/foam-feature-daily-note.gif"
alt="Foam Daily Note example" width="80%">&lt;figcaption>
&lt;p>Foam Daily Note example (extension&amp;rsquo;s author image)&lt;/p>
&lt;/figcaption>
&lt;/figure>
&lt;blockquote>
&lt;p>Read more about &lt;em>Foam&lt;/em> on the &lt;a href="https://foambubble.github.io/foam"target="_blank" rel="noopener">project website&lt;/a>.&lt;/p>
&lt;/blockquote></description></item><item><title>How to quickly open folder in Visual Studio Code and other applications in macOS?</title><link>https://damiankrawczyk.com/en/blog/how-to-quickly-open-folder-in-visual-studio-code-and-other-applications-in-macos/</link><pubDate>Mon, 24 Jan 2022 00:00:00 +0000</pubDate><author>damian@damiankrawczyk.com (Damian Krawczyk)</author><guid>https://damiankrawczyk.com/en/blog/how-to-quickly-open-folder-in-visual-studio-code-and-other-applications-in-macos/</guid><description>
&lt;p>In this note, you will read how to use Automator in macOS to speed up some of your activities. It makes it easier for me to get around macOS every day.&lt;/p>
&lt;!-- > [!TIP]
> You can find an extended version of this note with a detailed description at [ITincor.com](https://itincor.com/en/blog/open-folder-in-vscode-and-in-other-applications-on-macos/) -->
&lt;h2>Open in Visual Studio Code&lt;span class="hx:absolute hx:-mt-20" id="open-in-visual-studio-code">&lt;/span>
&lt;a href="#open-in-visual-studio-code" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;ol>
&lt;li>Open &lt;em>Automator&lt;/em>.&lt;/li>
&lt;li>Go to &lt;em>File&lt;/em> &amp;gt; &lt;em>New&lt;/em>.&lt;/li>
&lt;li>Choose &lt;em>Quick Action&lt;/em>.&lt;/li>
&lt;li>Change &lt;em>Workflow Receives current&lt;/em> to &lt;em>files or folders&lt;/em> in &lt;em>Finder.app&lt;/em>.&lt;/li>
&lt;li>Add a &lt;em>Run Shell Script&lt;/em> action by drag and drop.&lt;/li>
&lt;li>Change &lt;em>Pass input to as arguments&lt;/em>.&lt;/li>
&lt;li>Copy and paste the following in the shell script box:
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
&lt;div>&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">&lt;span class="k">for&lt;/span> f in &lt;span class="s2">&amp;#34;&lt;/span>&lt;span class="nv">$@&lt;/span>&lt;span class="s2">&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">do&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> open -n -b &lt;span class="s2">&amp;#34;com.microsoft.VSCode&amp;#34;&lt;/span> --args &lt;span class="s2">&amp;#34;&lt;/span>&lt;span class="nv">$f&lt;/span>&lt;span class="s2">&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">done&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/div>&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
>
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;/button>
&lt;/div>
&lt;/div>
&lt;/li>
&lt;li>Go to &lt;em>File &amp;gt; Save&lt;/em> and save it as e.g. &lt;em>Open in Visual Studio Code&lt;/em>.&lt;/li>
&lt;li>Go to Finder.&lt;/li>
&lt;li>Click RMB (right mouse button) on folder or file.&lt;/li>
&lt;li>Choose from menu &lt;em>Quick Actions&lt;/em> &amp;gt; &lt;em>Open in Visual Studio Code&lt;/em>.&lt;/li>
&lt;/ol>
&lt;div class="hx:overflow-x-auto hx:mt-6 hx:flex hx:flex-col hx:rounded-lg hx:border hx:py-4 hx:px-4 hx:border-gray-200 hx:contrast-more:border-current hx:contrast-more:dark:border-current hx:border-green-200 hx:bg-green-100 hx:text-green-900 hx:dark:border-green-200/30 hx:dark:bg-green-900/30 hx:dark:text-green-200">
&lt;p class="hx:flex hx:items-center hx:font-medium">&lt;svg height=16px class="hx:inline-block hx:align-middle hx:mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true">&lt;path stroke-linecap="round" stroke-linejoin="round" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"/>&lt;/svg>Tip&lt;/p>
&lt;div class="hx:w-full hx:min-w-0 hx:leading-7">
&lt;div class="hx:mt-6 hx:leading-7 hx:first:mt-0">&lt;p>If you have Path Bar enabled in Finder (&lt;kbd>alt⌥&lt;/kbd>－&lt;kbd>cmd⌘&lt;/kbd> &lt;kbd>P&lt;/kbd>) and you want to use this &lt;em>Quick Action&lt;/em> also in &lt;em>Path Bar&lt;/em>, click RMB (right mouse button) on folder or file in &lt;em>Path Bar&lt;/em> and choose from context menu &lt;em>Services&lt;/em> &amp;gt; &lt;em>Open in Visual Studio Code&lt;/em>.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div>
&lt;blockquote>
&lt;p>Open in Visual Studio Code, based on &lt;a href="https://stackoverflow.com/a/64065309/15424371"target="_blank" rel="noopener">jnovack post @ stackoverflow.com&lt;/a>
&lt;a href="https://creativecommons.org/licenses/by-sa/4.0/"target="_blank" rel="noopener">CC BY-SA 4.0&lt;/a>&lt;/p>
&lt;/blockquote>
&lt;h2>Open in pyCharm&lt;span class="hx:absolute hx:-mt-20" id="open-in-pycharm">&lt;/span>
&lt;a href="#open-in-pycharm" class="subheading-anchor" aria-label="Permalink for this section">&lt;/a>&lt;/h2>&lt;ol>
&lt;li>Open &lt;em>Automator&lt;/em>.&lt;/li>
&lt;li>Go to &lt;em>File&lt;/em> &amp;gt; &lt;em>New&lt;/em>.&lt;/li>
&lt;li>Choose &lt;em>Quick Action&lt;/em>.&lt;/li>
&lt;li>Change &lt;em>Workflow Receives current&lt;/em> to &lt;em>files or folders&lt;/em> in &lt;em>Finder.app&lt;/em>.&lt;/li>
&lt;li>Add a &lt;em>Run Shell Script&lt;/em> action by drag and drop.&lt;/li>
&lt;li>Change &lt;em>Pass input&lt;/em> to &lt;em>as arguments&lt;/em>.&lt;/li>
&lt;li>Copy and paste the following code to action Run Shell Script:
&lt;div class="hextra-code-block hx:relative hx:mt-6 hx:first:mt-0 hx:group/code">
&lt;div>&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-bash" data-lang="bash">&lt;span class="line">&lt;span class="cl">&lt;span class="k">for&lt;/span> f in &lt;span class="s2">&amp;#34;&lt;/span>&lt;span class="nv">$@&lt;/span>&lt;span class="s2">&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">do&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl"> open -n -b &lt;span class="s2">&amp;#34;com.jetbrains.pycharm.ce&amp;#34;&lt;/span> --args &lt;span class="s2">&amp;#34;&lt;/span>&lt;span class="nv">$f&lt;/span>&lt;span class="s2">&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span class="line">&lt;span class="cl">&lt;span class="k">done&lt;/span>&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;/div>&lt;div class="hextra-code-copy-btn-container hx:opacity-0 hx:transition hx:group-hover/code:opacity-100 hx:flex hx:gap-1 hx:absolute hx:m-[11px] hx:right-0 hx:top-0">
&lt;button
class="hextra-code-copy-btn hx:group/copybtn hx:cursor-pointer hx:transition-all hx:active:opacity-50 hx:bg-primary-700/5 hx:border hx:border-black/5 hx:text-gray-600 hx:hover:text-gray-900 hx:rounded-md hx:p-1.5 hx:dark:bg-primary-300/10 hx:dark:border-white/10 hx:dark:text-gray-400 hx:dark:hover:text-gray-50"
title="Copy code"
aria-label="Copy code"
data-copied-label="Copied!"
>
&lt;div class="hextra-copy-icon hx:group-[.copied]/copybtn:hidden hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;div class="hextra-success-icon hx:hidden hx:group-[.copied]/copybtn:block hx:pointer-events-none hx:h-4 hx:w-4">&lt;/div>
&lt;/button>
&lt;/div>
&lt;/div>
&lt;/li>
&lt;li>Go to &lt;em>File&lt;/em> &amp;gt; &lt;em>Save&lt;/em> and save it as e.g. &lt;em>Open in PyCharm&lt;/em>.&lt;/li>
&lt;li>Go to &lt;em>Finder&lt;/em>.&lt;/li>
&lt;li>Click RMB (right mouse button) on folder or file.&lt;/li>
&lt;li>Choose from menu &lt;em>Quick Actions&lt;/em> &amp;gt; &lt;em>Open in PyCharm&lt;/em>.&lt;/li>
&lt;/ol>
&lt;div class="hx:overflow-x-auto hx:mt-6 hx:flex hx:flex-col hx:rounded-lg hx:border hx:py-4 hx:px-4 hx:border-gray-200 hx:contrast-more:border-current hx:contrast-more:dark:border-current hx:border-green-200 hx:bg-green-100 hx:text-green-900 hx:dark:border-green-200/30 hx:dark:bg-green-900/30 hx:dark:text-green-200">
&lt;p class="hx:flex hx:items-center hx:font-medium">&lt;svg height=16px class="hx:inline-block hx:align-middle hx:mr-2" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true">&lt;path stroke-linecap="round" stroke-linejoin="round" d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"/>&lt;/svg>Tip&lt;/p>
&lt;div class="hx:w-full hx:min-w-0 hx:leading-7">
&lt;div class="hx:mt-6 hx:leading-7 hx:first:mt-0">&lt;p>If you have &lt;em>Path Bar&lt;/em> enabled in Finder (&lt;kbd>alt⌥&lt;/kbd>－&lt;kbd>cmd⌘&lt;/kbd> &lt;kbd>P&lt;/kbd>) and you want to use this &lt;em>Quick Action&lt;/em> from &lt;em>Path Bar&lt;/em>, click RMB (right mouse button) on folder or file in &lt;em>Path Bar&lt;/em> and choose from menu &lt;em>Services&lt;/em> &amp;gt; &lt;em>Open in PyCharm&lt;/em>.&lt;/p>&lt;/div>
&lt;/div>
&lt;/div></description></item></channel></rss>