This commit is contained in:
Benjamin Pasero 2024-09-09 14:50:19 +02:00 коммит произвёл GitHub
Родитель 23d9eed653
Коммит d3639a7419
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 4 добавлений и 0 удалений

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

@ -413,6 +413,10 @@ There has been more progress on the [GitHub Pull Requests](https://marketplace.v
## Extension authoring
### Impact of EcmaScript Module (ESM) Loading of VS Code
We are in the process of changing how our code is loaded in VS Code core, away from AMD/CommonJS to ESM. Extensions will continue to load as CommonJS, but this change comes with change to the `require` method: Specifically, `require.main` will be `undefined` beginning with our `1.94` release. If you have a usecase for accessing a file from the installation, please consider `vscode.env.appRoot` instead or [reach out to us](https://github.com/microsoft/vscode/issues).
### Terminal shell integration API
The terminal shell integration API is now available to use. This powerful API enables an extension to listen to commands run in terminals, read their raw output, exit code, and command lines.