Sync VS Code Settings between Computers with Different User Profile Paths

You’re using Visual Studio Code (VS Code) on multiple computers and you’ve enabled the settings sync feature to synchronize your VS Code settings between computers. Some VS Code settings reference files in your user profile. This creates a problem because the path to your user profile is different between computers. These user profile path differences cause some VS Code extensions to generate errors because they’re unable to find the files specified in your settings....

February 10, 2023 · 2 min · 334 words · Mike F. Robbins

Rendering Images in Markdown Preview of Hugo Site

Hugo is an open-source static site generator written in Go that’s optimized for speed, ease of use, and flexibility. Hugo is designed for creating blogs, documentation sites, and other types of websites quickly and efficiently. You’re using Hugo to host your blog or website. Because of Hugo’s file structure, your articles are located in /content/posts and your images are located in /static/images as shown in the following example: my-hugo-site/ ├── archetypes/ ├── content/ | └── posts/ ├── resources/ ├── static/ | └── images/ ├── themes/ Hugo renders the images in your articles correctly using !...

February 8, 2023 · 2 min · 339 words · Mike F. Robbins

Install Visual Studio Code (VS Code) on ArcoLinux

Visual Studio Code (VS Code) is a powerful, lightweight, and cross-platform source code editor. ArcoLinux is a rolling release Linux distribution based on Arch Linux. Prerequisites ArcoLinux was installed using the ArcoLinuxL ISO with the easy installation option. The examples shown in this article were performed using Xfce Terminal. ArcoLinux was fully updated using the sudo pacman -Syu command. Installation You could use the pacman or paru command. I chose to use the pamac command....

July 28, 2022 · 2 min · 218 words · Mike F. Robbins

Where are Untitled Tabs in VSCode Saved on a Windows System?

Ever wonder how VSCode (Visual Studio Code) maintains those untitled tabs between sessions? They’re stored as files underneath your user’s profile in appdata on Windows based systems as shown in the following example. Get-ChildItem -Path $env:APPDATA\Code\Backups\*\untitled -Recurse The previous command could be piped to Get-Content to view the contents of all of code in the open untitled tabs of VSCode. You could also use Select-String to find something specific. I can see that three of my open tabs contain ‘mikefrobbins’....

August 6, 2019 · 1 min · 134 words · Mike F. Robbins

Enable Tab Completion in VSCode for a PowerShell ISE like Experience

I’m using VSCode for all of my PowerShell development at this point. I reloaded my system from scratch on March 13th of this year. Yesterday was the first time I’ve opened the PowerShell ISE since then and it was only to determine if something worked differently between the two (I tweeted this out yesterday). One of the common problems I hear about and have experienced myself with VSCode (Visual Studio Code) is that tabbed expansion of command and parameter names doesn’t work like it does in the ISE (Integrated Scripting Environment)....

April 16, 2019 · 1 min · 164 words · Mike F. Robbins

Backup and Synchronize VSCode Settings with a GitHub Gist

Earlier this year, I watched a recording of the January 2019 Arizona PowerShell User Group meeting where Tim Warner presented a session on Easing your transition from the PowerShell ISE to Visual Studio Code. One of the things Tim demonstrated was a VSCode extension named Settings Sync where you can synchronize your VSCode settings to and from a GitHub Gist. While it seems to be designed to synchronize your settings between multiple computers, I recently found out that it can also be a lifesaver even if you only use it on one computer....

March 21, 2019 · 2 min · 407 words · Mike F. Robbins

What’s the Recommended Editor for PowerShell Scripts?

You’ve probably heard, as I have, that Visual Studio Code (VSCode) is the latest whiz-bang editor that you should be using for PowerShell (and I am for development of PowerShell code on my primary workstation). One word of caution though is to make sure to put things into perspective and not be so quick to shun people away from using the PowerShell Integrated Scripting Environment (ISE), depending on how they’re using it....

November 15, 2018 · 3 min · 517 words · Mike F. Robbins

How to install Visual Studio Code and configure it as a replacement for the PowerShell ISE

If you follow me on Twitter, then I’m sure you’re aware that I’ve been using nothing but VS Code (Visual Studio Code) as a replacement for the PowerShell ISE (Integrated Scripting Environment) for the past couple of weeks and while I had tried it in the past, I didn’t previously think it was ready for prime time. That’s now changed with all of the updates and work that has gone into it....

August 24, 2017 · 2 min · 255 words · Mike F. Robbins