VS Code 1.35(2019/05)の更新内容
Visual Studio Codeの2019年5月のアップデートです。
これらの変更がされました。
- Visual Studio Codeのアイコンを更新しました - ロゴを変えました。気に入ってもらえると嬉しいです。
- 定義されたものの検索が改善されました- Faster navigation through multiple definitions.
- Breadcrumbナビゲーションがデフォで表示されるようになりました - breadcrumbsを通じてファイルやシンボルを素早く見つけよう
- JavaScript/TypeScriptへのスマートセレクション - Expand text selection based on language semantics.
- Extract to type alias TypeScript refactoring - Extract part type into its own type alias.
- Integrated terminal supports true color - Correctly renders true color (24-bit) escape sequences.
- Better merge conflict display - See merge conflict changes within surrounding source code.
- Collapse All command for lists and explorers - One of many small but handy improvements.
- リモートデベロップメント(プレビュー)が安定版で利用可能になりました - 安定版でも拡張を入れると使うことができます!
オンラインで見たければcode.visualstudio.comのUpdatesから見れます
インサイダー版: 新機能を早く体感したいですか?早期インサイダービルドをダウンロードすると試すことができます! そして、Visual Studio Code ニュース、アップデートそして変更点を知りたいなら、Twitterで@codeをフォローしてね!
アイコンの更新
Over the past two months, we've been working on updating the VS Code product logo. We've taken feedback from the community (thank you to everyone who responded) and we are happy to release the new logos for Stable and Insiders. We are also using same logo on all platforms.エディター
定義の参照が改善されました
We have polished the Go to Definition action and its friends, Go to Declaration, Go to Type Definition, and Go to Implementation.- Earlier, we added the
editor.gotoLocation.multiple: goto
option to disable showing a Peek view when a symbol has multiple definitions. However, it would only show the first definition and ignore the rest. This is now much better, as multiple results are shown in the Status bar and pressing F12 jumps to each definition.
- Go to Definition now honors the
workbench.editor.revealIfOpen
setting. This means that an editor that is already open in another group can be reused (or not) when going to a symbol. Note that the old, hard-coded behavior was to reuse the current editor and the default forrevealIfOpen
is not to reuse. - The Peek view now supports search and filter, like the results tree, to allow you to quickly narrow down on a result.
- Last but not least, you can now cancel long running requests for definitions by pressing Escape.
Breadcrumbs displayed
Breadcrumbs for quick file and symbol navigation are now on by default. This can be toggled in the View menu View > Toggle Breadcrumbs command.言語
TypeScript 3.5
VS Code now ships with TypeScript 3.5.1. This update brings TypeScript language improvements, along with tooling enhancements for both JavaScript and TypeScript. It also fixes a number of important bugs, including fixes for performance issues that some users were seeing when working with styled-components.Smart selection for JavaScript and TypeScript
JavaScript and TypeScript now support smart selection. This feature uses semantic knowledge to intelligently expand selections for expressions, types, statements, classes, and imports:Extract to type alias refactoring for TypeScript
Use the new Extract to type alias refactoring for TypeScript to quickly extract part type into its own type alias:The Extract to type alias refactoring has a kind of
refactor.extract.type
. You can configure a single keybinding that extracts either constants or type aliases using:{
"key": "shift+ctrl+e",
"command": "editor.action.codeAction",
"args": {
"kind": "refactor.extract",
"preferred": true
}
}
See the Code Action documentation for more information on configuring keybindings for refactorings.JavaScript and TypeScriptで変換候補の並び替え
We've tuned our suggestion sorting for JavaScript and TypeScript to more heavily prioritize suggestions for local variables over suggestions for globals or auto-imports:As shown in the image below, if you create a function called
setTimOut
, VS Code will now suggest it first instead of assuming you mean setTimeout
.機能の増えたターミナル
True color support
The terminal now supports programs that use true color (24-bit) escape sequences, rendering the correct color instead of the previous approximation of it.Before:
After:
Improved surfacing of shell selector on Windows
For some time, there has been a command to select the default shell on Windows. This release makes the command more discoverable as a shortcut available in the terminal selector dropdown.ソースコントロール
Compare merge conflicts with complete context
A new settingmerge-conflict.diffViewPosition
allows you
to open the diff view in a new editor group when you compare merge
conflicts. In addition, the new view shows the complete diff view of the
changed file, which provides better context for the merge conflicts.Contributions to extensions
リモート開発 (プレビュー)
リモート開発 拡張がVS Codeの安定版で利用可能になりました!and allow you to use a container, remote machineやWindows Subsystem for Linux (WSL) as a full-featured development environment. The extensions run in the context of the remote workspace while you work with VS Code just as you would in a local workspace.You can learn about new extension features and bug fixes in the Remote Development release notes.
No comments :
Post a Comment