File tree Expand file tree Collapse file tree
Source/Workbench/Electron Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 * Useful for "Mountain + bare workbench" integration tests and for the
99 * smallest shippable surface where gRPC/Tauri IPC isn't desired.
1010 *
11- * Vite inlines `import.meta.env.LAND_ENABLE_WIND` at build time — the
11+ * Vite inlines `import.meta.env.LAND_ENABLE_WIND` at build time - the
1212 * inline comparison drops the entire import chain when the flag is
1313 * `"false"`, so tree-shaking removes the Wind bundle from production.
1414 */
@@ -61,7 +61,7 @@ if (import.meta.env["LAND_ENABLE_WIND"] === "false") {
6161 ) ;
6262
6363 // Wave 7: subscribe to Mountain's extension install/uninstall events
64- // so the sidebar refreshes live after a VSIX install (K2/K3) — no
64+ // so the sidebar refreshes live after a VSIX install (K2/K3) - no
6565 // workbench reload required. Fire-and-forget; the subscriber logs
6666 // its own performance.mark on start / error / skipped states.
6767 const { default : StartExtensionSubscriber } = await import (
Original file line number Diff line number Diff line change 33 * @description
44 * Subscribes to Mountain's `sky://extensions/installed` + `…/uninstalled`
55 * events and forwards each change to the VS Code workbench's extension
6- * registry so the sidebar refreshes live after a VSIX install/uninstall —
6+ * registry so the sidebar refreshes live after a VSIX install/uninstall -
77 * no workbench reload required.
88 *
99 * Design note: Wind exposes the merged typed stream as
1818 * when available. The hook isn't always present (browser / kernel
1919 * profiles omit it); when missing we just log and move on.
2020 *
21- * No-op when `LAND_ENABLE_WIND === "false"` — if the Wind runtime is
21+ * No-op when `LAND_ENABLE_WIND === "false"` - if the Wind runtime is
2222 * not loaded there's no IPC to subscribe to.
2323 */
2424
@@ -52,7 +52,7 @@ const TryRefreshWorkbench = (Change: ExtensionChangeBase): void => {
5252 try {
5353 void RefreshFn ( ) ;
5454 } catch {
55- // Best-effort only — the workbench will self-heal on next render.
55+ // Best-effort only - the workbench will self-heal on next render.
5656 }
5757 }
5858} ;
@@ -86,7 +86,7 @@ export default async (): Promise<void> => {
8686 ) ;
8787 } ) ;
8888
89- // Fire-and-forget — the stream runs until the webview unloads.
89+ // Fire-and-forget - the stream runs until the webview unloads.
9090 Effect . runFork ( Subscription as never ) ;
9191
9292 performance . mark ( "land:extensions:subscriber:started" ) ;
Original file line number Diff line number Diff line change @@ -793,7 +793,7 @@ export default defineConfig({
793793 // Unrecognized token '<'
794794 // for every such file on every page load.
795795 // Use the top-of-file static `readdir` / `stat` / `readFile` /
796- // `writeFile` bindings — dynamic `await import("node:fs/promises")`
796+ // `writeFile` bindings - dynamic `await import("node:fs/promises")`
797797 // here crashes with "Vite module runner has been closed" because
798798 // this runs inside astro:build:done, after Vite tears down its
799799 // ModuleRunner. Static imports survive the teardown; dynamic ones
@@ -822,7 +822,7 @@ export default defineConfig({
822822 await stat ( `${ Full } .map` ) ;
823823 continue ;
824824 } catch {
825- // No sibling map — strip the trailing comment.
825+ // No sibling map - strip the trailing comment.
826826 }
827827 try {
828828 const Content = await readFile (
@@ -908,7 +908,7 @@ export default defineConfig({
908908 // zero-on-disk state.
909909 if ( process . env [ "LAND_SKIP_BUILTIN_EXTENSIONS" ] === "true" ) {
910910 console . log (
911- "[CopyVSCode] Step 13: LAND_SKIP_BUILTIN_EXTENSIONS=true — skipping built-in extension copy" ,
911+ "[CopyVSCode] Step 13: LAND_SKIP_BUILTIN_EXTENSIONS=true - skipping built-in extension copy" ,
912912 ) ;
913913 } else {
914914 const ExtensionsTarget = join (
You can’t perform that action at this time.
0 commit comments