Commit 7587b9f
authored
feat(vscode): AffineScript port of extension (TS→AS campaign step 1 / #240) (#19)
Adds editors/vscode/src/extension.affine — AffineScript port of
extension.ts, parallel artifact alongside the TS source.
Step 1 of the estate-wide TS→AffineScript migration umbrella
(hyperpolymath/standards#239); seed-port issue #240.
Build pipeline integration (compile extension.affine → out/extension.cjs,
swap package.json `main`, drop tsconfig/typescript devDeps) lands in a
follow-up PR. extension.ts remains live until that swap.
Binding coverage confirmed at this session: Vscode.affine (55 fns) +
VscodeLanguageClient.affine cover all surface the TS used
(getConfiguration, workspaceConfigGetString, newLanguageClient,
languageClientStart). Pattern mirrors affinescript dogfood at
affinescript/editors/vscode/src/extension.affine.
Behavioural notes documented inline:
- unused `path` import omitted
- process.env preserved by Node child_process default behaviour
(host shim handles it)
- synchronize.fileEvents collapsed in newLanguageClient ABI
- top-level held-client pattern replaced by activate-only start
(process-exit closes the server pipe)
Pre-PR ownership gate: owner=hyperpolymath, isFork=false, parent=null
(verified inline).1 parent ba74057 commit 7587b9f
1 file changed
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
0 commit comments