Skip to content

Commit 2a13408

Browse files
committed
Updated Source Code Organization (markdown)
1 parent 8cd9048 commit 2a13408

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source-Code-Organization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ The `core` of VS Code is fully implemented in [TypeScript](https://github.com/mi
2222
- may use code from: `common`
2323
- `node`: Source code that requires [Node.JS](https://nodejs.org) APIs
2424
- may use code from: `common`
25-
- `electron-sandbox`: Source code that requires the `browser` APIs like access to the DOM and a small subset of APIs to communicate with the Electron main process (anything exposed from `src/vs/base/parts/sandbox/electron-sandbox/globals.ts`
26-
- may use code from: `common`, `browser`, `electron-sandbox`
25+
- `electron-browser`: Source code that requires the `browser` APIs like access to the DOM and a small subset of APIs to communicate with the Electron main process (anything exposed from `src/vs/base/parts/sandbox/electron-browser/globals.ts`
26+
- may use code from: `common`, `browser`, `electron-browser`
2727
- `electron-utility`: Source code that requires the [Electron utility-process](https://github.com/electron/electron/blob/main/lib/utility/api/module-list.ts) APIs
2828
- may use code from: `common`, `node`
2929
- `electron-main`: Source code that requires the [Electron main-process](https://github.com/atom/electron/tree/master/docs#modules-for-the-main-process) APIs
@@ -83,7 +83,7 @@ Add this call into a module-scope so that it is executed during startup. The wor
8383
The VS Code workbench (`vs/workbench`) is composed of many things to provide a rich development experience. Examples include full text search, integrated git and debug. At its core, the workbench does not have direct dependencies to all these contributions. Instead, we use an internal (as opposed to real extension API) mechanism to contribute these contributions to the workbench.
8484

8585
In a nutshell, folders are organised as:
86-
* `vs/workbench/{common|browser|electron-sandbox}`: workbench core that is as minimal as possible
86+
* `vs/workbench/{common|browser|electron-browser}`: workbench core that is as minimal as possible
8787
* `vs/workbench/api`: the provider of the `vscode.d.ts` API (both extension host and workbench implementations)
8888
* `vs/workbench/services`: workbench core services (should NOT include services that are only used in `vs/workbench/contrib`)
8989
* `vs/workbench/contrib`: workbench contributions (this is where most of your code should live, see below)

0 commit comments

Comments
 (0)