This commit is contained in:
Matt Bierner 2023-12-03 15:50:24 -08:00
Родитель 47db10bfb9
Коммит b93e1640da
2 изменённых файлов: 21 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0665035fb2d0dde95f1aeb53c89b45aea91aededd2c99efa5750ce210f875955
size 116995

Просмотреть файл

@ -197,6 +197,24 @@ The "find" widget is now supported in terminal in the **Test Results** view.
## Languages
### TypeScript 5.3
This release includes [TypeScript 5.3](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/). This major update adds support for import attributes, better type narrowing, and more. It also includes new language tooling features and bug fixes.
You can read more about TypeScript 5.3 [here](https://devblogs.microsoft.com/typescript/announcing-typescript-5-3/).
### `node_module` symbols excluded from workspace symbol
[Go to symbol in workspace](../docs/getstarted/tips-and-tricks.md#go-to-symbol-in-workspace) now excludes symbols from `node_modules` by default. This makes it easier to find symbols in your code without getting overwhelmed by symbols from installed packages.
You can revert to the previous behavior which included all symbols in the project by setting `"typescript.workspaceSymbols.excludeLibrarySymbols": false`
### Jump to definition for inlay hints
Types in JavaScript and TypeScript [inlay hints](../docs/editor/editingevolved.md#inlay-hints) are now interactive. Quickly jump to a type's definition by hovering over the type and clicking while holding ctrl on Windows and Linux or cmd on Mac:
![Alt text](images/1_85/ts-inlay.png)
### Prefer using `type` for auto imports
[Type-only imports](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-and-export) let you import a type while ensuring the import gets fully erased at runtime. If you prefer always defaulting to `type` imports, you can now set `"typescript.preferences.preferTypeOnlyAutoImports": true`. Now auto imports will default using to type-only import. This setting is off by default.
## Remote Development
The [Remote Development extensions](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack), allow you to use a [Dev Container](https://code.visualstudio.com/docs/devcontainers/containers), remote machine via SSH or [Remote Tunnels](https://code.visualstudio.com/docs/remote/tunnels), or the [Windows Subsystem for Linux](https://learn.microsoft.com/windows/wsl) (WSL) as a full-featured development environment.