mirror of
https://github.com/voideditor/void
synced 2026-05-23 01:18:25 +00:00
Update VOID_CODEBASE_GUIDE.md
This commit is contained in:
parent
79ad57b112
commit
bc5b07b26f
1 changed files with 0 additions and 1 deletions
|
|
@ -16,7 +16,6 @@ Here is some important terminology you should know if you're working inside VSCo
|
|||
- An **Editor** is the thing that you type your code in. If you have 10 tabs open, that's just one editor! Editors contain tabs (or "models").
|
||||
- A **Model** is an internal representation of a file's contents. It's shared between editors (for example, if you press `Cmd+\` to make a new editor, then the model of a file like `A.ts` is shared between them. Two editors, one model. That's how changes sync.).
|
||||
- Each model has a **URI**, which is just a path to a file, like `/Users/.../my_file.txt`. (A URI or "resource" is generally just a path).
|
||||
|
||||
- The **Workbench** is the wrapper that contains all the editors, the terminal, the file system tree, etc.
|
||||
- Usually you use the `ITextModel` type for models and the `ICodeEditor` type for editors. There aren't that many other types.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue