Issue #95  (End of Line (EOL) Sequences)02/14/24

Advertisement
Iteration X: The AI-native Issue Tracker

Iteration X is an AI-native, context-aware project management app that helps your team ship world-class products faster.

Iteration X

The ITX Copilot uses your team’s knowledge base, Docs, URLs and project history to help with all types of tasks: Capturing and documenting issues with full context, retrieving information from your Docs or generating new ones, conducting Google searches, running Python code... without leaving your task feed.

It also comes with a browser extension to capture issues visually in one click, and integrates with Linear, Jira, and soon GitHub and Slack, too.


In the lower right area of VS Code's status bar, you'll notice a setting that either says "LF" or "CRLF", depending on what operating system you're on (or what you've set the value to). If you hover over this, it says this is to "Select End of Line Sequence". This will add a particular type of invisible character to the end of lines in a file.
 
Setting EOL Sequence in VS Code

I don't have the space or the knowledge to explain fully what the two options mean and why they're important, but I'll link a few good sources below if you want to check those out.

In brief, to quote one of the sources:
 
"If one developer uses Windows and another uses Mac or Linux, and they each save and commit the same files, they may see line ending changes in their Git diffs—a conversion from CRLF to LF or vice versa."

The same option can be set as a global default by searching for the setting called files.eol. From there you can choose to auto-detect based on the operating system's default. Or you can select one of the two options represented in the setting as \n (same as LF) or \r\n (same as CRLF).
 
Creating a Profile from a Template in VS Code

As mentioned, if you want to delve into the details and history around the two types of end-of-line sequences, here are some sources to check out: In most cases, you won't have to worry too much about this setting, but if you're working on a large team with developers on different operating systems, it might be good to check out those resources should a problem like this arise.

Now on to this week's hand-picked links!
 

VS Code Tools

VizTracer VS Code — A VS Code extension for Python developers, for VizTracer, a low-overhead logging, debugging, and profiling tool that can trace and visualize your Python code execution.

vscli — A CLI/TUI that makes it easy to launch VS Code projects, with a focus on dev containers.

Iteration X: The AI-native Issue Tracker — Iteration X is an AI-native, context-aware project management app that helps your team ship world-class products faster. The ITX Copilot uses your team’s knowledge base, documents, URLs and project history to help with all types of tasks – without leaving your task feed.  Sponsor 

i18n Ally — An all-in-one VS Code extension for internationalization, with features like inline annotations, manage translations in one place, extract translations from code, and lots more.


VS Code Theme of the Week

Base16 Ocean Dark Extended — Not a new theme but it's a nice one that has a mild pastel appearance but without any really high contrast. Won't be for everyone, but might be worth a look.

Base16 Ocean Dark Extended Theme for VS Code

It's based on an old theme called Base16 that was available for all sorts of apps and editors, which you can find on GitHub here.

VS Code Articles & Videos

📺 Create Your First React Application using Visual Studio Code — This is more of a React setup video than it is a VS Code tutorial, but if you're new to React, it's a short introduction to initiating a basic app.

VS Code Drops Ubuntu 18.04 Support, Devs ‘Screwed’ — Many developers were caught off guard with this change, but the article also includes an update from the VS Code team on the matter.

The Morning Paper for Tech — Want a byte-sized version of Hacker News that takes just a few minutes to read? Try TLDR's free daily newsletter. It covers the most interesting tech, startup, and programming stories in just 5 minutes. No sports and no politics.   Sponsor 

A Year of C++ Improvements in Visual Studio, VS Code, and vcpkg — From Microsoft's C++ team blog, a bit of a year in review on improvements that have been made to the tools for C++ developers.
 

Best of the Rest

Android Studio for Platform — The official IDE for Android platform development, which includes multi-language support, a project setup wizard, and Java and C++ debugging support.

Maestro I — A wiki-style information page for what was apparently "the world's first integrated development environment for software." You know, in case you finally get that call to appear on Jeopardy!.

Suggestions Files — A simple, human-readable format for suggesting changes to plain text files.


Suggestions?

If you have any link suggestions, including a tool, article, or other resources related to VS Code or another IDE, send it via DM on X: @LouisLazaris or just hit reply on this email.

That's it for this issue.

Happy VS Coding!
Louis
VSCode.Email
@LouisLazaris
Copyright © VSCode.Email. All rights reserved.

Not affiliated with Microsoft, Visual Studio Code, or any of its trademarks.