This is a basic instruction on how to search for any texts that resembles IP addresses in all files within a folder using Visual Studio Code. Although it's not going to be a perfect solution, we're going to use Regex to do the search. And we're going to want to get all invalid IPs as well, so it's not 100% precise. Here, we want to error on the side of getting a bit too much rather than too … [Read more...]
How to Open VSCodium from command line macOS
This is way easier than Visual Studio Code. If you installed VSCodium using Homebrew, it will work right away. The only difference is the name of it. It's actually easy to remember. For both VSCode and VSCodium, the command line is the name without the "VS." So instead of code in Visual Studio Code, it's codium for VSCodium. So in Terminal, you can type in the following: And … [Read more...]
VSCodium, a Free Version of Visual Studio Code
Another code editor, very similar to Visual Studio Code. In fact, it's the same build from Microsoft's vscode repository without the Telemetry. For all intents and purposes, VSCodium looks almost identical to VS Code as you can see from the screenshot below: So what's the difference between the two? In short, VSCodium has much less Telemetry report sent to Microsoft. It is the "binary … [Read more...]
How to Enable Font Ligatures in Visual Studio Code
Ligatures are special characters in a font that combine two or more characters into one. For example, if you use a ligatured font, whenever you type != it will become ≠. Aside from the arguments whether using a ligatured font is a good or bad thing in your code, here's what you need to do if you want to enable it in Visual Studio Code. For this example, we'll use Cascadia Code (NOT … [Read more...]
How to Add Comma to Each Line Using Visual Studio Code or Sublime Text
Sometimes the simplest thing is really taken for granted and we take the long route to do the simplest thing. We received a CSV with thousands of ID numbers that will be used to update a database table. The data would look like the following: The goal is just to add a comma at the end of each line so it can be used to update data in a database table. In the past, we would probably … [Read more...]