VisualStudioCode 1.6.1 released, conveying our passion for brackets
Hello.
I'm Mandai, in charge of Wild on the development team.
His Visual Studio Code (VSCode) 1.6.1 has been released.
His VSCode has recently become very popular due to its ease of viewing brackets, and this time too, it has added a lot of new features.
Added new command to split editor without opening new editor group
There is a command to duplicate the currently open editor into a new group with
Ctrl + \ This is a very convenient feature for checking code at a slightly distant location while working, but if multiple groups are already open, the editor size for each group will change, which can be a bit inconvenient. That's what I thought.
This command solves this problem.
You can now split the screen on a single editor using the shortcut key
Ctrl + k → Ctrl + \ On paper, the shortcuts seem a bit complicated, but once you try them out, they're not that complicated.
In the command palette, it is registered with the function name "Split Editor Orthogonal", so the quickest way is to open the command palette with Ctrl + Shift + p
When you learn a new shortcut, you tend to forget the other shortcut keys.
Added ability to split editors into existing editor groups
Another new feature has been added regarding editor splitting, so let's take a look at it as well.
The new feature mentioned earlier was the ability to split editors into the same tab, but this is the ability to split editors into existing editor groups.
As a result, the issue I mentioned earlier as being inconvenient has been resolved.
However, by default, shortcut keys are not set, and the function is provided by inputting simple English from the command palette.
You can search for "Split into [tab group position]", but to be honest, I think it would be faster to move it with the mouse when you get to this point, what do you think?
It's a good feature to keep in mind in case you can't use your mouse for some reason.
Editor group lock function
This is not complete at this point, and is undergoing various trial and error, but once it is ready to be used as a function, an automatic lock function for editor groups has been added.
By default, only terminals are automatically locked.
New editors will no longer be added to locked editor groups.
if you open a file name in Terminal Ctrl
In this case, the file will be opened in a different editor group. It's a simple but useful feature.
Changes to file name display
It seems that the visibility of file names displayed in the tabs at the top of the editor has been improved.
Deleted files are now crossed out in red and marked with a D.
Read-only files now have a lock icon.
I think it was already possible to see if something has been deleted, but I think it's now easier to understand.
The VSCode team seems to be serious about color-coding brackets.
There is an extension called Bracket Pair Colorizer.
Together with the sequel called Bracket Pair Colorizer 2 (?), it is one of the top 10 most popular VSCode extensions with over 9 million downloads, and it is a super convenient extension that I also love.
One problem with this extension is that as the file size increases, the process of traversing bracket pairs becomes longer.
In other words, it's late.
The team at VSCode has reimplemented this feature .
Regarding internal processing, the algorithm used and the number of calculations are well written, and it is a very educational article.However, using the same algorithm, a function has been added to guide pairs of brackets in the same level of indentation. I did.
There have been cases before where extensions were integrated into the main site, but I'm glad that the long-standing problem has been resolved.
As long as you can specify the color of the bracket, I think it's safe to say that most of the functionality of the original has been incorporated.
When I hear stories like this, I think algorithms are important.
Added a feature that seems to reduce commit omissions
If the branch you are currently working on has commits waiting to be pushed, a button will now be displayed in the source control pane to prompt you to push.
Lately I don't often forget to push, but I think it's convenient to be able to push without simply moving the mouse to the bottom left.
You can now control loopback in the terminal
It's a little trick, but you can now use
Alt + z If it does not wrap, a scroll bar will be displayed.
If you don't need to see it, such as when a long log is flowing, you may want to avoid wrapping.
you can show/hide the minimap by pressing Alt + z in the editor
summary
We introduced interesting new features and improvements from the release notes of VSCode 1.6.1.
If you are using Bracket Pair Colorizer, you may want to uninstall the extension and enable "Bracket Pair Colorization".
I have to prepare a file that is large enough to understand the speed difference...
I also appreciate the fine adjustments made around the editor group.
I'm looking forward to big feature additions, but I'm also looking forward to small feature improvements as they often have an impact on daily work efficiency.
see also
Workspace Trust has undergone major adjustments. VisualStudioCode 1.5.8 released
lastly
I have opened the system development service site "SEKARAKU Lab" to which I belong.
Beyond is a one-stop service for everything from server design and construction to operation, so if you have any trouble with server-side development, please feel free to contact us.
SEKARAKU Lab: [https://sekarakulab.beyondjapan.com/](https://sekarakulab.beyondjapan.com/)
That's it.