Skip to content

Commit

Permalink
esm notes (#7569)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero authored Sep 9, 2024
1 parent 23d9eed commit d3639a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions release-notes/v1_93.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d3639a7

Please sign in to comment.