当前位置:网站首页>Vscode 1.68 changes and concerns (sorting and importing statements / experimental new command center, etc.)
Vscode 1.68 changes and concerns (sorting and importing statements / experimental new command center, etc.)
2022-06-12 07:37:00 【Chenai】
Preface
vscode v1.68 Issued , Here are some comments that I personally compare focus The point of .
- Release changelog:May 2022 (version 1.68)
You can trace history here vscode Important changes :
《 vscode1.60 Native high-performance seamless migration scheme ( Equivalent Bracket-Pair-Colorizer)》
Text
Better organize import statements
Shortcut key :option + shift + o
You can also input Organize Imports command To find him :

Thanks to the typescript 4.7 Improvement , Sorting and importing become more in line with human expectations , To put it simply , Is the separation of inside and outside :
// An example of the result of the collation
// Inside
import * as aaa from './aaa';
import * as bbb from './bbb';
import * as ccc from './ccc';
// Outside
import * as child_process from 'child_process';
import * as fs from 'fs';
import * as path from 'path';
Make good use of this shortcut key , Can help develop more efficient , Remove useless imports, etc .
Experimental command center
A very efficient experimental function , Open... With the following configuration :
// settings.json
{
"window.experimental.commandCenter": true
}
effect

This is a very efficient change , because :
Make full use of a small line of space at the head of the window , More efficient operation .
Replace the original
cmd + shift + popen command center The location of , Now it will be displayed in the small input box of the header , Higher space utilization , Beauty is better .
problem

As it is still in the experimental stage , There are some deviations in habitual thinking , For example, the original window header displays the name of the file currently being browsed , Now... Will no longer be displayed ( It is impossible to speculate whether it will improve when it is officially launched ).
Before the official launch , We continue to pay attention to .
Automatic addition scm Create a new branch prefix
This change is only applicable to vscode Inside scm Visual operation git Of users have great benefits . Because for most enterprise development scenarios , To isolate the identification , Everyone's branch often has a fixed prefix , Such as name ( Or nickname ) abbreviation :
- for example :
nickname/feat/support-mfsu
At this time, you can configure :
// settings.json
{
"git.branchPrefix": "nickname/",
}
Automatically add a text prefix to create a new branch name :

vscode built-in scm Visualization is a simpler process than the command line 、 Efficient tools , collocation Git Graph Can cope with most daily git Operation scenario , Without using any command line , For severe vscode Users , Should embrace vsc Native support .
Other concerns
vscode.devWeb IDE Browser language recognition is supported by default , Without installing language plug-ins ( For example, when I open it, it is in Chinese ), Experience better .Better visualization merge Handle : Experimental function
Merge editorby git merge Provide better visual processing ( It can be done bygit.experimental.mergeEditorTurn on , Currently only effective in conflict scenarios ), It's all embracing vsc Endophytic scm The general trend of Visualization .
summary
There are few revolutionary changes in this update , For more features and details , Please be there. v1.68 CHANGELOG View in , I won't say more about it here .
above .
边栏推荐
- 2022r2 mobile pressure vessel filling test question simulation test platform operation
- 2022年危险化学品经营单位安全管理人员特种作业证考试题库及答案
- Voice assistant - future trends
- Continuous local training for better initialization of Federated models
- Voice assistant - overall architecture and design
- Chapter 3 - Fundamentals of cryptography
- linux下怎么停止mysql服务
- Set up a remote Jupiter notebook
- 2022起重机械指挥考试题模拟考试平台操作
- C language queue implementation
猜你喜欢

5 lines of code identify various verification codes
![‘CMRESHandler‘ object has no attribute ‘_timer‘,socket.gaierror: [Errno 8] nodename nor servname pro](/img/de/6756c1b8d9b792118bebb2d6c1e54c.png)
‘CMRESHandler‘ object has no attribute ‘_timer‘,socket.gaierror: [Errno 8] nodename nor servname pro

Arrangement of statistical learning knowledge points gradient descent, least square method, Newton method

VS 2019 MFC 通过ACE引擎连接并访问Access数据库类库封装

Chapter V - message authentication and digital signature

右击文件转圈卡住、刷新、白屏、闪退、桌面崩溃的通用解决方法

2022电工(初级)考试题库及模拟考试

Demonstrate "topic communication, action communication, service communication and parameter server" with a small turtle case

Non IID data and continuous learning processes in federated learning: a long road ahead

sql——课程实验考查
随机推荐
Chapter 2 - cyber threats and attacks
2022起重机械指挥考试题模拟考试平台操作
Voice assistant -- Qu -- query error correction and rewriting
Voice assistant - Qu - ner and intention slot model
Modelants II
Summary of machine learning + pattern recognition learning (V) -- Integrated Learning
R语言使用RStudio将可视化结果保存为pdf文件(export--Save as PDF)
Bi skills - beginning of the month
Detailed explanation of coordinate tracking of TF2 operation in ROS (example + code)
2022年危险化学品经营单位安全管理人员特种作业证考试题库及答案
晶闸管,它是很重要的,交流控制器件
[college entrance examination] prospective college students look at it, choose the direction and future, and grasp it by themselves
Chapter 8 - firewall, Chapter 9 - Intrusion Detection
R语言e1071包的naiveBayes函数构建朴素贝叶斯模型、predict函数使用朴素贝叶斯模型对测试数据进行预测推理、table函数构建混淆矩阵
Acwing - 4269 school anniversary
Machine learning from entry to re entry: re understanding of SVM
In depth learning - overview of image classification related models
What is a good recommendation system?
Exploring shared representations for personalized federated learning paper notes + code interpretation
The function of C language string Terminator