VisualStudioCode 1.6.1 Released, Showing Our Passion for Brackets

Hello.
This is Mandai, the wild one on the development team.
Visual Studio Code (VS Code) version 1.6.1 has been released.
VS Code has recently become very enthusiastic about improving the readability of brackets, and this update also includes some solid new features.

New command added to split editors without opening a new editor group

, Ctrl + \ , that duplicates the currently open editor into a new group.
This is a very useful feature for checking code in different locations, but I found it a bit inconvenient that the editor size changes for each group when multiple groups are already open.

This command solves that problem

Ctrl + kCtrl + \ You can now split the screen within a single editor using the shortcut keys
While the shortcut might seem a little complicated at first glance, it's not that difficult to use in practice.

In the command palette, it's registered under the function name "Split Editor Orthogonal," so Ctrl + Shift + p the quickest way to access it seems to be to open the command palette with

I'm afraid that if I learn a new shortcut, I'll forget the other shortcut keys..

 

Added ability to split editors into existing editor groups

Regarding editor splitting, another new feature has been added, so let's take a look at that as well.
The previous new feature allowed splitting editors into the same tab, but this one allows splitting editors into existing editor groups.

This solves the problem I mentioned earlier

However, by default, no shortcut keys are set, and the function is provided by entering simple English from the command palette

You can search for it using the format "Split into [tab group location]," but honestly, at this point, I think it's faster to just move it with the mouse. What do you all think?
It's a useful feature to remember in case you lose access to your mouse for some reason.

 

Editor group locking

This is not yet complete, and various trials and errors are still underway, but since it has reached a usable form, the automatic locking function for editor groups has been added.
By default, only the terminal is subject to automatic locking.

Locked editor groups will not be able to have new editors added to them.
a filename in the terminal Ctrl This applies, for example, when you open a file by

In this case, the file will be opened in a separate editor group. A simple but useful feature

 

Changes to file name display

The file names displayed in the tabs at the top of the editor appear to be more legible.
Deleted files are now shown in red with a strikethrough and the letter "D" next to them.
Read-only files now have a lock icon.

I think it's been possible to tell which items have been deleted for some time, but I think it's now even easier to understand

 

The VSCode team seems to be serious about bracket color coding

There's an extension called Bracket Pair Colorizer.
Along with its sequel (?), Bracket Pair Colorizer 2, it's one of the top 10 most popular VS Code extensions with over 9 million downloads. It's an incredibly useful extension, and I use it all the time.

This extension has one problem: as the file size increases, the process of scanning bracket pairs takes longer.
In other words, it's slow.

The VS Code team reimplemented this feature, making it 10,000 times faster, and this was announced in the last releaseThe.
article is very informative, as it thoroughly explains the internal processing, including the algorithms used and the number of calculations, but a new feature has been added that uses the same algorithm to provide guides for pairs of brackets at the same level of indentation.

While extensions have been integrated into the main project before, I'm glad that this long-standing issue has
finally been resolved. If they could add the ability to specify bracket colors, I think we could say that most of the main project's functionality has been incorporated.

When I hear stories like this, I think algorithms are important

 

A new feature has been added that may reduce missed commits

If the branch you are currently working on has commits waiting to be pushed, a button prompting you to push will now appear in the source control pane.
While I rarely forget to push these days, it's still convenient to be able to push without having to move the mouse all the way to the bottom left.

 

You can now control wrapping in the terminal

Here's a little trick: Alt + Z you can now use
If you choose not to wrap the text, a scroll bar will appear.

When a long log is displayed, you may want to disable wrapping if you do not need to read it

in the editor Alt + Z you can toggle the minimap's display on and off by pressing

 

summary

We've highlighted some interesting new features and improvements from the VSCode 1.6.1 release notes.
If you're using Bracket Pair Colorizer, you might want to try uninstalling the extension and enabling "Bracket Pair Colorization" again. However, you
'll need to prepare a file large enough to notice a significant speed difference…

The fine-tuning around the editor group is also much appreciated.
While I'm looking forward to major feature additions, I'm equally excited about small functional improvements, as they often have a significant impact on my daily work efficiency.

See also
Workspace Trust. Significant adjustments have been made. Visual Studio Code 1.5.8 released.

lastly

I have launched "SEKARAKU Lab," a service site for the system development company I belong to.
Beyond offers a one-stop service for everything from server design and construction to operation, so please feel free to contact us if you have any problems with server-side development.
SEKARAKU Lab:[https://sekarakulab.beyondjapan.com/](https://sekarakulab.beyondjapan.com/)

That's all

If you found this article helpful,please give it a "Like"!
0
Loading...
0 votes, average: 0.00 / 10
1,280
X Facebook Hatena Bookmark pocket

The person who wrote this article

About the author

Yoichi Bandai

My main job is developing web APIs for social games, but thankfully I'm also given the opportunity to work on various other tasks, including marketing.
My image rights within Beyond are treated as CC0.