Issue #131  (Tips for Your Editor Tabs)10/23/24

Advertisement
The Morning Paper for Hacker News Readers

Want a byte-sized version of Hacker News that takes just a few minutes to read? 

Try TLDR's free daily newsletter.

TLDR covers the most interesting tech, startup, and programming stories in under 5 minutes.

TLDR Newsletter

No sports. No politics. No weather.

TLDR is read by 1,250,000 software engineers, founders, and tech workers.

Subscribe for Free →


Here are a couple of things you may not know about using tabs in your editor in VS Code.

First of all, not too long ago VS Code added the ability to drag a tab out of VS Code and into its own separate window.
 
Dragging a Tab to its own window in VS Code

When you separate a tab like this, it doesn't behave the same way as opening a new window. For example, there's no separate menubar at the top or ability to view the File Explorer or any of the other views in the Activity Bar. It's literally just a floating tab with a few window features. Of course, depending on if you're using VS Code on Windows or Mac, you'll see a difference in Window behavior.

If you want to bring the tab back to your regular editor window, you can simply drag from the tab itself (not the window area) and drop it back into the original window.

Another interesting feature you may want to enable is the ability to use your mouse's scroll wheel to switch tabs. You can do this at any time by holding the SHIFT key while scrolling over the tabs area. Or you can enable this to occur without the SHIFT key by changing the setting Scroll To Switch Tabs.
 
Scroll to switch tabs setting in VS Code

With that enabled, anytime you scroll over your tabs will cause the currently focused tab to switch.

And one final quick tip on tabs: By default, as you open new tabs, your tabs will continue to open on a single line in your UI. This could get unwieldy so you have the option to enable the Wrap Tabs feature in your settings. This allows tabs to wrap to a new line when your window size limits the space.
 
Wrapping Tabs in VS Code
 
With this, a wider window might allow 7 or more tabs to appear on a single line, but if your window is not maximized tabs will wrap to multiple lines, as shown in the screenshot above.

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

VS Code Tools

Copilot Arena — A VS Code extension that enables you to code with and evaluate the latest LLMs and Code Completion models.

Syntax Error Summary — A VS Code extension that displays a summary of syntax errors in the current document and allows copying the error summary to clipboard.

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 

Iconify IntelliSense — A VS Code extension that adds inline icons preview and autocompletion for icon sets.

VS Code Theme of the Week

VSCode Themes Community — As I did a couple of issues ago, this isn't a theme but a platform that allows you to "Generate, edit, download, share, and discover new themes for Visual Studio Code."

VSCode Themes Community

The "Discover" section is pretty cool because it allows you to click to enable the selected theme in an overlay code box, so you can immediately see what it looks like. The theme creator is also very nice with lots of settings to play with interactively while seeing a live preview right on the page.

VS Code Articles

10 Free GitHub Copilot Alternatives for VS Code in 2024 — A brief post that includes a chart for comparing features.

Microsoft is Introducing Hidden APIs to VS Code Only Enabled For Copilot Extension — Interesting discovery made by a Reddit user and you may also want to check out the Hacker News discussion for some potentially more objective takes on the matter.

AI Mastery — A free newsletter for simple, practical career tips for those working in tech and looking to get an edge with AI.   Sponsor 

From VSCode/VSCodium to Neovim"In the long term, I feel that a real FOSS editor with an open extension/plugin ecosystem, is the right choice."

Best of the Rest

Introducing Zed AI — Blog post introducing Zed AI, a hosted service providing convenient and performant support for AI-enabled coding in Zed, the text editor that recently went open source.

Briefer Notebooks — Beautiful notebooks that live on the cloud with support for SQL, Python, and an AI assistant.

JavaScript Web Projects: 20 Projects to Build Your Portfolio — 33 hours of course material on HTML, CSS, and modern JavaScript, to level up your skills and build a portfolio.  Sponsor 

diagram.nvim — A Neovim plugin for rendering diagrams, powered by image.nvim.

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.