@jxsuite/studio 5.2.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/css-meta.json +28 -27
- package/dist/chunks/{cf-account-picker-h4dab9bq.js → cf-account-picker-3f08rry6.js} +21 -18
- package/dist/chunks/{cf-settings-adg74qsk.js → cf-settings-m79r7p5y.js} +4 -4
- package/dist/chunks/{components-5y78e05d.js → components-xm826zjw.js} +3 -3
- package/dist/chunks/{content-source-sgg1sv6n.js → content-source-jt7rbcbc.js} +22 -22
- package/dist/chunks/{convert-to-repeater-mf1cxgfn.js → convert-to-repeater-vg38bq99.js} +22 -22
- package/dist/chunks/{editor-3qhbg51x.js → editor-ddy019sn.js} +2 -2
- package/dist/chunks/entry-commands-64nb2a9a.js +42 -0
- package/dist/chunks/{extension-sections-c6zwzbre.js → extension-sections-r73an5s6.js} +31 -30
- package/dist/chunks/{file-ops-vrpq1jjk.js → file-ops-3xan8mnj.js} +21 -21
- package/dist/chunks/{files-msaf95y6.js → files-egsb0ry8.js} +30 -29
- package/dist/chunks/{format-host-f64fnesp.js → format-host-mym8qnd0.js} +3 -3
- package/dist/chunks/{fs-events-3y6y0nrm.js → fs-events-z2gg8qjt.js} +4 -4
- package/dist/chunks/{git-panel-bv5e22j0.js → git-panel-a05atk6q.js} +20 -20
- package/dist/chunks/{grid-view-1p6hsyjx.css → grid-view-3g1h2re8.css} +956 -139
- package/dist/chunks/{grid-view-paj67nr5.js → grid-view-qaqer9kr.js} +24 -24
- package/dist/chunks/{icons-yy10wk9r.js → icons-drxq9q10.js} +8 -2
- package/dist/chunks/{iframe-host-dh5np8vk.js → iframe-host-psetcv20.js} +11 -11
- package/dist/chunks/{index-n4j7qxyr.js → index-9yjae3hz.js} +4 -4
- package/dist/chunks/{javascript-4abzjcy9.css → javascript-bc9z461d.css} +688 -54
- package/dist/chunks/{javascript-xvrfrpkb.js → javascript-hr5sg57n.js} +2 -2
- package/dist/chunks/{jsonMode-vvmpmk34.css → jsonMode-qqd9nm1t.css} +1120 -303
- package/dist/chunks/{jsonMode-tyx2kj6p.js → jsonMode-zs88v0wr.js} +4 -4
- package/dist/chunks/{jx-validate-j0wxk72w.js → jx-validate-epp2z3s3.js} +2 -2
- package/dist/chunks/layers-panel-83a16ytx.js +41 -0
- package/dist/chunks/{layers-1vcfdbet.js → layers-s6mc01ry.js} +3 -3
- package/dist/chunks/{listbox-6v2ac08j.js → listbox-b7jxnhq1.js} +19 -3
- package/dist/chunks/{media-picker-p49nhqhs.js → media-picker-nhn6rv4w.js} +11 -11
- package/dist/chunks/{menu-qht48vnc.js → menu-8j4qxjrp.js} +4 -4
- package/dist/chunks/{monaco-binding-sw6en4dw.js → monaco-binding-e8d9wzyk.js} +3 -3
- package/dist/chunks/{monaco-buffer-pykwbm92.js → monaco-buffer-jaq1t9zj.js} +2 -2
- package/dist/chunks/{monaco-setup-8vbyqnhr.css → monaco-setup-ey9cjcm3.css} +954 -137
- package/dist/chunks/{monaco-setup-8r62fj6y.js → monaco-setup-gsjdysze.js} +7 -7
- package/dist/chunks/{platform-ts9cg1a4.js → platform-fnchmhy7.js} +5 -3
- package/dist/chunks/publish-panel-ak6hxfma.js +27 -0
- package/dist/chunks/quick-search-c63mkt3b.js +47 -0
- package/dist/chunks/{references-h69xp9zz.js → references-f7bdv3z5.js} +3 -3
- package/dist/chunks/right-panel-t5n8wttg.js +45 -0
- package/dist/chunks/{split-g7nm1rgb.js → split-4cz4b6ef.js} +14 -3
- package/dist/chunks/{studio-sar8g54p.js → studio-01269reb.js} +8 -8
- package/dist/chunks/{studio-rnyf3f8e.js → studio-0a4gncx0.js} +3 -3
- package/dist/chunks/{studio-e1f24eff.js → studio-0d4p4wxj.js} +6778 -2993
- package/dist/chunks/{studio-4wbb9ct0.js → studio-1tejxvba.js} +3006 -1855
- package/dist/chunks/{studio-p6pmwkvh.js → studio-3nprwbd9.js} +147 -28
- package/dist/chunks/{studio-4c041r8y.js → studio-40z39dme.js} +3 -3
- package/dist/chunks/{studio-68fydsrj.js → studio-482eeazk.js} +20 -20
- package/dist/chunks/{studio-y4f9fdge.js → studio-4998spet.js} +10 -9
- package/dist/chunks/{studio-nq5yf5mp.js → studio-557bmn0x.js} +2 -2
- package/dist/chunks/{studio-hdc2jt3z.js → studio-5w26wza5.js} +3 -3
- package/dist/chunks/{studio-6nzaktvy.js → studio-6pwn9j8c.js} +6 -3
- package/dist/chunks/{studio-wnsyffg1.js → studio-6vg0x5fz.js} +3 -2
- package/dist/chunks/{studio-vn5hske5.js → studio-7d3c1m59.js} +12 -5
- package/dist/chunks/{studio-28vs5k2y.js → studio-9vsvz7w7.js} +7 -7
- package/dist/chunks/{studio-t3adrr56.js → studio-9wm0xzpf.js} +19 -19
- package/dist/chunks/{studio-38emantv.js → studio-a5h5j33a.js} +19 -5
- package/dist/chunks/{studio-ympe0n7a.js → studio-ag3z6shb.js} +10 -4
- package/dist/chunks/studio-aj9drheq.js +177 -0
- package/dist/chunks/{studio-vt0tj32j.js → studio-apv9x70c.js} +189 -130
- package/dist/chunks/{studio-c04nzbby.js → studio-b9q3znz8.js} +2 -2
- package/dist/chunks/{studio-2mdbbc76.js → studio-bh47w0cy.js} +9 -10
- package/dist/chunks/{studio-ez11dmdh.js → studio-dgdm6vvt.js} +264 -52
- package/dist/chunks/{studio-5nz00bhh.js → studio-dwdcr2e8.js} +4 -4
- package/dist/chunks/{studio-nqgawfks.js → studio-fbcyz234.js} +146 -139
- package/dist/chunks/{studio-kcgff4r0.js → studio-fgmfksz8.js} +2 -2
- package/dist/chunks/{studio-x72j58vw.js → studio-fqpkpq1t.js} +7 -4
- package/dist/chunks/{studio-15f3kxqe.js → studio-fy320dfc.js} +62 -68
- package/dist/chunks/{studio-zjjde71a.js → studio-gjj4bbfx.js} +2 -2
- package/dist/chunks/{studio-66arbpc2.js → studio-jfhxy8h3.js} +16 -15
- package/dist/chunks/{studio-d0300636.js → studio-ks2zzth2.js} +17 -2
- package/dist/chunks/{studio-c07s5ckd.js → studio-kwewmhhq.js} +4 -4
- package/dist/chunks/{studio-01jeck2y.js → studio-m58xn8at.js} +26 -25
- package/dist/chunks/{studio-mpzwze9x.js → studio-mfkh1q8d.js} +17 -17
- package/dist/chunks/{studio-etvx9s2g.js → studio-mrh0a92f.js} +17 -17
- package/dist/chunks/{studio-qa7fzxan.js → studio-mt79tn56.js} +3 -3
- package/dist/chunks/{studio-hhskq2mr.js → studio-ne593z1j.js} +39 -32
- package/dist/chunks/{studio-h4nvnjvz.js → studio-ptfcxkz5.js} +418 -232
- package/dist/chunks/{studio-4xmjcrg3.js → studio-qxye31h7.js} +7 -7
- package/dist/chunks/{studio-a1pswps3.js → studio-rav5bpmp.js} +81 -59
- package/dist/chunks/{studio-ncn9e189.js → studio-rwmmbrth.js} +6 -6
- package/dist/chunks/{studio-en82c639.js → studio-sceg8ws0.js} +8 -8
- package/dist/chunks/{studio-wjpgxywa.js → studio-sjas5b3a.js} +19 -13
- package/dist/chunks/{studio-4r14yzyy.js → studio-vd67b66d.js} +3 -3
- package/dist/chunks/{studio-14d9tq4d.js → studio-w475cbf9.js} +10 -10
- package/dist/chunks/{studio-ctm7bhx5.js → studio-w7gpcvfj.js} +9 -9
- package/dist/chunks/{studio-9j6sfeba.js → studio-xrbfdxgk.js} +7 -7
- package/dist/chunks/{studio-x10fp4tp.js → studio-y49b6mjv.js} +35 -35
- package/dist/chunks/{studio-5t7ena5z.js → studio-ygvr9e4q.js} +10 -10
- package/dist/chunks/{studio-z2smx5ce.js → studio-yxmmjy2a.js} +9 -6
- package/dist/chunks/{tsMode-jy4m86rv.js → tsMode-ay4c78ne.js} +4 -4
- package/dist/chunks/{tsMode-hnxxb73h.css → tsMode-c72wyz27.css} +954 -137
- package/dist/chunks/{workspace-bnw54cha.js → workspace-b9k2frks.js} +5 -5
- package/dist/chunks/{ws-client-ny4zc51r.js → ws-client-erze4czt.js} +356 -20
- package/dist/codicon.ttf +0 -0
- package/dist/iframe-entry.js +20 -18
- package/dist/studio.css +956 -139
- package/dist/studio.js +1511 -851
- package/dist/workers/editor.worker.js +196 -107
- package/dist/workers/json.worker.js +196 -107
- package/dist/workers/ts.worker.js +196 -107
- package/package.json +18 -17
- package/src/about/about-modal.ts +4 -3
- package/src/browse/library-commands.ts +15 -13
- package/src/browse/library-pane.ts +2 -2
- package/src/canvas/canvas-render.ts +97 -83
- package/src/canvas/canvas-surface.ts +2 -2
- package/src/canvas/canvas-utils.ts +42 -32
- package/src/canvas/diff-toolbar.ts +21 -2
- package/src/canvas/diff-view.ts +30 -6
- package/src/canvas/iframe-entry.ts +2 -2
- package/src/canvas/iframe-host.ts +5 -5
- package/src/canvas/iframe-interaction.ts +7 -6
- package/src/canvas/iframe-overlay.ts +1 -1
- package/src/canvas/iframe-protocol.ts +6 -5
- package/src/canvas/iframe-render.ts +3 -3
- package/src/canvas/popover-state.ts +1 -1
- package/src/canvas/stage-scrollbar.ts +112 -0
- package/src/canvas/surface-registry.ts +9 -2
- package/src/collab/collab-commands.ts +8 -6
- package/src/collab/collab-session.ts +4 -4
- package/src/collab/collab-state.ts +4 -4
- package/src/collab/presence-chips.ts +3 -3
- package/src/commands/app-commands.ts +7 -7
- package/src/commands/budget.ts +17 -16
- package/src/commands/command-args.ts +10 -9
- package/src/commands/context.ts +20 -10
- package/src/commands/defaults.ts +30 -29
- package/src/commands/levels.ts +8 -6
- package/src/commands/live-context.ts +12 -10
- package/src/commands/reference.ts +5 -5
- package/src/commands/registry.ts +2 -2
- package/src/content/draft-state.ts +9 -8
- package/src/content/entry-commands.ts +16 -14
- package/src/content/entry-editor.ts +2 -2
- package/src/content/entry-fields.ts +1 -1
- package/src/editor/context-menu.ts +4 -4
- package/src/editor/convert-to-component.ts +6 -5
- package/src/editor/inline-edit.ts +3 -3
- package/src/editor/shortcuts.ts +88 -20
- package/src/editor/slash-menu.ts +11 -10
- package/src/files/elements.ts +4 -5
- package/src/files/file-ops.ts +1 -1
- package/src/files/files.ts +21 -17
- package/src/files/serialize-document.ts +1 -1
- package/src/format/convert-file.ts +5 -5
- package/src/github/github-auth-status.ts +107 -0
- package/src/github/github-auth.ts +18 -82
- package/src/github/github-publish.ts +7 -6
- package/src/grid/cell-editors.ts +8 -7
- package/src/grid/grid-layout.ts +1 -1
- package/src/grid/grid-open.ts +6 -5
- package/src/grid/grid-panel.ts +13 -12
- package/src/grid/redirects-grid.ts +14 -11
- package/src/grid/redirects.ts +10 -5
- package/src/grid/sources/content-source.ts +10 -9
- package/src/hosting/document.ts +28 -1
- package/src/hosting/stage.ts +15 -4
- package/src/i18n/i18n-commands.ts +9 -7
- package/src/new-project/location-fields.ts +16 -3
- package/src/new-project/new-project-modal.ts +23 -7
- package/src/page-params.ts +6 -6
- package/src/panels/activity-panel.ts +11 -10
- package/src/panels/ai-chat/chat-view.ts +27 -14
- package/src/panels/ai-chat/composer.ts +10 -3
- package/src/panels/ai-panel.ts +87 -29
- package/src/panels/block-action-bar.ts +59 -33
- package/src/panels/bottom-dock.ts +22 -22
- package/src/panels/chat-panel.ts +40 -5
- package/src/panels/data-explorer.ts +9 -9
- package/src/panels/data-grid.ts +1 -1
- package/src/panels/editors.ts +8 -8
- package/src/panels/elements-panel.ts +7 -8
- package/src/panels/empty-state.ts +1 -1
- package/src/panels/events-panel.ts +13 -12
- package/src/panels/formula-workspace.ts +8 -5
- package/src/panels/frontmatter-fields.ts +4 -1
- package/src/panels/frontmatter-panel.ts +18 -18
- package/src/panels/git-panel.ts +19 -13
- package/src/panels/head-panel.ts +9 -10
- package/src/panels/i18n-panel.ts +6 -4
- package/src/panels/imports-panel.ts +1 -1
- package/src/panels/jump-bar.ts +20 -18
- package/src/panels/layers-panel.ts +19 -17
- package/src/panels/left-panel.ts +3 -3
- package/src/panels/navigator-panels.ts +8 -8
- package/src/panels/overlays.ts +1 -1
- package/src/panels/pane-context.ts +56 -28
- package/src/panels/pane-grid.ts +9 -8
- package/src/panels/panel-registry.ts +47 -19
- package/src/panels/problems-panel.ts +11 -12
- package/src/panels/properties-panel.ts +21 -20
- package/src/panels/provenance.ts +3 -3
- package/src/panels/quick-search.ts +15 -11
- package/src/panels/right-panel.ts +4 -3
- package/src/panels/seo-modal.ts +5 -4
- package/src/panels/settings-menu.ts +9 -9
- package/src/panels/settings-pane.ts +3 -3
- package/src/panels/signals-panel.ts +16 -9
- package/src/panels/statement-editor.ts +12 -9
- package/src/panels/style-panel.ts +45 -41
- package/src/panels/stylebook-panel.ts +0 -1
- package/src/panels/tab-strip.ts +26 -23
- package/src/platform-errors.ts +2 -2
- package/src/platform.ts +44 -4
- package/src/platforms/cloud.ts +11 -1
- package/src/platforms/default-platform.ts +141 -4
- package/src/platforms/devserver.ts +23 -3
- package/src/publish/deploy-checklist.ts +11 -10
- package/src/publish/publish-commands.ts +9 -8
- package/src/services/a11y-report.ts +1 -1
- package/src/services/ai-ask.ts +39 -16
- package/src/services/ai-command-tools.ts +28 -14
- package/src/services/ai-import-tools.ts +43 -29
- package/src/services/ai-project-tools.ts +20 -38
- package/src/services/ai-settings.ts +55 -2
- package/src/services/ai-tools.ts +69 -58
- package/src/services/ai-write-report.ts +4 -4
- package/src/services/ai-writes.ts +74 -55
- package/src/services/automation.ts +12 -12
- package/src/services/clock.ts +2 -1
- package/src/services/connection.ts +2 -2
- package/src/services/context-manager.ts +69 -6
- package/src/services/directory-picker.ts +93 -27
- package/src/services/document-assistant.ts +86 -17
- package/src/services/gated-registry.ts +4 -3
- package/src/services/idle.ts +5 -4
- package/src/services/live-surfaces.ts +2 -1
- package/src/services/module-preloads.ts +67 -0
- package/src/services/notify.ts +9 -7
- package/src/services/popover-report.ts +3 -3
- package/src/services/preview-eval.ts +1 -1
- package/src/services/project-adoption.ts +34 -1
- package/src/services/project-path.ts +53 -0
- package/src/services/settings/kernel.ts +13 -2
- package/src/services/tool-executor.ts +135 -30
- package/src/services/tool-outcomes.ts +143 -0
- package/src/settings/contexts-section.ts +8 -8
- package/src/settings/contributed-section.ts +6 -6
- package/src/settings/css-vars-editor.ts +6 -5
- package/src/settings/extension-commands.ts +19 -18
- package/src/settings/extension-sections.ts +7 -7
- package/src/settings/extensions-section.ts +3 -3
- package/src/settings/general-settings.ts +21 -18
- package/src/settings/preferences-accounts.ts +3 -3
- package/src/settings/preferences-dialog.ts +9 -8
- package/src/settings/preferences-sections.ts +1 -1
- package/src/settings/project-sections.ts +2 -2
- package/src/settings/section-registry.ts +7 -6
- package/src/settings/settings-document.ts +41 -43
- package/src/shell/tree.ts +29 -0
- package/src/shell.ts +63 -55
- package/src/site-context.ts +1 -1
- package/src/store.ts +2 -2
- package/src/studio.ts +52 -28
- package/src/style/live-preview.ts +8 -8
- package/src/style/project-styles.ts +8 -9
- package/src/style/token-ref.ts +2 -2
- package/src/surfaces/about.json +6 -2
- package/src/surfaces/add-repo.json +2 -2
- package/src/surfaces/add-repo.ts +2 -2
- package/src/surfaces/ai-chat.json +14 -6
- package/src/surfaces/ai-chat.ts +4 -2
- package/src/surfaces/ai-credentials-form.json +53 -49
- package/src/surfaces/ai-credentials-form.ts +18 -4
- package/src/surfaces/ai-managed-connect.json +4 -4
- package/src/surfaces/block-action-bar.json +4 -4
- package/src/surfaces/block-action-bar.ts +3 -3
- package/src/surfaces/boot-failure.json +228 -0
- package/src/surfaces/boot-failure.ts +156 -0
- package/src/surfaces/bottom-dock.json +1 -1
- package/src/surfaces/canvas-stage.json +9 -40
- package/src/surfaces/canvas-stage.ts +9 -9
- package/src/surfaces/cf-account-picker.json +11 -8
- package/src/surfaces/commandbar.ts +11 -10
- package/src/surfaces/convert-repeater.ts +3 -2
- package/src/surfaces/dialog.json +7 -1
- package/src/surfaces/dialog.ts +2 -2
- package/src/surfaces/doc-header.json +6 -13
- package/src/surfaces/doc-header.ts +4 -5
- package/src/surfaces/entry-editor.json +1 -1
- package/src/surfaces/entry-editor.ts +2 -1
- package/src/surfaces/expression-editor.json +5 -5
- package/src/surfaces/files-panel.json +4 -3
- package/src/surfaces/files-panel.ts +1 -1
- package/src/surfaces/formula-palette.json +10 -9
- package/src/surfaces/formula-palette.ts +11 -7
- package/src/surfaces/git-panel.json +167 -109
- package/src/surfaces/git-panel.ts +2 -2
- package/src/surfaces/github-auth.json +2 -1
- package/src/surfaces/github-publish.ts +3 -3
- package/src/surfaces/grid-open.json +1 -1
- package/src/surfaces/grid-panel.json +2 -2
- package/src/surfaces/grid-views.json +1 -1
- package/src/surfaces/inspector-dock.json +2 -2
- package/src/surfaces/jump-bar.json +1 -1
- package/src/surfaces/jump-bar.ts +1 -1
- package/src/surfaces/library-pane.ts +2 -1
- package/src/surfaces/logic-panel.json +7 -7
- package/src/surfaces/logic-panel.ts +6 -4
- package/src/surfaces/logic-workspace.json +2 -2
- package/src/surfaces/logic-workspace.ts +2 -2
- package/src/surfaces/media-browser.ts +3 -3
- package/src/surfaces/media-pane.ts +2 -1
- package/src/surfaces/menu.ts +5 -5
- package/src/surfaces/new-project.json +1 -1
- package/src/surfaces/palette.json +8 -7
- package/src/surfaces/pane-context.json +86 -57
- package/src/surfaces/pane-context.ts +2 -1
- package/src/surfaces/pane-grid.json +3 -3
- package/src/surfaces/panel-activity.json +2 -1
- package/src/surfaces/panel-deploy-checklist.json +1 -1
- package/src/surfaces/panel-elements.ts +2 -1
- package/src/surfaces/panel-i18n.ts +2 -1
- package/src/surfaces/panel-outline.json +1 -1
- package/src/surfaces/panel-outline.ts +4 -3
- package/src/surfaces/panel-page.json +2 -2
- package/src/surfaces/panel-page.ts +4 -1
- package/src/surfaces/panel-problems.json +4 -3
- package/src/surfaces/panel-problems.ts +2 -2
- package/src/surfaces/panel-signals.json +23 -8
- package/src/surfaces/panel-signals.ts +5 -1
- package/src/surfaces/panel-stylebook-layers.json +1 -1
- package/src/surfaces/panel-stylebook-layers.ts +2 -2
- package/src/surfaces/preferences.json +21 -8
- package/src/surfaces/preferences.ts +9 -1
- package/src/surfaces/properties-panel.json +4 -4
- package/src/surfaces/properties-panel.ts +2 -2
- package/src/surfaces/publish.json +1 -1
- package/src/surfaces/publish.ts +2 -1
- package/src/surfaces/push-plan.json +4 -3
- package/src/surfaces/rail.json +2 -2
- package/src/surfaces/rail.ts +10 -4
- package/src/surfaces/reference-field.json +1 -1
- package/src/surfaces/schema-form.json +2 -2
- package/src/surfaces/schema-form.ts +1 -1
- package/src/surfaces/seo.json +1 -1
- package/src/surfaces/seo.ts +2 -2
- package/src/surfaces/settings-contributed.ts +2 -1
- package/src/surfaces/settings-css-vars.json +4 -4
- package/src/surfaces/settings-deploy.json +4 -4
- package/src/surfaces/settings-deploy.ts +2 -1
- package/src/surfaces/settings-extensions.json +6 -6
- package/src/surfaces/settings-extensions.ts +6 -2
- package/src/surfaces/settings-locales.json +4 -4
- package/src/surfaces/settings-overview.ts +2 -1
- package/src/surfaces/settings-pane.ts +3 -2
- package/src/surfaces/settings-rawjson.ts +1 -1
- package/src/surfaces/slash-menu.ts +4 -4
- package/src/surfaces/statements.json +3 -3
- package/src/surfaces/statusbar.ts +23 -23
- package/src/surfaces/style-panel.json +9 -5
- package/src/surfaces/style-panel.ts +3 -3
- package/src/surfaces/tab-strip.json +2 -2
- package/src/surfaces/target-line.json +1 -1
- package/src/surfaces/target-line.ts +12 -10
- package/src/surfaces/welcome.json +7 -2
- package/src/tabs/doc-op-apply.ts +5 -5
- package/src/tabs/patch-ops.ts +3 -3
- package/src/tabs/project-config.ts +10 -10
- package/src/tabs/selection.ts +1 -1
- package/src/tabs/tab.ts +13 -14
- package/src/tabs/transact.ts +18 -24
- package/src/types.ts +27 -3
- package/src/ui/ai-credentials-form.ts +74 -16
- package/src/ui/ai-managed-connect.ts +68 -19
- package/src/ui/color-selector.ts +1 -1
- package/src/ui/expression-editor.ts +3 -3
- package/src/ui/form-controls.ts +6 -5
- package/src/ui/formula-catalog.ts +4 -4
- package/src/ui/formula-chips.ts +2 -2
- package/src/ui/layers.ts +20 -18
- package/src/ui/panel-resize.ts +8 -28
- package/src/ui/popover-surface.ts +2 -2
- package/src/ui/progress-modal.ts +3 -3
- package/src/ui/regions.ts +14 -9
- package/src/ui/schema-form.ts +10 -9
- package/src/ui/timing.ts +9 -7
- package/src/ui/value-source.ts +4 -4
- package/src/ui/virtual-window.ts +58 -5
- package/src/utils/base64.ts +20 -1
- package/src/utils/canvas-media.ts +1 -1
- package/src/utils/studio-utils.ts +0 -31
- package/src/view.ts +4 -3
- package/src/workspace/pane-derive.ts +14 -13
- package/src/workspace/session.ts +7 -6
- package/src/workspace/workspace.ts +49 -39
- package/styles/canvas.css +1 -27
- package/styles/inspector.css +4 -3
- package/styles/overlays.css +1 -1
- package/styles/tokens.css +17 -1
- package/styles/tokens.json +6 -1
- package/dist/chunks/entry-commands-w9qsxa6q.js +0 -42
- package/dist/chunks/layers-panel-fksbdg4q.js +0 -40
- package/dist/chunks/publish-panel-vz23wwmg.js +0 -27
- package/dist/chunks/quick-search-e9rp74m8.js +0 -46
- package/dist/chunks/right-panel-j97t2yvy.js +0 -45
- package/dist/chunks/studio-727xh0e3.js +0 -76
- package/src/files/json-layout.ts +0 -474
- package/src/services/ai-turn-signal.ts +0 -70
|
@@ -44,7 +44,6 @@ import {
|
|
|
44
44
|
mainWindow,
|
|
45
45
|
format,
|
|
46
46
|
trim,
|
|
47
|
-
lastNonWhitespaceIndex,
|
|
48
47
|
commonPrefixLength,
|
|
49
48
|
commonSuffixLength,
|
|
50
49
|
createCancelablePromise,
|
|
@@ -58,6 +57,7 @@ import {
|
|
|
58
57
|
Schemas,
|
|
59
58
|
matchesScheme,
|
|
60
59
|
VSBuffer,
|
|
60
|
+
ConstantStringHash,
|
|
61
61
|
structuralEquals,
|
|
62
62
|
derived,
|
|
63
63
|
derivedOpts,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
EditorState,
|
|
197
197
|
EditorStateCancellationTokenSource,
|
|
198
198
|
editor2
|
|
199
|
-
} from "./studio-
|
|
199
|
+
} from "./studio-0d4p4wxj.js";
|
|
200
200
|
import {
|
|
201
201
|
HierarchicalKind,
|
|
202
202
|
InlineProgressManager,
|
|
@@ -235,7 +235,7 @@ import {
|
|
|
235
235
|
IFileService,
|
|
236
236
|
IOutlineModelService,
|
|
237
237
|
StickyScrollController
|
|
238
|
-
} from "./studio-
|
|
238
|
+
} from "./studio-1tejxvba.js";
|
|
239
239
|
|
|
240
240
|
// ../../node_modules/monaco-editor/esm/vs/editor/browser/widget/diffEditor/commands.js
|
|
241
241
|
class ToggleCollapseUnchangedRegions extends Action2 {
|
|
@@ -480,21 +480,10 @@ function findFocusedDiffEditor(accessor) {
|
|
|
480
480
|
registerAction2(ToggleCollapseUnchangedRegions);
|
|
481
481
|
registerAction2(ToggleShowMovedCodeBlocks);
|
|
482
482
|
registerAction2(ToggleUseInlineViewWhenSpaceIsLimited);
|
|
483
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
484
|
-
command: {
|
|
485
|
-
id: new ToggleUseInlineViewWhenSpaceIsLimited().desc.id,
|
|
486
|
-
title: localize(135, "Use Inline View When Space Is Limited"),
|
|
487
|
-
toggled: ContextKeyExpr.has("config.diffEditor.useInlineViewWhenSpaceIsLimited"),
|
|
488
|
-
precondition: ContextKeyExpr.has("isInDiffEditor")
|
|
489
|
-
},
|
|
490
|
-
order: 11,
|
|
491
|
-
group: "1_diff",
|
|
492
|
-
when: ContextKeyExpr.and(EditorContextKeys.diffEditorRenderSideBySideInlineBreakpointReached, ContextKeyExpr.has("isInDiffEditor"))
|
|
493
|
-
});
|
|
494
483
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
495
484
|
command: {
|
|
496
485
|
id: new ToggleShowMovedCodeBlocks().desc.id,
|
|
497
|
-
title: localize(
|
|
486
|
+
title: localize(135, "Show Moved Code Blocks"),
|
|
498
487
|
icon: Codicon.move,
|
|
499
488
|
toggled: ContextKeyEqualsExpr.create("config.diffEditor.experimental.showMoves", true),
|
|
500
489
|
precondition: ContextKeyExpr.has("isInDiffEditor")
|
|
@@ -511,7 +500,7 @@ for (const ctx of [
|
|
|
511
500
|
MenuRegistry.appendMenuItem(MenuId.DiffEditorHunkToolbar, {
|
|
512
501
|
command: {
|
|
513
502
|
id: new RevertHunkOrSelection().desc.id,
|
|
514
|
-
title: localize(
|
|
503
|
+
title: localize(136, "Revert Block"),
|
|
515
504
|
icon: ctx.icon
|
|
516
505
|
},
|
|
517
506
|
when: ContextKeyExpr.and(EditorContextKeys.diffEditorModifiedWritable, ctx.key),
|
|
@@ -521,7 +510,7 @@ for (const ctx of [
|
|
|
521
510
|
MenuRegistry.appendMenuItem(MenuId.DiffEditorSelectionToolbar, {
|
|
522
511
|
command: {
|
|
523
512
|
id: new RevertHunkOrSelection().desc.id,
|
|
524
|
-
title: localize(
|
|
513
|
+
title: localize(137, "Revert Selection"),
|
|
525
514
|
icon: ctx.icon
|
|
526
515
|
},
|
|
527
516
|
when: ContextKeyExpr.and(EditorContextKeys.diffEditorModifiedWritable, ctx.key),
|
|
@@ -536,7 +525,7 @@ registerAction2(ShowAllUnchangedRegions);
|
|
|
536
525
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
537
526
|
command: {
|
|
538
527
|
id: AccessibleDiffViewerNext.id,
|
|
539
|
-
title: localize(
|
|
528
|
+
title: localize(138, "Open Accessible Diff Viewer"),
|
|
540
529
|
precondition: ContextKeyExpr.has("isInDiffEditor")
|
|
541
530
|
},
|
|
542
531
|
order: 10,
|
|
@@ -591,12 +580,12 @@ var SelectionAnchorController = class SelectionAnchorController {
|
|
|
591
580
|
this.decorationId = accessor.addDecoration(Selection2.fromPositions(position, position), {
|
|
592
581
|
description: "selection-anchor",
|
|
593
582
|
stickiness: 1,
|
|
594
|
-
hoverMessage: new MarkdownString().appendText(localize(
|
|
583
|
+
hoverMessage: new MarkdownString().appendText(localize(849, "Selection Anchor")),
|
|
595
584
|
className: "selection-anchor"
|
|
596
585
|
});
|
|
597
586
|
});
|
|
598
587
|
this.selectionAnchorSetContextKey.set(!!this.decorationId);
|
|
599
|
-
alert(localize(
|
|
588
|
+
alert(localize(850, "Anchor set at {0}:{1}", position.lineNumber, position.column));
|
|
600
589
|
}
|
|
601
590
|
}
|
|
602
591
|
goToSelectionAnchor() {
|
|
@@ -640,7 +629,7 @@ class SetSelectionAnchor extends EditorAction {
|
|
|
640
629
|
constructor() {
|
|
641
630
|
super({
|
|
642
631
|
id: "editor.action.setSelectionAnchor",
|
|
643
|
-
label: localize2(
|
|
632
|
+
label: localize2(851, "Set Selection Anchor"),
|
|
644
633
|
precondition: undefined,
|
|
645
634
|
kbOpts: {
|
|
646
635
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -658,7 +647,7 @@ class GoToSelectionAnchor extends EditorAction {
|
|
|
658
647
|
constructor() {
|
|
659
648
|
super({
|
|
660
649
|
id: "editor.action.goToSelectionAnchor",
|
|
661
|
-
label: localize2(
|
|
650
|
+
label: localize2(852, "Go to Selection Anchor"),
|
|
662
651
|
precondition: SelectionAnchorSet
|
|
663
652
|
});
|
|
664
653
|
}
|
|
@@ -671,7 +660,7 @@ class SelectFromAnchorToCursor extends EditorAction {
|
|
|
671
660
|
constructor() {
|
|
672
661
|
super({
|
|
673
662
|
id: "editor.action.selectFromAnchorToCursor",
|
|
674
|
-
label: localize2(
|
|
663
|
+
label: localize2(853, "Select from Anchor to Cursor"),
|
|
675
664
|
precondition: SelectionAnchorSet,
|
|
676
665
|
kbOpts: {
|
|
677
666
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -689,7 +678,7 @@ class CancelSelectionAnchor extends EditorAction {
|
|
|
689
678
|
constructor() {
|
|
690
679
|
super({
|
|
691
680
|
id: "editor.action.cancelSelectionAnchor",
|
|
692
|
-
label: localize2(
|
|
681
|
+
label: localize2(854, "Cancel Selection Anchor"),
|
|
693
682
|
precondition: SelectionAnchorSet,
|
|
694
683
|
kbOpts: {
|
|
695
684
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -773,7 +762,7 @@ class MoveCaretLeftAction extends MoveCaretAction {
|
|
|
773
762
|
constructor() {
|
|
774
763
|
super(true, {
|
|
775
764
|
id: "editor.action.moveCarretLeftAction",
|
|
776
|
-
label: localize2(
|
|
765
|
+
label: localize2(861, "Move Selected Text Left"),
|
|
777
766
|
precondition: EditorContextKeys.writable
|
|
778
767
|
});
|
|
779
768
|
}
|
|
@@ -783,7 +772,7 @@ class MoveCaretRightAction extends MoveCaretAction {
|
|
|
783
772
|
constructor() {
|
|
784
773
|
super(false, {
|
|
785
774
|
id: "editor.action.moveCarretRightAction",
|
|
786
|
-
label: localize2(
|
|
775
|
+
label: localize2(862, "Move Selected Text Right"),
|
|
787
776
|
precondition: EditorContextKeys.writable
|
|
788
777
|
});
|
|
789
778
|
}
|
|
@@ -796,7 +785,7 @@ class TransposeLettersAction extends EditorAction {
|
|
|
796
785
|
constructor() {
|
|
797
786
|
super({
|
|
798
787
|
id: "editor.action.transposeLetters",
|
|
799
|
-
label: localize2(
|
|
788
|
+
label: localize2(863, "Transpose Letters"),
|
|
800
789
|
precondition: EditorContextKeys.writable,
|
|
801
790
|
kbOpts: {
|
|
802
791
|
kbExpr: EditorContextKeys.textInputFocus,
|
|
@@ -1638,7 +1627,7 @@ registerEditorAction(class ShowLensesInCurrentLine extends EditorAction {
|
|
|
1638
1627
|
super({
|
|
1639
1628
|
id: "codelens.showLensesInCurrentLine",
|
|
1640
1629
|
precondition: EditorContextKeys.hasCodeLensProvider,
|
|
1641
|
-
label: localize2(
|
|
1630
|
+
label: localize2(935, "Show CodeLens Commands for Current Line")
|
|
1642
1631
|
});
|
|
1643
1632
|
}
|
|
1644
1633
|
async run(accessor, editor) {
|
|
@@ -1671,7 +1660,7 @@ registerEditorAction(class ShowLensesInCurrentLine extends EditorAction {
|
|
|
1671
1660
|
}
|
|
1672
1661
|
const item = await quickInputService.pick(items, {
|
|
1673
1662
|
canPickMany: false,
|
|
1674
|
-
placeHolder: localize(
|
|
1663
|
+
placeHolder: localize(934, "Select a command")
|
|
1675
1664
|
});
|
|
1676
1665
|
if (!item) {
|
|
1677
1666
|
return;
|
|
@@ -1707,7 +1696,7 @@ class HoverColorPickerContribution extends Disposable {
|
|
|
1707
1696
|
super.dispose();
|
|
1708
1697
|
}
|
|
1709
1698
|
onMouseDown(mouseEvent) {
|
|
1710
|
-
const colorDecoratorsActivatedOn = this._editor.getOption(
|
|
1699
|
+
const colorDecoratorsActivatedOn = this._editor.getOption(169);
|
|
1711
1700
|
if (colorDecoratorsActivatedOn !== "click" && colorDecoratorsActivatedOn !== "clickAndHover") {
|
|
1712
1701
|
return;
|
|
1713
1702
|
}
|
|
@@ -1765,7 +1754,7 @@ class StandaloneColorPickerRenderedParts extends Disposable {
|
|
|
1765
1754
|
const editorModel = editor.getModel();
|
|
1766
1755
|
const colorPickerModel = colorHover.model;
|
|
1767
1756
|
this.color = colorHover.model.color;
|
|
1768
|
-
this.colorPicker = this._register(new ColorPickerWidget(context.fragment, colorPickerModel, editor.getOption(
|
|
1757
|
+
this.colorPicker = this._register(new ColorPickerWidget(context.fragment, colorPickerModel, editor.getOption(164), themeService, "standalone"));
|
|
1769
1758
|
this._register(colorPickerModel.onColorFlushed((color) => {
|
|
1770
1759
|
this.color = color;
|
|
1771
1760
|
}));
|
|
@@ -1810,7 +1799,7 @@ var StandaloneColorPickerParticipant = class StandaloneColorPickerParticipant {
|
|
|
1810
1799
|
const colorHover = StandaloneColorPickerHover.fromBaseColor(this, await createColorHover(this._editor.getModel(), colorInfo, colorProvider));
|
|
1811
1800
|
return { colorHover, foundInEditor };
|
|
1812
1801
|
}
|
|
1813
|
-
async updateEditorModel(colorHoverData) {
|
|
1802
|
+
async updateEditorModel(colorHoverData, insertionRanges) {
|
|
1814
1803
|
if (!this._editor.hasModel()) {
|
|
1815
1804
|
return;
|
|
1816
1805
|
}
|
|
@@ -1818,7 +1807,7 @@ var StandaloneColorPickerParticipant = class StandaloneColorPickerParticipant {
|
|
|
1818
1807
|
let range = new Range2(colorHoverData.range.startLineNumber, colorHoverData.range.startColumn, colorHoverData.range.endLineNumber, colorHoverData.range.endColumn);
|
|
1819
1808
|
if (this._color) {
|
|
1820
1809
|
await updateColorPresentations(this._editor.getModel(), colorPickerModel, this._color, range, colorHoverData);
|
|
1821
|
-
range = updateEditorModel(this._editor, range, colorPickerModel);
|
|
1810
|
+
range = updateEditorModel(this._editor, range, colorPickerModel, insertionRanges);
|
|
1822
1811
|
}
|
|
1823
1812
|
}
|
|
1824
1813
|
renderHoverParts(context, hoverParts) {
|
|
@@ -1896,6 +1885,7 @@ var StandaloneColorPickerWidget = class StandaloneColorPickerWidget extends Disp
|
|
|
1896
1885
|
this._standaloneColorPickerParticipant = _instantiationService.createInstance(StandaloneColorPickerParticipant, this._editor);
|
|
1897
1886
|
this._position = this._editor._getViewModel()?.getPrimaryCursorState().modelState.position;
|
|
1898
1887
|
const editorSelection = this._editor.getSelection();
|
|
1888
|
+
this._selections = this._editor.getSelections() ?? [];
|
|
1899
1889
|
const selection = editorSelection ? {
|
|
1900
1890
|
startLineNumber: editorSelection.startLineNumber,
|
|
1901
1891
|
startColumn: editorSelection.startColumn,
|
|
@@ -1915,6 +1905,7 @@ var StandaloneColorPickerWidget = class StandaloneColorPickerWidget extends Disp
|
|
|
1915
1905
|
} else {
|
|
1916
1906
|
this._selectionSetInEditor = false;
|
|
1917
1907
|
}
|
|
1908
|
+
this._selections = this._editor.getSelections() ?? [];
|
|
1918
1909
|
}));
|
|
1919
1910
|
this._register(this._editor.onMouseMove((e) => {
|
|
1920
1911
|
const classList = e.target.element?.classList;
|
|
@@ -1931,7 +1922,7 @@ var StandaloneColorPickerWidget = class StandaloneColorPickerWidget extends Disp
|
|
|
1931
1922
|
}
|
|
1932
1923
|
updateEditor() {
|
|
1933
1924
|
if (this._colorHover) {
|
|
1934
|
-
this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover);
|
|
1925
|
+
this._standaloneColorPickerParticipant.updateEditorModel(this._colorHover, this._selections);
|
|
1935
1926
|
}
|
|
1936
1927
|
}
|
|
1937
1928
|
getId() {
|
|
@@ -2111,15 +2102,15 @@ class ShowOrFocusStandaloneColorPicker extends EditorAction2 {
|
|
|
2111
2102
|
super({
|
|
2112
2103
|
id: "editor.action.showOrFocusStandaloneColorPicker",
|
|
2113
2104
|
title: {
|
|
2114
|
-
...localize2(
|
|
2115
|
-
mnemonicTitle: localize(
|
|
2105
|
+
...localize2(940, "Show or Focus Standalone Color Picker"),
|
|
2106
|
+
mnemonicTitle: localize(939, "&&Show or Focus Standalone Color Picker")
|
|
2116
2107
|
},
|
|
2117
2108
|
precondition: undefined,
|
|
2118
2109
|
menu: [
|
|
2119
2110
|
{ id: MenuId.CommandPalette }
|
|
2120
2111
|
],
|
|
2121
2112
|
metadata: {
|
|
2122
|
-
description: localize2(
|
|
2113
|
+
description: localize2(941, "Show or focus a standalone color picker which uses the default color provider. It displays hex/rgb/hsl colors.")
|
|
2123
2114
|
}
|
|
2124
2115
|
});
|
|
2125
2116
|
}
|
|
@@ -2132,14 +2123,14 @@ class HideStandaloneColorPicker extends EditorAction {
|
|
|
2132
2123
|
constructor() {
|
|
2133
2124
|
super({
|
|
2134
2125
|
id: "editor.action.hideColorPicker",
|
|
2135
|
-
label: localize2(
|
|
2126
|
+
label: localize2(942, "Hide the Color Picker"),
|
|
2136
2127
|
precondition: EditorContextKeys.standaloneColorPickerVisible.isEqualTo(true),
|
|
2137
2128
|
kbOpts: {
|
|
2138
2129
|
primary: 9,
|
|
2139
2130
|
weight: 100
|
|
2140
2131
|
},
|
|
2141
2132
|
metadata: {
|
|
2142
|
-
description: localize2(
|
|
2133
|
+
description: localize2(943, "Hide the standalone color picker.")
|
|
2143
2134
|
}
|
|
2144
2135
|
});
|
|
2145
2136
|
}
|
|
@@ -2152,14 +2143,14 @@ class InsertColorWithStandaloneColorPicker extends EditorAction {
|
|
|
2152
2143
|
constructor() {
|
|
2153
2144
|
super({
|
|
2154
2145
|
id: "editor.action.insertColorWithStandaloneColorPicker",
|
|
2155
|
-
label: localize2(
|
|
2146
|
+
label: localize2(944, "Insert Color with Standalone Color Picker"),
|
|
2156
2147
|
precondition: EditorContextKeys.standaloneColorPickerFocused.isEqualTo(true),
|
|
2157
2148
|
kbOpts: {
|
|
2158
2149
|
primary: 3,
|
|
2159
2150
|
weight: 100
|
|
2160
2151
|
},
|
|
2161
2152
|
metadata: {
|
|
2162
|
-
description: localize2(
|
|
2153
|
+
description: localize2(945, "Insert hex/rgb/hsl colors with the focused standalone color picker.")
|
|
2163
2154
|
}
|
|
2164
2155
|
});
|
|
2165
2156
|
}
|
|
@@ -2243,7 +2234,7 @@ registerEditorAction(class PasteAsAction extends EditorAction {
|
|
|
2243
2234
|
properties: {
|
|
2244
2235
|
kind: {
|
|
2245
2236
|
type: "string",
|
|
2246
|
-
description: localize(
|
|
2237
|
+
description: localize(967, `The kind of the paste edit to try pasting with.
|
|
2247
2238
|
If there are multiple edits for this kind, the editor will show a picker. If there are no edits of this kind, the editor will show an error message.`)
|
|
2248
2239
|
}
|
|
2249
2240
|
}
|
|
@@ -2254,7 +2245,7 @@ If there are multiple edits for this kind, the editor will show a picker. If the
|
|
|
2254
2245
|
properties: {
|
|
2255
2246
|
preferences: {
|
|
2256
2247
|
type: "array",
|
|
2257
|
-
description: localize(
|
|
2248
|
+
description: localize(968, `List of preferred paste edit kind to try applying.
|
|
2258
2249
|
The first edit matching the preferences will be applied.`),
|
|
2259
2250
|
items: { type: "string" }
|
|
2260
2251
|
}
|
|
@@ -2266,7 +2257,7 @@ The first edit matching the preferences will be applied.`),
|
|
|
2266
2257
|
constructor() {
|
|
2267
2258
|
super({
|
|
2268
2259
|
id: pasteAsCommandId,
|
|
2269
|
-
label: localize2(
|
|
2260
|
+
label: localize2(969, "Paste As..."),
|
|
2270
2261
|
precondition: EditorContextKeys.writable,
|
|
2271
2262
|
metadata: {
|
|
2272
2263
|
description: "Paste as",
|
|
@@ -2294,7 +2285,7 @@ registerEditorAction(class extends EditorAction {
|
|
|
2294
2285
|
constructor() {
|
|
2295
2286
|
super({
|
|
2296
2287
|
id: "editor.action.pasteAsText",
|
|
2297
|
-
label: localize2(
|
|
2288
|
+
label: localize2(970, "Paste as Text"),
|
|
2298
2289
|
precondition: EditorContextKeys.writable,
|
|
2299
2290
|
canTriggerInlineEdits: true
|
|
2300
2291
|
});
|
|
@@ -2348,7 +2339,7 @@ var __param7 = function(paramIndex, decorator) {
|
|
|
2348
2339
|
var DropIntoEditorController_1;
|
|
2349
2340
|
var dropAsPreferenceConfig = "editor.dropIntoEditor.preferences";
|
|
2350
2341
|
var changeDropTypeCommandId = "editor.changeDropType";
|
|
2351
|
-
var dropWidgetVisibleCtx = new RawContextKey("dropWidgetVisible", false, localize(
|
|
2342
|
+
var dropWidgetVisibleCtx = new RawContextKey("dropWidgetVisible", false, localize(988, "Whether the drop widget is showing"));
|
|
2352
2343
|
var DropIntoEditorController = class DropIntoEditorController extends Disposable {
|
|
2353
2344
|
static {
|
|
2354
2345
|
DropIntoEditorController_1 = this;
|
|
@@ -2366,7 +2357,7 @@ var DropIntoEditorController = class DropIntoEditorController extends Disposable
|
|
|
2366
2357
|
this._treeViewsDragAndDropService = _treeViewsDragAndDropService;
|
|
2367
2358
|
this.treeItemsTransfer = LocalSelectionTransfer.getInstance();
|
|
2368
2359
|
this._dropProgressManager = this._register(instantiationService.createInstance(InlineProgressManager, "dropIntoEditor", editor));
|
|
2369
|
-
this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, "dropIntoEditor", editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: localize(
|
|
2360
|
+
this._postDropWidgetManager = this._register(instantiationService.createInstance(PostEditWidgetManager, "dropIntoEditor", editor, dropWidgetVisibleCtx, { id: changeDropTypeCommandId, label: localize(989, "Show drop options...") }, () => DropIntoEditorController_1._configureDefaultAction ? [DropIntoEditorController_1._configureDefaultAction] : []));
|
|
2370
2361
|
this._register(editor.onDropIntoEditor((e) => this.onDropIntoEditor(editor, e.position, e.event)));
|
|
2371
2362
|
}
|
|
2372
2363
|
clearWidgets() {
|
|
@@ -2416,7 +2407,7 @@ var DropIntoEditorController = class DropIntoEditorController extends Disposable
|
|
|
2416
2407
|
}
|
|
2417
2408
|
}
|
|
2418
2409
|
});
|
|
2419
|
-
this._dropProgressManager.showWhile(position, localize(
|
|
2410
|
+
this._dropProgressManager.showWhile(position, localize(990, "Running drop handlers. Click to cancel"), p, { cancel: () => p.cancel() });
|
|
2420
2411
|
DropIntoEditorController_1._currentDropOperation = p;
|
|
2421
2412
|
}
|
|
2422
2413
|
async getDropEdits(providers, model, position, dataTransfer, token) {
|
|
@@ -2520,7 +2511,7 @@ class EditorFontZoomIn extends EditorAction {
|
|
|
2520
2511
|
constructor() {
|
|
2521
2512
|
super({
|
|
2522
2513
|
id: "editor.action.fontZoomIn",
|
|
2523
|
-
label: localize2(
|
|
2514
|
+
label: localize2(1069, "Increase Editor Font Size"),
|
|
2524
2515
|
precondition: undefined
|
|
2525
2516
|
});
|
|
2526
2517
|
}
|
|
@@ -2533,7 +2524,7 @@ class EditorFontZoomOut extends EditorAction {
|
|
|
2533
2524
|
constructor() {
|
|
2534
2525
|
super({
|
|
2535
2526
|
id: "editor.action.fontZoomOut",
|
|
2536
|
-
label: localize2(
|
|
2527
|
+
label: localize2(1070, "Decrease Editor Font Size"),
|
|
2537
2528
|
precondition: undefined
|
|
2538
2529
|
});
|
|
2539
2530
|
}
|
|
@@ -2546,7 +2537,7 @@ class EditorFontZoomReset extends EditorAction {
|
|
|
2546
2537
|
constructor() {
|
|
2547
2538
|
super({
|
|
2548
2539
|
id: "editor.action.fontZoomReset",
|
|
2549
|
-
label: localize2(
|
|
2540
|
+
label: localize2(1071, "Reset Editor Font Size"),
|
|
2550
2541
|
precondition: undefined
|
|
2551
2542
|
});
|
|
2552
2543
|
}
|
|
@@ -2637,7 +2628,7 @@ class DebugEditorGpuRendererAction extends EditorAction {
|
|
|
2637
2628
|
constructor() {
|
|
2638
2629
|
super({
|
|
2639
2630
|
id: "editor.action.debugEditorGpuRenderer",
|
|
2640
|
-
label: localize2(
|
|
2631
|
+
label: localize2(1159, "Developer: Debug Editor GPU Renderer"),
|
|
2641
2632
|
precondition: ContextKeyExpr.true()
|
|
2642
2633
|
});
|
|
2643
2634
|
}
|
|
@@ -2646,15 +2637,15 @@ class DebugEditorGpuRendererAction extends EditorAction {
|
|
|
2646
2637
|
const quickInputService = accessor.get(IQuickInputService);
|
|
2647
2638
|
const choice = await quickInputService.pick([
|
|
2648
2639
|
{
|
|
2649
|
-
label: localize(
|
|
2640
|
+
label: localize(1156, "Log Texture Atlas Stats"),
|
|
2650
2641
|
id: "logTextureAtlasStats"
|
|
2651
2642
|
},
|
|
2652
2643
|
{
|
|
2653
|
-
label: localize(
|
|
2644
|
+
label: localize(1157, "Save Texture Atlas"),
|
|
2654
2645
|
id: "saveTextureAtlas"
|
|
2655
2646
|
},
|
|
2656
2647
|
{
|
|
2657
|
-
label: localize(
|
|
2648
|
+
label: localize(1158, "Draw Glyph"),
|
|
2658
2649
|
id: "drawGlyph"
|
|
2659
2650
|
}
|
|
2660
2651
|
], { canPickMany: false });
|
|
@@ -2862,7 +2853,7 @@ class InPlaceReplaceUp extends EditorAction {
|
|
|
2862
2853
|
constructor() {
|
|
2863
2854
|
super({
|
|
2864
2855
|
id: "editor.action.inPlaceReplace.up",
|
|
2865
|
-
label: localize2(
|
|
2856
|
+
label: localize2(1306, "Replace with Previous Value"),
|
|
2866
2857
|
precondition: EditorContextKeys.writable,
|
|
2867
2858
|
kbOpts: {
|
|
2868
2859
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -2884,7 +2875,7 @@ class InPlaceReplaceDown extends EditorAction {
|
|
|
2884
2875
|
constructor() {
|
|
2885
2876
|
super({
|
|
2886
2877
|
id: "editor.action.inPlaceReplace.down",
|
|
2887
|
-
label: localize2(
|
|
2878
|
+
label: localize2(1307, "Replace with Next Value"),
|
|
2888
2879
|
precondition: EditorContextKeys.writable,
|
|
2889
2880
|
kbOpts: {
|
|
2890
2881
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -2924,11 +2915,6 @@ class InsertFinalNewLineCommand {
|
|
|
2924
2915
|
}
|
|
2925
2916
|
function insertFinalNewLine(model) {
|
|
2926
2917
|
const lineCount = model.getLineCount();
|
|
2927
|
-
const lastLine = model.getLineContent(lineCount);
|
|
2928
|
-
const lastLineIsEmptyOrWhitespace = lastNonWhitespaceIndex(lastLine) === -1;
|
|
2929
|
-
if (!lineCount || lastLineIsEmptyOrWhitespace) {
|
|
2930
|
-
return;
|
|
2931
|
-
}
|
|
2932
2918
|
return EditOperation.insert(new Position2(lineCount, model.getLineMaxColumn(lineCount)), model.getEOL());
|
|
2933
2919
|
}
|
|
2934
2920
|
|
|
@@ -2940,7 +2926,7 @@ class InsertFinalNewLineAction extends EditorAction {
|
|
|
2940
2926
|
constructor() {
|
|
2941
2927
|
super({
|
|
2942
2928
|
id: InsertFinalNewLineAction.ID,
|
|
2943
|
-
label: localize2(
|
|
2929
|
+
label: localize2(1308, "Insert Final New Line"),
|
|
2944
2930
|
precondition: EditorContextKeys.writable
|
|
2945
2931
|
});
|
|
2946
2932
|
}
|
|
@@ -3233,7 +3219,7 @@ class LinkedEditingAction extends EditorAction {
|
|
|
3233
3219
|
constructor() {
|
|
3234
3220
|
super({
|
|
3235
3221
|
id: "editor.action.linkedEditing",
|
|
3236
|
-
label: localize2(
|
|
3222
|
+
label: localize2(1342, "Start Linked Editing"),
|
|
3237
3223
|
precondition: ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider),
|
|
3238
3224
|
kbOpts: {
|
|
3239
3225
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -3290,7 +3276,7 @@ function getLinkedEditingRanges(providers, model, position, token) {
|
|
|
3290
3276
|
}
|
|
3291
3277
|
}), (result) => !!result && isNonEmptyArray(result?.ranges));
|
|
3292
3278
|
}
|
|
3293
|
-
registerColor("editor.linkedEditingBackground", { dark: Color.fromHex("#f00").transparent(0.3), light: Color.fromHex("#f00").transparent(0.3), hcDark: Color.fromHex("#f00").transparent(0.3), hcLight: Color.white }, localize(
|
|
3279
|
+
registerColor("editor.linkedEditingBackground", { dark: Color.fromHex("#f00").transparent(0.3), light: Color.fromHex("#f00").transparent(0.3), hcDark: Color.fromHex("#f00").transparent(0.3), hcLight: Color.white }, localize(1341, "Background color when the editor auto renames on type."));
|
|
3294
3280
|
registerModelAndPositionCommand("_executeLinkedEditingProvider", (_accessor, model, position) => {
|
|
3295
3281
|
const { linkedEditingRangeProvider } = _accessor.get(ILanguageFeaturesService);
|
|
3296
3282
|
return getLinkedEditingRanges(linkedEditingRangeProvider, model, position, CancellationToken.None);
|
|
@@ -3327,7 +3313,7 @@ class MiddleScrollController extends Disposable {
|
|
|
3327
3313
|
super();
|
|
3328
3314
|
this._editor = _editor;
|
|
3329
3315
|
const obsEditor = observableCodeEditor(this._editor);
|
|
3330
|
-
const scrollOnMiddleClick = obsEditor.getOption(
|
|
3316
|
+
const scrollOnMiddleClick = obsEditor.getOption(172);
|
|
3331
3317
|
this._register(autorun((reader) => {
|
|
3332
3318
|
if (!scrollOnMiddleClick.read(reader)) {
|
|
3333
3319
|
return;
|
|
@@ -3533,7 +3519,7 @@ BaseClass1 = __decorate11([
|
|
|
3533
3519
|
|
|
3534
3520
|
// ../../node_modules/monaco-editor/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js
|
|
3535
3521
|
registerEditorContribution(PlaceholderTextContribution.ID, wrapInReloadableClass1(() => PlaceholderTextContribution), 0);
|
|
3536
|
-
registerColor("editor.placeholder.foreground", ghostTextForeground, localize(
|
|
3522
|
+
registerColor("editor.placeholder.foreground", ghostTextForeground, localize(1400, "Foreground color of the placeholder text in the editor."));
|
|
3537
3523
|
|
|
3538
3524
|
// ../../node_modules/monaco-editor/esm/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js
|
|
3539
3525
|
var __decorate12 = function(decorators, target, key, desc) {
|
|
@@ -4225,8 +4211,16 @@ var ModelSemanticColoring = class ModelSemanticColoring extends Disposable {
|
|
|
4225
4211
|
return;
|
|
4226
4212
|
}
|
|
4227
4213
|
if (isSemanticTokensEdits(tokens)) {
|
|
4228
|
-
|
|
4214
|
+
const resultId = tokens.resultId;
|
|
4215
|
+
const rejectInvalidEdits = (requestFullRefresh) => {
|
|
4216
|
+
provider.releaseDocumentSemanticTokens(resultId);
|
|
4229
4217
|
this._model.tokenization.setSemanticTokens(null, true);
|
|
4218
|
+
if (requestFullRefresh) {
|
|
4219
|
+
this._fetchDocumentSemanticTokens.schedule(0);
|
|
4220
|
+
}
|
|
4221
|
+
};
|
|
4222
|
+
if (!currentResponse) {
|
|
4223
|
+
rejectInvalidEdits(false);
|
|
4230
4224
|
return;
|
|
4231
4225
|
}
|
|
4232
4226
|
if (tokens.edits.length === 0) {
|
|
@@ -4240,14 +4234,20 @@ var ModelSemanticColoring = class ModelSemanticColoring extends Disposable {
|
|
|
4240
4234
|
deltaLength += (edit.data ? edit.data.length : 0) - edit.deleteCount;
|
|
4241
4235
|
}
|
|
4242
4236
|
const srcData = currentResponse.data;
|
|
4243
|
-
const
|
|
4237
|
+
const destDataLength = srcData.length + deltaLength;
|
|
4238
|
+
if (destDataLength < 0) {
|
|
4239
|
+
styling.warnInvalidEditDeleteCount(currentResponse.resultId, resultId, srcData.length, deltaLength);
|
|
4240
|
+
rejectInvalidEdits(true);
|
|
4241
|
+
return;
|
|
4242
|
+
}
|
|
4243
|
+
const destData = new Uint32Array(destDataLength);
|
|
4244
4244
|
let srcLastStart = srcData.length;
|
|
4245
4245
|
let destLastStart = destData.length;
|
|
4246
4246
|
for (let i = tokens.edits.length - 1;i >= 0; i--) {
|
|
4247
4247
|
const edit = tokens.edits[i];
|
|
4248
4248
|
if (edit.start > srcData.length) {
|
|
4249
|
-
styling.warnInvalidEditStart(currentResponse.resultId,
|
|
4250
|
-
|
|
4249
|
+
styling.warnInvalidEditStart(currentResponse.resultId, resultId, i, edit.start, srcData.length);
|
|
4250
|
+
rejectInvalidEdits(true);
|
|
4251
4251
|
return;
|
|
4252
4252
|
}
|
|
4253
4253
|
const copyCount = srcLastStart - (edit.start + edit.deleteCount);
|
|
@@ -4466,12 +4466,12 @@ registerEditorContribution(ViewportSemanticTokensContribution.ID, ViewportSemant
|
|
|
4466
4466
|
|
|
4467
4467
|
// ../../node_modules/monaco-editor/esm/vs/platform/action/common/actionCommonCategories.js
|
|
4468
4468
|
var Categories = Object.freeze({
|
|
4469
|
-
View: localize2(
|
|
4470
|
-
Help: localize2(
|
|
4471
|
-
Test: localize2(
|
|
4472
|
-
File: localize2(
|
|
4473
|
-
Preferences: localize2(
|
|
4474
|
-
Developer: localize2(
|
|
4469
|
+
View: localize2(1718, "View"),
|
|
4470
|
+
Help: localize2(1719, "Help"),
|
|
4471
|
+
Test: localize2(1720, "Test"),
|
|
4472
|
+
File: localize2(1721, "File"),
|
|
4473
|
+
Preferences: localize2(1722, "Preferences"),
|
|
4474
|
+
Developer: localize2(1723, "Developer")
|
|
4475
4475
|
});
|
|
4476
4476
|
|
|
4477
4477
|
// ../../node_modules/monaco-editor/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js
|
|
@@ -4480,17 +4480,17 @@ class ToggleStickyScroll extends EditorAction2 {
|
|
|
4480
4480
|
super({
|
|
4481
4481
|
id: "editor.action.toggleStickyScroll",
|
|
4482
4482
|
title: {
|
|
4483
|
-
...localize2(
|
|
4484
|
-
mnemonicTitle: localize(
|
|
4483
|
+
...localize2(1518, "Toggle Editor Sticky Scroll"),
|
|
4484
|
+
mnemonicTitle: localize(1514, "&&Toggle Editor Sticky Scroll")
|
|
4485
4485
|
},
|
|
4486
4486
|
metadata: {
|
|
4487
|
-
description: localize2(
|
|
4487
|
+
description: localize2(1519, "Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport")
|
|
4488
4488
|
},
|
|
4489
4489
|
category: Categories.View,
|
|
4490
4490
|
toggled: {
|
|
4491
4491
|
condition: ContextKeyExpr.equals("config.editor.stickyScroll.enabled", true),
|
|
4492
|
-
title: localize(
|
|
4493
|
-
mnemonicTitle: localize(
|
|
4492
|
+
title: localize(1515, "Sticky Scroll"),
|
|
4493
|
+
mnemonicTitle: localize(1516, "&&Sticky Scroll")
|
|
4494
4494
|
},
|
|
4495
4495
|
menu: [
|
|
4496
4496
|
{ id: MenuId.CommandPalette },
|
|
@@ -4516,8 +4516,8 @@ class FocusStickyScroll extends EditorAction2 {
|
|
|
4516
4516
|
super({
|
|
4517
4517
|
id: "editor.action.focusStickyScroll",
|
|
4518
4518
|
title: {
|
|
4519
|
-
...localize2(
|
|
4520
|
-
mnemonicTitle: localize(
|
|
4519
|
+
...localize2(1520, "Focus Editor Sticky Scroll"),
|
|
4520
|
+
mnemonicTitle: localize(1517, "&&Focus Editor Sticky Scroll")
|
|
4521
4521
|
},
|
|
4522
4522
|
precondition: ContextKeyExpr.and(ContextKeyExpr.has("config.editor.stickyScroll.enabled"), EditorContextKeys.stickyScrollVisible),
|
|
4523
4523
|
menu: [
|
|
@@ -4534,7 +4534,7 @@ class SelectNextStickyScrollLine extends EditorAction2 {
|
|
|
4534
4534
|
constructor() {
|
|
4535
4535
|
super({
|
|
4536
4536
|
id: "editor.action.selectNextStickyScrollLine",
|
|
4537
|
-
title: localize2(
|
|
4537
|
+
title: localize2(1521, "Select the next editor sticky scroll line"),
|
|
4538
4538
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
4539
4539
|
keybinding: {
|
|
4540
4540
|
weight,
|
|
@@ -4551,7 +4551,7 @@ class SelectPreviousStickyScrollLine extends EditorAction2 {
|
|
|
4551
4551
|
constructor() {
|
|
4552
4552
|
super({
|
|
4553
4553
|
id: "editor.action.selectPreviousStickyScrollLine",
|
|
4554
|
-
title: localize2(
|
|
4554
|
+
title: localize2(1522, "Select the previous sticky scroll line"),
|
|
4555
4555
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
4556
4556
|
keybinding: {
|
|
4557
4557
|
weight,
|
|
@@ -4568,7 +4568,7 @@ class GoToStickyScrollLine extends EditorAction2 {
|
|
|
4568
4568
|
constructor() {
|
|
4569
4569
|
super({
|
|
4570
4570
|
id: "editor.action.goToFocusedStickyScrollLine",
|
|
4571
|
-
title: localize2(
|
|
4571
|
+
title: localize2(1523, "Go to the focused sticky scroll line"),
|
|
4572
4572
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
4573
4573
|
keybinding: {
|
|
4574
4574
|
weight,
|
|
@@ -4585,7 +4585,7 @@ class SelectEditor extends EditorAction2 {
|
|
|
4585
4585
|
constructor() {
|
|
4586
4586
|
super({
|
|
4587
4587
|
id: "editor.action.selectEditor",
|
|
4588
|
-
title: localize2(
|
|
4588
|
+
title: localize2(1524, "Select Editor"),
|
|
4589
4589
|
precondition: EditorContextKeys.stickyScrollFocused.isEqualTo(true),
|
|
4590
4590
|
keybinding: {
|
|
4591
4591
|
weight,
|
|
@@ -4687,11 +4687,11 @@ var UnusualLineTerminatorsDetector = class UnusualLineTerminatorsDetector extend
|
|
|
4687
4687
|
try {
|
|
4688
4688
|
this._isPresentingDialog = true;
|
|
4689
4689
|
result = await this._dialogService.confirm({
|
|
4690
|
-
title: localize(
|
|
4691
|
-
message: localize(
|
|
4692
|
-
detail: localize(
|
|
4693
|
-
primaryButton: localize(
|
|
4694
|
-
cancelButton: localize(
|
|
4690
|
+
title: localize(1632, "Unusual Line Terminators"),
|
|
4691
|
+
message: localize(1633, "Detected unusual line terminators"),
|
|
4692
|
+
detail: localize(1634, "The file '{0}' contains one or more unusual line terminator characters, like Line Separator (LS) or Paragraph Separator (PS).\n\nIt is recommended to remove them from the file. This can be configured via `editor.unusualLineTerminators`.", basename2(model.uri)),
|
|
4693
|
+
primaryButton: localize(1635, "&&Remove Unusual Line Terminators"),
|
|
4694
|
+
cancelButton: localize(1636, "Ignore")
|
|
4695
4695
|
});
|
|
4696
4696
|
} finally {
|
|
4697
4697
|
this._isPresentingDialog = false;
|
|
@@ -5456,7 +5456,7 @@ class NextWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
5456
5456
|
constructor() {
|
|
5457
5457
|
super(true, {
|
|
5458
5458
|
id: "editor.action.wordHighlight.next",
|
|
5459
|
-
label: localize2(
|
|
5459
|
+
label: localize2(1646, "Go to Next Symbol Highlight"),
|
|
5460
5460
|
precondition: ctxHasWordHighlights,
|
|
5461
5461
|
kbOpts: {
|
|
5462
5462
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -5471,7 +5471,7 @@ class PrevWordHighlightAction extends WordHighlightNavigationAction {
|
|
|
5471
5471
|
constructor() {
|
|
5472
5472
|
super(false, {
|
|
5473
5473
|
id: "editor.action.wordHighlight.prev",
|
|
5474
|
-
label: localize2(
|
|
5474
|
+
label: localize2(1647, "Go to Previous Symbol Highlight"),
|
|
5475
5475
|
precondition: ctxHasWordHighlights,
|
|
5476
5476
|
kbOpts: {
|
|
5477
5477
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -5486,7 +5486,7 @@ class TriggerWordHighlightAction extends EditorAction {
|
|
|
5486
5486
|
constructor() {
|
|
5487
5487
|
super({
|
|
5488
5488
|
id: "editor.action.wordHighlight.trigger",
|
|
5489
|
-
label: localize2(
|
|
5489
|
+
label: localize2(1648, "Trigger Symbol Highlight"),
|
|
5490
5490
|
precondition: undefined,
|
|
5491
5491
|
kbOpts: {
|
|
5492
5492
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -6064,7 +6064,7 @@ var HelpQuickAccessProvider = class HelpQuickAccessProvider {
|
|
|
6064
6064
|
prefix,
|
|
6065
6065
|
label,
|
|
6066
6066
|
keybinding: helpEntry.commandId ? this.keybindingService.lookupKeybinding(helpEntry.commandId) : undefined,
|
|
6067
|
-
ariaLabel: localize(
|
|
6067
|
+
ariaLabel: localize(1844, "{0}, {1}", label, helpEntry.description),
|
|
6068
6068
|
description: helpEntry.description
|
|
6069
6069
|
};
|
|
6070
6070
|
});
|
|
@@ -6112,6 +6112,12 @@ function doScoreFuzzy2Single(target, query, patternStart, wordStart) {
|
|
|
6112
6112
|
}
|
|
6113
6113
|
return [score[0], createMatches(score)];
|
|
6114
6114
|
}
|
|
6115
|
+
new ConstantStringHash("allowNonContiguousMatches");
|
|
6116
|
+
new ConstantStringHash("description");
|
|
6117
|
+
new ConstantStringHash("label");
|
|
6118
|
+
new ConstantStringHash("values");
|
|
6119
|
+
new ConstantStringHash("expectContiguousMatch");
|
|
6120
|
+
new ConstantStringHash("value");
|
|
6115
6121
|
function normalizeMatches(matches) {
|
|
6116
6122
|
const sortedMatches = matches.sort((matchA, matchB) => {
|
|
6117
6123
|
return matchA.start - matchB.start;
|
|
@@ -6232,7 +6238,7 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
6232
6238
|
this.options.canAcceptInBackground = true;
|
|
6233
6239
|
}
|
|
6234
6240
|
provideWithoutTextEditor(picker) {
|
|
6235
|
-
this.provideLabelPick(picker, localize(
|
|
6241
|
+
this.provideLabelPick(picker, localize(1414, "To go to a symbol, first open a text editor with symbol information."));
|
|
6236
6242
|
return Disposable.None;
|
|
6237
6243
|
}
|
|
6238
6244
|
provideWithTextEditor(context, picker, token, runOptions) {
|
|
@@ -6248,7 +6254,7 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
6248
6254
|
}
|
|
6249
6255
|
doProvideWithoutEditorSymbols(context, model, picker, token) {
|
|
6250
6256
|
const disposables = new DisposableStore;
|
|
6251
|
-
this.provideLabelPick(picker, localize(
|
|
6257
|
+
this.provideLabelPick(picker, localize(1415, "The active text editor does not provide symbol information."));
|
|
6252
6258
|
(async () => {
|
|
6253
6259
|
const result = await this.waitForLanguageSymbolRegistry(model, disposables);
|
|
6254
6260
|
if (!result || token.isCancellationRequested) {
|
|
@@ -6322,9 +6328,9 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
6322
6328
|
}
|
|
6323
6329
|
} else {
|
|
6324
6330
|
if (query.original.length > 0) {
|
|
6325
|
-
this.provideLabelPick(picker, localize(
|
|
6331
|
+
this.provideLabelPick(picker, localize(1416, "No matching editor symbols"));
|
|
6326
6332
|
} else {
|
|
6327
|
-
this.provideLabelPick(picker, localize(
|
|
6333
|
+
this.provideLabelPick(picker, localize(1417, "No editor symbols"));
|
|
6328
6334
|
}
|
|
6329
6335
|
}
|
|
6330
6336
|
} finally {
|
|
@@ -6364,7 +6370,7 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
6364
6370
|
if (openSideBySideDirection) {
|
|
6365
6371
|
buttons = [{
|
|
6366
6372
|
iconClass: openSideBySideDirection === "right" ? ThemeIcon.asClassName(Codicon.splitHorizontal) : ThemeIcon.asClassName(Codicon.splitVertical),
|
|
6367
|
-
tooltip: openSideBySideDirection === "right" ? localize(
|
|
6373
|
+
tooltip: openSideBySideDirection === "right" ? localize(1418, "Open to the Side") : localize(1419, "Open to the Bottom")
|
|
6368
6374
|
}];
|
|
6369
6375
|
}
|
|
6370
6376
|
const filteredSymbolPicks = [];
|
|
@@ -6459,7 +6465,7 @@ var AbstractGotoSymbolQuickAccessProvider = class AbstractGotoSymbolQuickAccessP
|
|
|
6459
6465
|
updateLastSeparatorLabel();
|
|
6460
6466
|
} else if (sortedFilteredSymbolPicks.length > 0) {
|
|
6461
6467
|
symbolPicks = [
|
|
6462
|
-
{ label: localize(
|
|
6468
|
+
{ label: localize(1420, "symbols ({0})", filteredSymbolPicks.length), type: "separator" },
|
|
6463
6469
|
...sortedFilteredSymbolPicks
|
|
6464
6470
|
];
|
|
6465
6471
|
}
|
|
@@ -6503,33 +6509,33 @@ AbstractGotoSymbolQuickAccessProvider = AbstractGotoSymbolQuickAccessProvider_1
|
|
|
6503
6509
|
__param22(0, ILanguageFeaturesService),
|
|
6504
6510
|
__param22(1, IOutlineModelService)
|
|
6505
6511
|
], AbstractGotoSymbolQuickAccessProvider);
|
|
6506
|
-
var FALLBACK_NLS_SYMBOL_KIND = localize(
|
|
6512
|
+
var FALLBACK_NLS_SYMBOL_KIND = localize(1421, "properties ({0})");
|
|
6507
6513
|
var NLS_SYMBOL_KIND_CACHE = {
|
|
6508
|
-
[5]: localize(
|
|
6509
|
-
[11]: localize(
|
|
6510
|
-
[8]: localize(
|
|
6511
|
-
[12]: localize(
|
|
6512
|
-
[4]: localize(
|
|
6513
|
-
[22]: localize(
|
|
6514
|
-
[23]: localize(
|
|
6515
|
-
[24]: localize(
|
|
6516
|
-
[10]: localize(
|
|
6517
|
-
[2]: localize(
|
|
6518
|
-
[3]: localize(
|
|
6519
|
-
[25]: localize(
|
|
6520
|
-
[1]: localize(
|
|
6521
|
-
[6]: localize(
|
|
6522
|
-
[9]: localize(
|
|
6523
|
-
[21]: localize(
|
|
6524
|
-
[14]: localize(
|
|
6525
|
-
[0]: localize(
|
|
6526
|
-
[17]: localize(
|
|
6527
|
-
[15]: localize(
|
|
6528
|
-
[16]: localize(
|
|
6529
|
-
[18]: localize(
|
|
6530
|
-
[19]: localize(
|
|
6531
|
-
[7]: localize(
|
|
6532
|
-
[13]: localize(
|
|
6514
|
+
[5]: localize(1422, "methods ({0})"),
|
|
6515
|
+
[11]: localize(1423, "functions ({0})"),
|
|
6516
|
+
[8]: localize(1424, "constructors ({0})"),
|
|
6517
|
+
[12]: localize(1425, "variables ({0})"),
|
|
6518
|
+
[4]: localize(1426, "classes ({0})"),
|
|
6519
|
+
[22]: localize(1427, "structs ({0})"),
|
|
6520
|
+
[23]: localize(1428, "events ({0})"),
|
|
6521
|
+
[24]: localize(1429, "operators ({0})"),
|
|
6522
|
+
[10]: localize(1430, "interfaces ({0})"),
|
|
6523
|
+
[2]: localize(1431, "namespaces ({0})"),
|
|
6524
|
+
[3]: localize(1432, "packages ({0})"),
|
|
6525
|
+
[25]: localize(1433, "type parameters ({0})"),
|
|
6526
|
+
[1]: localize(1434, "modules ({0})"),
|
|
6527
|
+
[6]: localize(1435, "properties ({0})"),
|
|
6528
|
+
[9]: localize(1436, "enumerations ({0})"),
|
|
6529
|
+
[21]: localize(1437, "enumeration members ({0})"),
|
|
6530
|
+
[14]: localize(1438, "strings ({0})"),
|
|
6531
|
+
[0]: localize(1439, "files ({0})"),
|
|
6532
|
+
[17]: localize(1440, "arrays ({0})"),
|
|
6533
|
+
[15]: localize(1441, "numbers ({0})"),
|
|
6534
|
+
[16]: localize(1442, "booleans ({0})"),
|
|
6535
|
+
[18]: localize(1443, "objects ({0})"),
|
|
6536
|
+
[19]: localize(1444, "keys ({0})"),
|
|
6537
|
+
[7]: localize(1445, "fields ({0})"),
|
|
6538
|
+
[13]: localize(1446, "constants ({0})")
|
|
6533
6539
|
};
|
|
6534
6540
|
|
|
6535
6541
|
// ../../node_modules/monaco-editor/esm/vs/editor/standalone/browser/quickAccess/standaloneGotoSymbolQuickAccess.js
|
|
@@ -7102,20 +7108,20 @@ var AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
7102
7108
|
const commandPick = filteredCommandPicks[i];
|
|
7103
7109
|
const isInHistory = !!this.commandsHistory.peek(commandPick.commandId);
|
|
7104
7110
|
if (i === 0 && isInHistory) {
|
|
7105
|
-
commandPicks.push({ type: "separator", label: localize(
|
|
7111
|
+
commandPicks.push({ type: "separator", label: localize(1836, "recently used") });
|
|
7106
7112
|
addOtherSeparator = true;
|
|
7107
7113
|
}
|
|
7108
7114
|
if (addSuggestedSeparator && commandPick.tfIdfScore !== undefined) {
|
|
7109
|
-
commandPicks.push({ type: "separator", label: localize(
|
|
7115
|
+
commandPicks.push({ type: "separator", label: localize(1837, "similar commands") });
|
|
7110
7116
|
addSuggestedSeparator = false;
|
|
7111
7117
|
}
|
|
7112
7118
|
if (addCommonlyUsedSeparator && commandPick.tfIdfScore === undefined && !isInHistory && this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
7113
|
-
commandPicks.push({ type: "separator", label: localize(
|
|
7119
|
+
commandPicks.push({ type: "separator", label: localize(1838, "commonly used") });
|
|
7114
7120
|
addOtherSeparator = true;
|
|
7115
7121
|
addCommonlyUsedSeparator = false;
|
|
7116
7122
|
}
|
|
7117
7123
|
if (addOtherSeparator && commandPick.tfIdfScore === undefined && !isInHistory && !this.options.suggestedCommandIds?.has(commandPick.commandId)) {
|
|
7118
|
-
commandPicks.push({ type: "separator", label: localize(
|
|
7124
|
+
commandPicks.push({ type: "separator", label: localize(1839, "other commands") });
|
|
7119
7125
|
addOtherSeparator = false;
|
|
7120
7126
|
}
|
|
7121
7127
|
commandPicks.push(this.toCommandPick(commandPick, runOptions, isInHistory));
|
|
@@ -7132,7 +7138,7 @@ var AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
7132
7138
|
}
|
|
7133
7139
|
const commandPicks = additionalCommandPicks.map((commandPick) => this.toCommandPick(commandPick, runOptions));
|
|
7134
7140
|
if (addSuggestedSeparator && commandPicks[0]?.type !== "separator") {
|
|
7135
|
-
commandPicks.unshift({ type: "separator", label: localize(
|
|
7141
|
+
commandPicks.unshift({ type: "separator", label: localize(1840, "similar commands") });
|
|
7136
7142
|
}
|
|
7137
7143
|
return commandPicks;
|
|
7138
7144
|
})()
|
|
@@ -7144,17 +7150,18 @@ var AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
7144
7150
|
}
|
|
7145
7151
|
const tooltip = commandPick.tooltip ?? commandPick.commandDescription?.value;
|
|
7146
7152
|
const keybinding = this.keybindingService.lookupKeybinding(commandPick.commandId);
|
|
7147
|
-
const ariaLabel = keybinding ? localize(
|
|
7153
|
+
const ariaLabel = keybinding ? localize(1841, "{0}, {1}", commandPick.label, keybinding.getAriaLabel()) : commandPick.label;
|
|
7148
7154
|
const existingButtons = commandPick.buttons || [];
|
|
7149
7155
|
const buttons = isRecentlyUsed ? [
|
|
7150
7156
|
...existingButtons,
|
|
7151
7157
|
{
|
|
7152
7158
|
iconClass: ThemeIcon.asClassName(Codicon.close),
|
|
7153
|
-
tooltip: localize(
|
|
7159
|
+
tooltip: localize(1842, "Remove from Recently Used")
|
|
7154
7160
|
}
|
|
7155
7161
|
] : commandPick.buttons;
|
|
7156
7162
|
return {
|
|
7157
7163
|
...commandPick,
|
|
7164
|
+
id: commandPick.commandId,
|
|
7158
7165
|
tooltip,
|
|
7159
7166
|
ariaLabel,
|
|
7160
7167
|
detail: this.options.showAlias && commandPick.commandAlias !== commandPick.label ? commandPick.commandAlias : undefined,
|
|
@@ -7170,7 +7177,7 @@ var AbstractCommandsQuickAccessProvider = class AbstractCommandsQuickAccessProvi
|
|
|
7170
7177
|
commandPick.args?.length ? await this.commandService.executeCommand(commandPick.commandId, ...commandPick.args) : await this.commandService.executeCommand(commandPick.commandId);
|
|
7171
7178
|
} catch (error) {
|
|
7172
7179
|
if (!isCancellationError(error)) {
|
|
7173
|
-
this.dialogService.error(localize(
|
|
7180
|
+
this.dialogService.error(localize(1843, "Command '{0}' resulted in an error", commandPick.label), toErrorMessage(error));
|
|
7174
7181
|
}
|
|
7175
7182
|
}
|
|
7176
7183
|
},
|
|
@@ -7543,5 +7550,5 @@ function createWebWorker(opts) {
|
|
|
7543
7550
|
|
|
7544
7551
|
export { createWebWorker };
|
|
7545
7552
|
|
|
7546
|
-
//# debugId=
|
|
7547
|
-
//# sourceMappingURL=studio-
|
|
7553
|
+
//# debugId=2CCED9C46324C3F264756E2164756E21
|
|
7554
|
+
//# sourceMappingURL=studio-fbcyz234.js.map
|