lean4monaco 1.0.35 → 1.0.37
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/README.md +1 -1
- package/dist/css/custom.css +13 -0
- package/dist/css/vscode_webview.css +106 -0
- package/dist/infowebview.js +3 -0
- package/dist/{lean4-infoview → vscode-lean4/lean4-infoview/dist}/index.css +213 -8
- package/dist/vscode-lean4/lean4-infoview/src/infoview/highlightjs.css +210 -0
- package/dist/vscode-lean4/lean4-unicode-input/dist/abbreviations.json +1829 -0
- package/dist/vscode-lean4/vscode-lean4/dist/lean4-infoview/codicon.ttf +0 -0
- package/dist/vscode-lean4/vscode-lean4/dist/lean4-infoview/index.css +4366 -0
- package/dist/vscode-lean4/vscode-lean4/dist/loogleview/static/codicons/codicon.css +571 -0
- package/dist/vscode-lean4/vscode-lean4/dist/loogleview/static/codicons/codicon.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/dist/loogleview/static/codicons/codicon.ttf +0 -0
- package/dist/vscode-lean4/vscode-lean4/dist/loogleview/static/index.css +97 -0
- package/dist/vscode-lean4/vscode-lean4/dist/moogleview/static/codicons/codicon.css +571 -0
- package/dist/vscode-lean4/vscode-lean4/dist/moogleview/static/codicons/codicon.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/dist/moogleview/static/codicons/codicon.ttf +0 -0
- package/dist/vscode-lean4/vscode-lean4/dist/moogleview/static/index.css +198 -0
- package/dist/vscode-lean4/vscode-lean4/moogleview/static/index.css +198 -0
- package/dist/vscode-lean4/vscode-lean4/moogleview/tsconfig.json +10 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/_iconCloud/keywords.transforms.json +83 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/_iconCloud/keywords.variables.json +47 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/_iconCloud/manifest.json +36 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/_iconCloud/manifest.transforms.json +368 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/_iconCloud/manifest.variables.json +149 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/dist/codicon.css +629 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/dist/codicon.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/dist/codicon.ttf +0 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/package.json +35 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/account.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/activate-breakpoints.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/add.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/archive.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-both.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-circle-down.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-circle-left.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-circle-right.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-circle-up.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-down.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-left.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-right.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-small-down.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-small-left.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-small-right.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-small-up.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-swap.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/arrow-up.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/azure-devops.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/azure.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/beaker-stop.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/beaker.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/bell-dot.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/bell-slash-dot.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/bell-slash.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/bell.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/blank.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/bold.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/book.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/bookmark.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/bracket-dot.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/bracket-error.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/briefcase.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/broadcast.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/browser.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/bug.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/calendar.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/call-incoming.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/call-outgoing.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/case-sensitive.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/check-all.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/check.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/checklist.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/chevron-down.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/chevron-left.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/chevron-right.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/chevron-up.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/chip.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/chrome-close.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/chrome-maximize.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/chrome-minimize.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/chrome-restore.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/circle-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/circle-large-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/circle-large.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/circle-slash.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/circle-small-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/circle-small.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/circle.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/circuit-board.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/clear-all.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/clippy.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/close-all.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/close.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/cloud-download.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/cloud-upload.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/cloud.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/code-oss.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/code.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/coffee.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/collapse-all.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/color-mode.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/combine.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/comment-discussion.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/comment-draft.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/comment-unresolved.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/comment.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/compass-active.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/compass-dot.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/compass.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/copilot.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/copy.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/coverage.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/credit-card.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/dash.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/dashboard.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/database.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-all.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-alt-small.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-alt.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-breakpoint-conditional-unverified.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-breakpoint-conditional.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-breakpoint-data-unverified.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-breakpoint-data.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-breakpoint-function-unverified.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-breakpoint-function.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-breakpoint-log-unverified.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-breakpoint-log.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-breakpoint-unsupported.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-console.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-continue-small.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-continue.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-coverage.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-disconnect.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-line-by-line.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-pause.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-rerun.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-restart-frame.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-restart.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-reverse-continue.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-stackframe-active.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-stackframe.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-start.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-step-back.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-step-into.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-step-out.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-step-over.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug-stop.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/debug.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/desktop-download.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/device-camera-video.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/device-camera.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/device-mobile.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/diff-added.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/diff-ignored.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/diff-modified.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/diff-multiple.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/diff-removed.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/diff-renamed.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/diff-single.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/diff.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/discard.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/edit.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/editor-layout.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/ellipsis.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/empty-window.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/error-small.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/error.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/exclude.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/expand-all.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/export.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/extensions.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/eye-closed.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/eye.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/feedback.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/file-binary.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/file-code.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/file-media.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/file-pdf.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/file-submodule.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/file-symlink-directory.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/file-symlink-file.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/file-zip.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/file.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/files.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/filter-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/filter.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/flame.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/fold-down.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/fold-up.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/fold.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/folder-active.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/folder-library.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/folder-opened.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/folder.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/game.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/gear.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/gift.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/gist-secret.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/gist.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-commit.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-compare.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-fetch.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-merge.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-pull-request-closed.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-pull-request-create.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-pull-request-draft.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-pull-request-go-to-changes.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-pull-request-new-changes.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-pull-request.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-stash-apply.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-stash-pop.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/git-stash.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/github-action.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/github-alt.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/github-inverted.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/github-project.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/github.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/globe.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/go-to-file.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/go-to-search.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/grabber.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/graph-left.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/graph-line.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/graph-scatter.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/graph.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/gripper.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/group-by-ref-type.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/heart-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/heart.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/history.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/home.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/horizontal-rule.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/hubot.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/inbox.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/indent.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/info.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/insert.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/inspect.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/issue-draft.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/issue-reopened.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/issues.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/italic.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/jersey.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/json.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/kebab-vertical.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/key.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/law.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layers-active.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layers-dot.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layers.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-activitybar-left.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-activitybar-right.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-centered.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-menubar.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-panel-center.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-panel-justify.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-panel-left.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-panel-off.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-panel-right.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-panel.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-sidebar-left-off.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-sidebar-left.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-sidebar-right-off.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-sidebar-right.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout-statusbar.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/layout.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/library.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/lightbulb-autofix.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/lightbulb-sparkle.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/lightbulb.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/link-external.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/link.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/list-filter.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/list-flat.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/list-ordered.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/list-selection.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/list-tree.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/list-unordered.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/live-share.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/loading.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/location.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/lock-small.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/lock.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/magnet.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/mail-read.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/mail.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/map-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/map-vertical-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/map-vertical.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/map.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/markdown.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/megaphone.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/mention.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/menu.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/merge.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/mic-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/mic.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/milestone.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/mirror.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/mortar-board.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/move.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/multiple-windows.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/music.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/mute.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/new-file.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/new-folder.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/newline.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/no-newline.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/note.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/notebook-template.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/notebook.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/octoface.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/open-preview.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/organization.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/output.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/package.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/paintcan.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/pass-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/pass.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/percentage.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/person-add.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/person.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/piano.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/pie-chart.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/pin.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/pinned-dirty.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/pinned.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/play-circle.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/play.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/plug.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/preserve-case.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/preview.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/primitive-square.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/project.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/pulse.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/question.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/quote.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/radio-tower.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/reactions.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/record-keys.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/record-small.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/record.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/redo.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/references.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/refresh.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/regex.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/remote-explorer.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/remote.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/remove.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/replace-all.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/replace.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/reply.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/repo-clone.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/repo-fetch.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/repo-force-push.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/repo-forked.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/repo-pull.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/repo-push.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/repo.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/report.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/request-changes.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/robot.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/rocket.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/root-folder-opened.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/root-folder.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/rss.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/ruby.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/run-above.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/run-all-coverage.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/run-all.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/run-below.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/run-coverage.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/run-errors.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/save-all.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/save-as.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/save.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/screen-full.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/screen-normal.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/search-fuzzy.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/search-stop.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/search.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/send.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/server-environment.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/server-process.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/server.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/settings-gear.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/settings.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/share.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/shield.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/sign-in.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/sign-out.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/smiley.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/snake.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/sort-precedence.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/source-control.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/sparkle-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/sparkle.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/split-horizontal.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/split-vertical.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/squirrel.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/star-empty.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/star-full.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/star-half.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/stop-circle.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/surround-with.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-array.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-boolean.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-class.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-color.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-constant.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-enum-member.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-enum.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-event.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-field.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-file.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-interface.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-key.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-keyword.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-method.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-misc.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-namespace.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-numeric.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-operator.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-parameter.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-property.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-ruler.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-snippet.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-string.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-structure.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/symbol-variable.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/sync-ignored.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/sync.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/table.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/tag.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/target.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/tasklist.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/telescope.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/terminal-bash.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/terminal-cmd.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/terminal-debian.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/terminal-linux.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/terminal-powershell.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/terminal-tmux.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/terminal-ubuntu.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/terminal.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/text-size.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/three-bars.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/thumbsdown-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/thumbsdown.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/thumbsup-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/thumbsup.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/tools.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/trash.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/triangle-down.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/triangle-left.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/triangle-right.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/triangle-up.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/twitter.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/type-hierarchy-sub.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/type-hierarchy-super.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/type-hierarchy.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/unfold.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/ungroup-by-ref-type.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/unlock.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/unmute.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/unverified.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/variable-group.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/verified-filled.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/verified.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/versions.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/vm-active.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/vm-connect.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/vm-outline.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/vm-running.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/vm.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/vr.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/vscode-insiders.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/vscode.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/wand.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/warning.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/watch.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/whitespace.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/whole-word.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/window.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/word-wrap.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/workspace-trusted.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/workspace-unknown.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/workspace-untrusted.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/zoom-in.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/icons/zoom-out.svg +1 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/@vscode/codicons/src/template/mapping.json +571 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/glob/dist/commonjs/package.json +3 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/glob/dist/esm/package.json +3 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/glob/package.json +98 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/jackspeak/dist/commonjs/package.json +3 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/jackspeak/dist/esm/package.json +3 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/jackspeak/package.json +94 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/lru-cache/package.json +115 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/minimatch/dist/esm/package.json +3 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/minimatch/package.json +80 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/dist/vscode-lean4/vscode-lean4/node_modules/path-scurry/package.json +88 -0
- package/dist/{monaco-lean4/vscode-lean4/src/utils/batch.d.ts → vscode-lean4/vscode-lean4/src/utils/batchBasics.d.ts} +11 -8
- package/dist/vscode-lean4/vscode-lean4/src/utils/batchBasics.js +48 -0
- package/dist/vscode-lean4/vscode-lean4/src/utils/batchTypes.d.ts +14 -0
- package/dist/vscode-lean4/vscode-lean4/src/utils/batchTypes.js +22 -0
- package/dist/vscode-lean4/vscode-lean4/src/utils/groupBy.d.ts +2 -0
- package/dist/vscode-lean4/vscode-lean4/src/utils/groupBy.js +17 -0
- package/dist/vscode-lean4/vscode-lean4/src/utils/leanCmdRunner.d.ts +34 -0
- package/dist/vscode-lean4/vscode-lean4/src/utils/leanCmdRunner.js +249 -0
- package/dist/vscode-lean4/vscode-lean4/src/utils/leanEditorProvider.d.ts +83 -0
- package/dist/vscode-lean4/vscode-lean4/src/utils/leanEditorProvider.js +323 -0
- package/dist/vscode-lean4/vscode-lean4/src/utils/viewColumn.d.ts +3 -0
- package/dist/vscode-lean4/vscode-lean4/src/utils/viewColumn.js +22 -0
- package/package.json +1 -1
- package/dist/JuliaMono-Regular.ttf +0 -0
- package/dist/lean4-infoview/esm-shims/react-dom.d.ts +0 -5
- package/dist/lean4-infoview/esm-shims/react-jsx-runtime.d.ts +0 -5
- package/dist/lean4-infoview/esm-shims/react.d.ts +0 -5
- package/dist/lean4-infoview/index.d.ts +0 -16
- package/dist/lean4-infoview/index.development.js +0 -37312
- package/dist/lean4-infoview/index.production.min.js +0 -1528
- package/dist/lean4-infoview/infoview/collapsing.d.ts +0 -12
- package/dist/lean4-infoview/infoview/contexts.d.ts +0 -10
- package/dist/lean4-infoview/infoview/editorConnection.d.ts +0 -22
- package/dist/lean4-infoview/infoview/errors.d.ts +0 -14
- package/dist/lean4-infoview/infoview/event.d.ts +0 -33
- package/dist/lean4-infoview/infoview/goalLocation.d.ts +0 -61
- package/dist/lean4-infoview/infoview/goals.d.ts +0 -46
- package/dist/lean4-infoview/infoview/info.d.ts +0 -18
- package/dist/lean4-infoview/infoview/infos.d.ts +0 -2
- package/dist/lean4-infoview/infoview/interactiveCode.d.ts +0 -19
- package/dist/lean4-infoview/infoview/main.d.ts +0 -13
- package/dist/lean4-infoview/infoview/messages.d.ts +0 -19
- package/dist/lean4-infoview/infoview/rpcSessions.d.ts +0 -11
- package/dist/lean4-infoview/infoview/serverVersion.d.ts +0 -10
- package/dist/lean4-infoview/infoview/tooltips.d.ts +0 -32
- package/dist/lean4-infoview/infoview/traceExplorer.d.ts +0 -11
- package/dist/lean4-infoview/infoview/userWidget.d.ts +0 -39
- package/dist/lean4-infoview/infoview/util.d.ts +0 -144
- package/dist/lean4-infoview/loader.d.ts +0 -20
- package/dist/lean4-infoview/loader.development.js +0 -1006
- package/dist/lean4-infoview/loader.production.min.js +0 -1
- package/dist/lean4-infoview/react-dom.development.js +0 -30537
- package/dist/lean4-infoview/react-dom.production.min.js +0 -21
- package/dist/lean4-infoview/react-jsx-runtime.development.js +0 -1362
- package/dist/lean4-infoview/react-jsx-runtime.production.min.js +0 -1
- package/dist/lean4-infoview/react.development.js +0 -2823
- package/dist/lean4-infoview/react.production.min.js +0 -1
- package/dist/monaco-lean4/vscode-lean4/package.json +0 -944
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationFeature.d.ts +0 -9
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationFeature.js +0 -20
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationHoverProvider.d.ts +0 -12
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationHoverProvider.js +0 -40
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationRewriterFeature.d.ts +0 -20
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationRewriterFeature.js +0 -79
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationConfig.d.ts +0 -13
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationConfig.js +0 -29
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationRewriter.d.ts +0 -28
- package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationRewriter.js +0 -124
- package/dist/monaco-lean4/vscode-lean4/src/config.d.ts +0 -33
- package/dist/monaco-lean4/vscode-lean4/src/config.js +0 -119
- package/dist/monaco-lean4/vscode-lean4/src/diagnostics/setupNotifs.d.ts +0 -27
- package/dist/monaco-lean4/vscode-lean4/src/diagnostics/setupNotifs.js +0 -133
- package/dist/monaco-lean4/vscode-lean4/src/infoview.d.ts +0 -69
- package/dist/monaco-lean4/vscode-lean4/src/infoview.js +0 -711
- package/dist/monaco-lean4/vscode-lean4/src/leanclient.d.ts +0 -67
- package/dist/monaco-lean4/vscode-lean4/src/leanclient.js +0 -443
- package/dist/monaco-lean4/vscode-lean4/src/rpc.d.ts +0 -16
- package/dist/monaco-lean4/vscode-lean4/src/rpc.js +0 -102
- package/dist/monaco-lean4/vscode-lean4/src/taskgutter.d.ts +0 -11
- package/dist/monaco-lean4/vscode-lean4/src/taskgutter.js +0 -130
- package/dist/monaco-lean4/vscode-lean4/src/utils/batch.js +0 -203
- package/dist/monaco-lean4/vscode-lean4/src/utils/clientProvider.d.ts +0 -41
- package/dist/monaco-lean4/vscode-lean4/src/utils/clientProvider.js +0 -205
- package/dist/monaco-lean4/vscode-lean4/src/utils/converters.d.ts +0 -16
- package/dist/monaco-lean4/vscode-lean4/src/utils/converters.js +0 -129
- package/dist/monaco-lean4/vscode-lean4/src/utils/elan.d.ts +0 -3
- package/dist/monaco-lean4/vscode-lean4/src/utils/elan.js +0 -4
- package/dist/monaco-lean4/vscode-lean4/src/utils/envPath.d.ts +0 -21
- package/dist/monaco-lean4/vscode-lean4/src/utils/envPath.js +0 -53
- package/dist/monaco-lean4/vscode-lean4/src/utils/exturi.d.ts +0 -35
- package/dist/monaco-lean4/vscode-lean4/src/utils/exturi.js +0 -136
- package/dist/monaco-lean4/vscode-lean4/src/utils/fsHelper.d.ts +0 -17
- package/dist/monaco-lean4/vscode-lean4/src/utils/fsHelper.js +0 -36
- package/dist/monaco-lean4/vscode-lean4/src/utils/leanInstaller.d.ts +0 -37
- package/dist/monaco-lean4/vscode-lean4/src/utils/leanInstaller.js +0 -210
- package/dist/monaco-lean4/vscode-lean4/src/utils/logger.d.ts +0 -7
- package/dist/monaco-lean4/vscode-lean4/src/utils/logger.js +0 -20
- package/dist/monaco-lean4/vscode-lean4/src/utils/notifs.d.ts +0 -24
- package/dist/monaco-lean4/vscode-lean4/src/utils/notifs.js +0 -110
- package/dist/monaco-lean4/vscode-lean4/src/utils/projectInfo.d.ts +0 -9
- package/dist/monaco-lean4/vscode-lean4/src/utils/projectInfo.js +0 -125
- package/dist/vscode.css +0 -7
- /package/dist/{lean4-infoview → vscode-lean4/lean4-infoview/dist}/codicon.ttf +0 -0
|
@@ -1,711 +0,0 @@
|
|
|
1
|
-
import { RpcErrorCode, } from '@leanprover/infoview-api';
|
|
2
|
-
import { commands, env, languages, Selection, TextEditorRevealType, ViewColumn, window, workspace, } from 'vscode';
|
|
3
|
-
import { getEditorLineHeight, getInfoViewAllErrorsOnLine, getInfoViewAutoOpen, getInfoViewAutoOpenShowsGoal, getInfoViewDebounceTime, getInfoViewEmphasizeFirstGoal, getInfoViewReverseTacticState, getInfoViewShowExpectedType, getInfoViewShowGoalNames, getInfoViewShowTooltipOnHover, getInfoViewStyle, } from './config';
|
|
4
|
-
import { c2pConverter, p2cConverter } from './utils/converters';
|
|
5
|
-
import { parseExtUri, toExtUri } from './utils/exturi';
|
|
6
|
-
import { logger } from './utils/logger';
|
|
7
|
-
import { displayError, displayInformation } from './utils/notifs';
|
|
8
|
-
const keepAlivePeriodMs = 10000;
|
|
9
|
-
async function rpcConnect(client, uri) {
|
|
10
|
-
const connParams = { uri };
|
|
11
|
-
const result = await client.sendRequest('$/lean/rpc/connect', connParams);
|
|
12
|
-
return result.sessionId;
|
|
13
|
-
}
|
|
14
|
-
class RpcSessionAtPos {
|
|
15
|
-
sessionId;
|
|
16
|
-
uri;
|
|
17
|
-
keepAliveInterval;
|
|
18
|
-
client;
|
|
19
|
-
constructor(client, sessionId, uri) {
|
|
20
|
-
this.sessionId = sessionId;
|
|
21
|
-
this.uri = uri;
|
|
22
|
-
this.client = client;
|
|
23
|
-
this.keepAliveInterval = setInterval(async () => {
|
|
24
|
-
const params = { uri, sessionId };
|
|
25
|
-
try {
|
|
26
|
-
await client.sendNotification('$/lean/rpc/keepAlive', params);
|
|
27
|
-
}
|
|
28
|
-
catch (e) {
|
|
29
|
-
logger.log(`[InfoProvider] failed to send keepalive for ${uri}: ${e}`);
|
|
30
|
-
if (this.keepAliveInterval)
|
|
31
|
-
clearInterval(this.keepAliveInterval);
|
|
32
|
-
}
|
|
33
|
-
}, keepAlivePeriodMs);
|
|
34
|
-
}
|
|
35
|
-
dispose() {
|
|
36
|
-
if (this.keepAliveInterval)
|
|
37
|
-
clearInterval(this.keepAliveInterval);
|
|
38
|
-
// TODO: at this point we could close the session
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
export class InfoProvider {
|
|
42
|
-
provider;
|
|
43
|
-
leanDocs;
|
|
44
|
-
context;
|
|
45
|
-
infoWebviewFactory;
|
|
46
|
-
/** Instance of the panel, if it is open. Otherwise `undefined`. */
|
|
47
|
-
webviewPanel;
|
|
48
|
-
subscriptions = [];
|
|
49
|
-
clientSubscriptions = [];
|
|
50
|
-
stylesheet = '';
|
|
51
|
-
autoOpened = false;
|
|
52
|
-
clientProvider;
|
|
53
|
-
// Subscriptions are counted and only disposed of when count becomes 0.
|
|
54
|
-
serverNotifSubscriptions = new Map();
|
|
55
|
-
clientNotifSubscriptions = new Map();
|
|
56
|
-
rpcSessions = new Map();
|
|
57
|
-
// the key is the LeanClient.getClientFolder()
|
|
58
|
-
clientsFailed = new Map();
|
|
59
|
-
// the key is the uri of the file who's worker has failed.
|
|
60
|
-
workersFailed = new Map();
|
|
61
|
-
subscribeDidChangeNotification(client, method) {
|
|
62
|
-
const h = client.didChange(params => {
|
|
63
|
-
void this.webviewPanel?.api.sentClientNotification(method, params);
|
|
64
|
-
});
|
|
65
|
-
return h;
|
|
66
|
-
}
|
|
67
|
-
subscribeDidCloseNotification(client, method) {
|
|
68
|
-
const h = client.didClose(params => {
|
|
69
|
-
void this.webviewPanel?.api.sentClientNotification(method, params);
|
|
70
|
-
});
|
|
71
|
-
return h;
|
|
72
|
-
}
|
|
73
|
-
subscribeDiagnosticsNotification(client, method) {
|
|
74
|
-
const h = client.diagnostics(params => {
|
|
75
|
-
void this.webviewPanel?.api.gotServerNotification(method, params);
|
|
76
|
-
});
|
|
77
|
-
return h;
|
|
78
|
-
}
|
|
79
|
-
subscribeCustomNotification(client, method) {
|
|
80
|
-
const h = client.customNotification(({ method: thisMethod, params }) => {
|
|
81
|
-
if (thisMethod !== method)
|
|
82
|
-
return;
|
|
83
|
-
void this.webviewPanel?.api.gotServerNotification(method, params);
|
|
84
|
-
});
|
|
85
|
-
return h;
|
|
86
|
-
}
|
|
87
|
-
editorApi = {
|
|
88
|
-
sendClientRequest: async (uri, method, params) => {
|
|
89
|
-
const extUri = parseExtUri(uri);
|
|
90
|
-
if (extUri === undefined) {
|
|
91
|
-
return undefined;
|
|
92
|
-
}
|
|
93
|
-
const client = this.clientProvider.findClient(extUri);
|
|
94
|
-
if (client) {
|
|
95
|
-
try {
|
|
96
|
-
const result = await client.sendRequest(method, params);
|
|
97
|
-
return result;
|
|
98
|
-
}
|
|
99
|
-
catch (ex) {
|
|
100
|
-
if (ex.code === RpcErrorCode.WorkerCrashed) {
|
|
101
|
-
// ex codes related with worker exited or crashed
|
|
102
|
-
logger.log(`[InfoProvider]The Lean Server has stopped processing this file: ${ex.message}`);
|
|
103
|
-
await this.onWorkerStopped(uri, client, {
|
|
104
|
-
message: 'The Lean Server has stopped processing this file: ',
|
|
105
|
-
reason: ex.message,
|
|
106
|
-
});
|
|
107
|
-
}
|
|
108
|
-
throw ex;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
return undefined;
|
|
112
|
-
},
|
|
113
|
-
sendClientNotification: async (uri, method, params) => {
|
|
114
|
-
const extUri = parseExtUri(uri);
|
|
115
|
-
if (extUri === undefined) {
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
const client = this.clientProvider.findClient(extUri);
|
|
119
|
-
if (client) {
|
|
120
|
-
await client.sendNotification(method, params);
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
subscribeServerNotifications: async (method) => {
|
|
124
|
-
const el = this.serverNotifSubscriptions.get(method);
|
|
125
|
-
if (el) {
|
|
126
|
-
const [count, h] = el;
|
|
127
|
-
this.serverNotifSubscriptions.set(method, [count + 1, h]);
|
|
128
|
-
return;
|
|
129
|
-
}
|
|
130
|
-
// NOTE(WN): For non-custom notifications we cannot call LanguageClient.onNotification
|
|
131
|
-
// here because that *overwrites* the notification handler rather than registers an extra one.
|
|
132
|
-
// So we have to add a bunch of event emitters to `LeanClient.`
|
|
133
|
-
if (method === 'textDocument/publishDiagnostics') {
|
|
134
|
-
const subscriptions = [];
|
|
135
|
-
for (const client of this.clientProvider.getClients()) {
|
|
136
|
-
subscriptions.push(this.subscribeDiagnosticsNotification(client, method));
|
|
137
|
-
}
|
|
138
|
-
this.serverNotifSubscriptions.set(method, [1, subscriptions]);
|
|
139
|
-
}
|
|
140
|
-
else if (method.startsWith('$')) {
|
|
141
|
-
const subscriptions = [];
|
|
142
|
-
for (const client of this.clientProvider.getClients()) {
|
|
143
|
-
subscriptions.push(this.subscribeCustomNotification(client, method));
|
|
144
|
-
}
|
|
145
|
-
this.serverNotifSubscriptions.set(method, [1, subscriptions]);
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
throw new Error(`subscription to ${method} server notifications not implemented`);
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
unsubscribeServerNotifications: async (method) => {
|
|
152
|
-
const el = this.serverNotifSubscriptions.get(method);
|
|
153
|
-
if (!el)
|
|
154
|
-
throw new Error(`trying to unsubscribe from '${method}' with no active subscriptions`);
|
|
155
|
-
const [count, subscriptions] = el;
|
|
156
|
-
if (count === 1) {
|
|
157
|
-
for (const h of subscriptions) {
|
|
158
|
-
h.dispose();
|
|
159
|
-
}
|
|
160
|
-
this.serverNotifSubscriptions.delete(method);
|
|
161
|
-
}
|
|
162
|
-
else {
|
|
163
|
-
this.serverNotifSubscriptions.set(method, [count - 1, subscriptions]);
|
|
164
|
-
}
|
|
165
|
-
},
|
|
166
|
-
subscribeClientNotifications: async (method) => {
|
|
167
|
-
const el = this.clientNotifSubscriptions.get(method);
|
|
168
|
-
if (el) {
|
|
169
|
-
const [count, d] = el;
|
|
170
|
-
this.clientNotifSubscriptions.set(method, [count + 1, d]);
|
|
171
|
-
return;
|
|
172
|
-
}
|
|
173
|
-
if (method === 'textDocument/didChange') {
|
|
174
|
-
const subscriptions = [];
|
|
175
|
-
for (const client of this.clientProvider.getClients()) {
|
|
176
|
-
subscriptions.push(this.subscribeDidChangeNotification(client, method));
|
|
177
|
-
}
|
|
178
|
-
this.clientNotifSubscriptions.set(method, [1, subscriptions]);
|
|
179
|
-
}
|
|
180
|
-
else if (method === 'textDocument/didClose') {
|
|
181
|
-
const subscriptions = [];
|
|
182
|
-
for (const client of this.clientProvider.getClients()) {
|
|
183
|
-
subscriptions.push(this.subscribeDidCloseNotification(client, method));
|
|
184
|
-
}
|
|
185
|
-
this.clientNotifSubscriptions.set(method, [1, subscriptions]);
|
|
186
|
-
}
|
|
187
|
-
else {
|
|
188
|
-
throw new Error(`Subscription to '${method}' client notifications not implemented`);
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
unsubscribeClientNotifications: async (method) => {
|
|
192
|
-
const el = this.clientNotifSubscriptions.get(method);
|
|
193
|
-
if (!el)
|
|
194
|
-
throw new Error(`trying to unsubscribe from '${method}' with no active subscriptions`);
|
|
195
|
-
const [count, subscriptions] = el;
|
|
196
|
-
if (count === 1) {
|
|
197
|
-
for (const d of subscriptions) {
|
|
198
|
-
d.dispose();
|
|
199
|
-
}
|
|
200
|
-
this.clientNotifSubscriptions.delete(method);
|
|
201
|
-
}
|
|
202
|
-
else {
|
|
203
|
-
this.clientNotifSubscriptions.set(method, [count - 1, subscriptions]);
|
|
204
|
-
}
|
|
205
|
-
},
|
|
206
|
-
copyToClipboard: async (text) => {
|
|
207
|
-
await env.clipboard.writeText(text);
|
|
208
|
-
displayInformation(`Copied to clipboard: ${text}`);
|
|
209
|
-
},
|
|
210
|
-
insertText: async (text, kind, tdpp) => {
|
|
211
|
-
let uri;
|
|
212
|
-
let pos;
|
|
213
|
-
if (tdpp) {
|
|
214
|
-
uri = toExtUri(p2cConverter.asUri(tdpp.textDocument.uri));
|
|
215
|
-
if (uri === undefined) {
|
|
216
|
-
return;
|
|
217
|
-
}
|
|
218
|
-
pos = p2cConverter.asPosition(tdpp.position);
|
|
219
|
-
}
|
|
220
|
-
await this.handleInsertText(text, kind, uri, pos);
|
|
221
|
-
},
|
|
222
|
-
applyEdit: async (e) => {
|
|
223
|
-
const we = await p2cConverter.asWorkspaceEdit(e);
|
|
224
|
-
await workspace.applyEdit(we);
|
|
225
|
-
},
|
|
226
|
-
showDocument: async (show) => {
|
|
227
|
-
const uri = parseExtUri(show.uri);
|
|
228
|
-
if (uri === undefined) {
|
|
229
|
-
return;
|
|
230
|
-
}
|
|
231
|
-
void this.revealEditorSelection(uri, p2cConverter.asRange(show.selection));
|
|
232
|
-
},
|
|
233
|
-
restartFile: async (uri) => {
|
|
234
|
-
const extUri = parseExtUri(uri);
|
|
235
|
-
if (extUri === undefined) {
|
|
236
|
-
return;
|
|
237
|
-
}
|
|
238
|
-
const client = this.clientProvider.findClient(extUri);
|
|
239
|
-
if (!client) {
|
|
240
|
-
return;
|
|
241
|
-
}
|
|
242
|
-
const document = workspace.textDocuments.find(doc => extUri.equalsUri(doc.uri));
|
|
243
|
-
if (!document || document.isClosed) {
|
|
244
|
-
return;
|
|
245
|
-
}
|
|
246
|
-
await client.restartFile(document);
|
|
247
|
-
},
|
|
248
|
-
createRpcSession: async (uri) => {
|
|
249
|
-
const extUri = parseExtUri(uri);
|
|
250
|
-
if (extUri === undefined) {
|
|
251
|
-
return '';
|
|
252
|
-
}
|
|
253
|
-
const client = this.clientProvider.findClient(extUri);
|
|
254
|
-
if (!client)
|
|
255
|
-
return '';
|
|
256
|
-
const sessionId = await rpcConnect(client, uri);
|
|
257
|
-
const session = new RpcSessionAtPos(client, sessionId, uri);
|
|
258
|
-
if (!this.webviewPanel) {
|
|
259
|
-
session.dispose();
|
|
260
|
-
throw Error('infoview disconnect while connecting to RPC session');
|
|
261
|
-
}
|
|
262
|
-
else {
|
|
263
|
-
this.rpcSessions.set(sessionId, session);
|
|
264
|
-
return sessionId;
|
|
265
|
-
}
|
|
266
|
-
},
|
|
267
|
-
closeRpcSession: async (sessionId) => {
|
|
268
|
-
const session = this.rpcSessions.get(sessionId);
|
|
269
|
-
if (session) {
|
|
270
|
-
this.rpcSessions.delete(sessionId);
|
|
271
|
-
session.dispose();
|
|
272
|
-
}
|
|
273
|
-
},
|
|
274
|
-
};
|
|
275
|
-
constructor(provider, leanDocs, context, infoWebviewFactory) {
|
|
276
|
-
this.provider = provider;
|
|
277
|
-
this.leanDocs = leanDocs;
|
|
278
|
-
this.context = context;
|
|
279
|
-
this.infoWebviewFactory = infoWebviewFactory;
|
|
280
|
-
this.clientProvider = provider;
|
|
281
|
-
this.updateStylesheet();
|
|
282
|
-
provider.clientAdded(client => {
|
|
283
|
-
void this.onClientAdded(client);
|
|
284
|
-
});
|
|
285
|
-
provider.clientRemoved(client => {
|
|
286
|
-
void this.onClientRemoved(client);
|
|
287
|
-
});
|
|
288
|
-
provider.clientStopped(([client, activeClient, reason]) => {
|
|
289
|
-
void this.onActiveClientStopped(client, activeClient, reason);
|
|
290
|
-
});
|
|
291
|
-
this.subscriptions.push(window.onDidChangeActiveTextEditor(() => this.sendPosition()), window.onDidChangeTextEditorSelection(() => this.sendPosition()), workspace.onDidChangeConfiguration(async (_e) => {
|
|
292
|
-
// regression; changing the style needs a reload. :/
|
|
293
|
-
this.updateStylesheet();
|
|
294
|
-
await this.sendConfig();
|
|
295
|
-
}), workspace.onDidChangeTextDocument(async () => {
|
|
296
|
-
await this.sendPosition();
|
|
297
|
-
}), commands.registerTextEditorCommand('lean4.displayGoal', editor => this.openPreview(editor)), commands.registerCommand('lean4.toggleInfoview', () => this.toggleInfoview()), commands.registerTextEditorCommand('lean4.displayList', async (editor) => {
|
|
298
|
-
await this.openPreview(editor);
|
|
299
|
-
await this.webviewPanel?.api.requestedAction({ kind: 'toggleAllMessages' });
|
|
300
|
-
}), commands.registerTextEditorCommand('lean4.infoView.copyToComment', () => this.webviewPanel?.api.requestedAction({ kind: 'copyToComment' })), commands.registerCommand('lean4.infoView.toggleUpdating', () => this.webviewPanel?.api.requestedAction({ kind: 'togglePaused' })), commands.registerCommand('lean4.infoView.toggleExpectedType', () => this.webviewPanel?.api.requestedAction({ kind: 'toggleExpectedType' })), commands.registerTextEditorCommand('lean4.infoView.toggleStickyPosition', () => this.webviewPanel?.api.requestedAction({ kind: 'togglePin' })), commands.registerCommand('lean4.infoview.goToDefinition', args => this.webviewPanel?.api.goToDefinition(args.interactiveCodeTagId)));
|
|
301
|
-
}
|
|
302
|
-
async onClientRestarted(client) {
|
|
303
|
-
// if we already have subscriptions for a previous client, we need to also
|
|
304
|
-
// subscribe to the same things on this new client.
|
|
305
|
-
for (const [method, [count, subscriptions]] of this.clientNotifSubscriptions) {
|
|
306
|
-
if (method === 'textDocument/didChange') {
|
|
307
|
-
subscriptions.push(this.subscribeDidChangeNotification(client, method));
|
|
308
|
-
}
|
|
309
|
-
else if (method === 'textDocument/didClose') {
|
|
310
|
-
subscriptions.push(this.subscribeDidCloseNotification(client, method));
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
for (const [method, [count, subscriptions]] of this.serverNotifSubscriptions) {
|
|
314
|
-
if (method === 'textDocument/publishDiagnostics') {
|
|
315
|
-
subscriptions.push(this.subscribeDiagnosticsNotification(client, method));
|
|
316
|
-
}
|
|
317
|
-
else if (method.startsWith('$')) {
|
|
318
|
-
subscriptions.push(this.subscribeCustomNotification(client, method));
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
await this.webviewPanel?.api.serverStopped(undefined); // clear any server stopped state
|
|
322
|
-
const folderUri = client.getClientFolder();
|
|
323
|
-
for (const worker of this.workersFailed.keys()) {
|
|
324
|
-
const workerUri = parseExtUri(worker);
|
|
325
|
-
if (workerUri !== undefined && client.isInFolderManagedByThisClient(workerUri)) {
|
|
326
|
-
this.workersFailed.delete(worker);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
if (this.clientsFailed.has(folderUri.toString())) {
|
|
330
|
-
this.clientsFailed.delete(folderUri.toString());
|
|
331
|
-
}
|
|
332
|
-
await this.initInfoView(window.activeTextEditor, client);
|
|
333
|
-
}
|
|
334
|
-
async onClientAdded(client) {
|
|
335
|
-
logger.log(`[InfoProvider] Adding client for workspace: ${client.getClientFolder()}`);
|
|
336
|
-
this.clientSubscriptions.push(client.restarted(async () => {
|
|
337
|
-
logger.log('[InfoProvider] got client restarted event');
|
|
338
|
-
// This event is triggered both the first time the server starts
|
|
339
|
-
// as well as when the server restarts.
|
|
340
|
-
this.clearRpcSessions(client);
|
|
341
|
-
// Need to fully re-initialize this newly restarted client with all the
|
|
342
|
-
// existing subscriptions and resend position info and so on so the
|
|
343
|
-
// infoview updates properly.
|
|
344
|
-
await this.onClientRestarted(client);
|
|
345
|
-
}), client.restartedWorker(async (uri) => {
|
|
346
|
-
logger.log('[InfoProvider] got worker restarted event');
|
|
347
|
-
await this.onWorkerRestarted(uri);
|
|
348
|
-
}), client.didSetLanguage(() => this.onLanguageChanged()));
|
|
349
|
-
// Note that when new client is first created it still fires client.restarted
|
|
350
|
-
// event, so all onClientRestarted can happen there so we don't do it twice.
|
|
351
|
-
}
|
|
352
|
-
async onWorkerRestarted(uri) {
|
|
353
|
-
await this.webviewPanel?.api.serverStopped(undefined); // clear any server stopped state
|
|
354
|
-
if (this.workersFailed.has(uri)) {
|
|
355
|
-
this.workersFailed.delete(uri);
|
|
356
|
-
logger.log('[InfoProvider] Restarting worker for file: ' + uri);
|
|
357
|
-
}
|
|
358
|
-
await this.sendPosition();
|
|
359
|
-
}
|
|
360
|
-
async onWorkerStopped(uri, client, reason) {
|
|
361
|
-
await this.webviewPanel?.api.serverStopped(reason);
|
|
362
|
-
const extUri = parseExtUri(uri);
|
|
363
|
-
if (extUri === undefined) {
|
|
364
|
-
return;
|
|
365
|
-
}
|
|
366
|
-
if (!this.workersFailed.has(uri)) {
|
|
367
|
-
this.workersFailed.set(uri, reason);
|
|
368
|
-
}
|
|
369
|
-
logger.log(`[InfoProvider]client crashed: ${uri}`);
|
|
370
|
-
client.showRestartMessage(true, extUri);
|
|
371
|
-
}
|
|
372
|
-
onClientRemoved(client) {
|
|
373
|
-
// todo: remove subscriptions for this client...
|
|
374
|
-
}
|
|
375
|
-
async onActiveClientStopped(client, activeClient, reason) {
|
|
376
|
-
// Will show a message in case the active client stops
|
|
377
|
-
// add failed client into a list (will be removed in case the client is restarted)
|
|
378
|
-
if (activeClient) {
|
|
379
|
-
// means that client and active client are the same and just show the error message
|
|
380
|
-
await this.webviewPanel?.api.serverStopped(reason);
|
|
381
|
-
}
|
|
382
|
-
logger.log(`[InfoProvider] client stopped: ${client.getClientFolder()}`);
|
|
383
|
-
// remember this client is in a stopped state
|
|
384
|
-
const key = client.getClientFolder();
|
|
385
|
-
await this.sendPosition();
|
|
386
|
-
if (!this.clientsFailed.has(key.toString())) {
|
|
387
|
-
this.clientsFailed.set(key.toString(), reason);
|
|
388
|
-
}
|
|
389
|
-
logger.log(`[InfoProvider] client stopped: ${key}`);
|
|
390
|
-
client.showRestartMessage();
|
|
391
|
-
}
|
|
392
|
-
dispose() {
|
|
393
|
-
// active client is changing.
|
|
394
|
-
this.clearNotificationHandlers();
|
|
395
|
-
this.clearRpcSessions(null);
|
|
396
|
-
for (const s of this.clientSubscriptions) {
|
|
397
|
-
s.dispose();
|
|
398
|
-
}
|
|
399
|
-
for (const s of this.subscriptions) {
|
|
400
|
-
s.dispose();
|
|
401
|
-
}
|
|
402
|
-
this.webviewPanel?.dispose();
|
|
403
|
-
}
|
|
404
|
-
isOpen() {
|
|
405
|
-
return this.webviewPanel?.visible === true;
|
|
406
|
-
}
|
|
407
|
-
async runTestScript(javaScript) {
|
|
408
|
-
if (this.webviewPanel) {
|
|
409
|
-
return this.webviewPanel.api.runTestScript(javaScript);
|
|
410
|
-
}
|
|
411
|
-
else {
|
|
412
|
-
throw new Error('Cannot run test script, infoview is closed.');
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
async getHtmlContents() {
|
|
416
|
-
if (this.webviewPanel) {
|
|
417
|
-
return this.webviewPanel.api.getInfoviewHtml();
|
|
418
|
-
}
|
|
419
|
-
else {
|
|
420
|
-
throw new Error('Cannot retrieve infoview HTML, infoview is closed.');
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
sleep(ms) {
|
|
424
|
-
return new Promise(resolve => setTimeout(resolve, ms));
|
|
425
|
-
}
|
|
426
|
-
async toggleAllMessages() {
|
|
427
|
-
if (this.webviewPanel) {
|
|
428
|
-
await this.webviewPanel.api.requestedAction({ kind: 'toggleAllMessages' });
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
updateStylesheet() {
|
|
432
|
-
// Here we add extra CSS variables which depend on the editor configuration,
|
|
433
|
-
// but are not exposed by default.
|
|
434
|
-
// Ref: https://code.visualstudio.com/api/extension-guides/webview#theming-webview-content
|
|
435
|
-
const extraCSS = `
|
|
436
|
-
html {
|
|
437
|
-
--vscode-editor-line-height: ${getEditorLineHeight()}px;
|
|
438
|
-
}
|
|
439
|
-
`;
|
|
440
|
-
const configCSS = getInfoViewStyle();
|
|
441
|
-
this.stylesheet = extraCSS + configCSS;
|
|
442
|
-
}
|
|
443
|
-
async autoOpen() {
|
|
444
|
-
if (!this.webviewPanel && !this.autoOpened && getInfoViewAutoOpen() && window.activeTextEditor) {
|
|
445
|
-
// only auto-open for lean files, not for markdown.
|
|
446
|
-
if (languages.match(this.leanDocs, window.activeTextEditor.document)) {
|
|
447
|
-
// remember we've auto opened during this session so if user closes it it remains closed.
|
|
448
|
-
this.autoOpened = true;
|
|
449
|
-
return await this.openPreview(window.activeTextEditor);
|
|
450
|
-
}
|
|
451
|
-
}
|
|
452
|
-
return false;
|
|
453
|
-
}
|
|
454
|
-
clearNotificationHandlers() {
|
|
455
|
-
for (const [, [, subscriptions]] of this.clientNotifSubscriptions)
|
|
456
|
-
for (const h of subscriptions)
|
|
457
|
-
h.dispose();
|
|
458
|
-
this.clientNotifSubscriptions.clear();
|
|
459
|
-
for (const [, [, subscriptions]] of this.serverNotifSubscriptions)
|
|
460
|
-
for (const h of subscriptions)
|
|
461
|
-
h.dispose();
|
|
462
|
-
this.serverNotifSubscriptions.clear();
|
|
463
|
-
}
|
|
464
|
-
clearRpcSessions(client) {
|
|
465
|
-
const remaining = new Map();
|
|
466
|
-
for (const [sessionId, sess] of this.rpcSessions) {
|
|
467
|
-
if (client === null || sess.client === client) {
|
|
468
|
-
sess.dispose();
|
|
469
|
-
}
|
|
470
|
-
else {
|
|
471
|
-
remaining.set(sessionId, sess);
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
this.rpcSessions = remaining;
|
|
475
|
-
}
|
|
476
|
-
async toggleInfoview() {
|
|
477
|
-
if (this.webviewPanel) {
|
|
478
|
-
this.webviewPanel.dispose();
|
|
479
|
-
// the onDispose handler sets this.webviewPanel = undefined
|
|
480
|
-
}
|
|
481
|
-
else if (window.activeTextEditor && window.activeTextEditor.document.languageId === 'lean4') {
|
|
482
|
-
await this.openPreview(window.activeTextEditor);
|
|
483
|
-
}
|
|
484
|
-
else {
|
|
485
|
-
displayError('No active Lean editor tab. Make sure to focus the Lean editor tab for which you want to open the infoview.');
|
|
486
|
-
}
|
|
487
|
-
}
|
|
488
|
-
async openPreview(editor) {
|
|
489
|
-
const docUri = toExtUri(editor.document.uri);
|
|
490
|
-
if (docUri === undefined) {
|
|
491
|
-
return false;
|
|
492
|
-
}
|
|
493
|
-
let column = editor && editor.viewColumn ? editor.viewColumn + 1 : ViewColumn.Two;
|
|
494
|
-
if (column === 4) {
|
|
495
|
-
column = ViewColumn.Three;
|
|
496
|
-
}
|
|
497
|
-
if (this.webviewPanel) {
|
|
498
|
-
this.webviewPanel.reveal(column, true);
|
|
499
|
-
}
|
|
500
|
-
else {
|
|
501
|
-
this.webviewPanel = this.infoWebviewFactory.make(this.editorApi, this.stylesheet, column);
|
|
502
|
-
this.webviewPanel.onDidDispose(() => {
|
|
503
|
-
this.webviewPanel = undefined;
|
|
504
|
-
this.clearNotificationHandlers();
|
|
505
|
-
this.clearRpcSessions(null); // should be after `webviewPanel = undefined`
|
|
506
|
-
});
|
|
507
|
-
const client = this.clientProvider.findClient(docUri);
|
|
508
|
-
await this.initInfoView(editor, client);
|
|
509
|
-
}
|
|
510
|
-
return true;
|
|
511
|
-
}
|
|
512
|
-
async initInfoView(editor, client) {
|
|
513
|
-
if (editor) {
|
|
514
|
-
const loc = this.getLocation(editor);
|
|
515
|
-
if (loc) {
|
|
516
|
-
await this.webviewPanel?.api.initialize(loc);
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
// The infoview gets information about file progress, diagnostics, etc.
|
|
520
|
-
// by listening to notifications. Send these notifications when the infoview starts
|
|
521
|
-
// so that it has up-to-date information.
|
|
522
|
-
if (client?.initializeResult) {
|
|
523
|
-
logger.log('[InfoProvider] initInfoView!');
|
|
524
|
-
await this.sendConfig();
|
|
525
|
-
await this.webviewPanel?.api.serverStopped(undefined); // clear any server stopped state
|
|
526
|
-
await this.webviewPanel?.api.serverRestarted(client.initializeResult);
|
|
527
|
-
await this.sendDiagnostics(client);
|
|
528
|
-
await this.sendProgress(client);
|
|
529
|
-
await this.sendPosition();
|
|
530
|
-
}
|
|
531
|
-
else if (client === undefined) {
|
|
532
|
-
logger.log('[InfoProvider] initInfoView got null client.');
|
|
533
|
-
}
|
|
534
|
-
else {
|
|
535
|
-
logger.log('[InfoProvider] initInfoView got undefined client.initializeResult');
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
async sendConfig() {
|
|
539
|
-
await this.webviewPanel?.api.changedInfoviewConfig({
|
|
540
|
-
allErrorsOnLine: getInfoViewAllErrorsOnLine(),
|
|
541
|
-
autoOpenShowsGoal: getInfoViewAutoOpenShowsGoal(),
|
|
542
|
-
debounceTime: getInfoViewDebounceTime(),
|
|
543
|
-
showExpectedType: getInfoViewShowExpectedType(),
|
|
544
|
-
showGoalNames: getInfoViewShowGoalNames(),
|
|
545
|
-
emphasizeFirstGoal: getInfoViewEmphasizeFirstGoal(),
|
|
546
|
-
reverseTacticState: getInfoViewReverseTacticState(),
|
|
547
|
-
showTooltipOnHover: getInfoViewShowTooltipOnHover(),
|
|
548
|
-
});
|
|
549
|
-
}
|
|
550
|
-
static async getDiagnosticParams(uri, diagnostics) {
|
|
551
|
-
const params = {
|
|
552
|
-
uri: c2pConverter.asUri(uri),
|
|
553
|
-
diagnostics: await c2pConverter.asDiagnostics(diagnostics),
|
|
554
|
-
};
|
|
555
|
-
return params;
|
|
556
|
-
}
|
|
557
|
-
async sendDiagnostics(client) {
|
|
558
|
-
const panel = this.webviewPanel;
|
|
559
|
-
if (panel) {
|
|
560
|
-
client.getDiagnostics()?.forEach(async (uri, diags) => {
|
|
561
|
-
const params = InfoProvider.getDiagnosticParams(uri, diags);
|
|
562
|
-
await panel.api.gotServerNotification('textDocument/publishDiagnostics', params);
|
|
563
|
-
});
|
|
564
|
-
}
|
|
565
|
-
}
|
|
566
|
-
async sendProgress(client) {
|
|
567
|
-
if (!this.webviewPanel)
|
|
568
|
-
return;
|
|
569
|
-
for (const [uri, processing] of client.progress) {
|
|
570
|
-
const params = {
|
|
571
|
-
textDocument: {
|
|
572
|
-
uri: c2pConverter.asUri(uri.asUri()),
|
|
573
|
-
version: 0, // HACK: The infoview ignores this
|
|
574
|
-
},
|
|
575
|
-
processing,
|
|
576
|
-
};
|
|
577
|
-
await this.webviewPanel.api.gotServerNotification('$/lean/fileProgress', params);
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
onLanguageChanged() {
|
|
581
|
-
this.autoOpen()
|
|
582
|
-
.then(async () => {
|
|
583
|
-
await this.sendConfig();
|
|
584
|
-
await this.sendPosition();
|
|
585
|
-
})
|
|
586
|
-
.catch(() => { });
|
|
587
|
-
}
|
|
588
|
-
getLocation(editor) {
|
|
589
|
-
if (!editor)
|
|
590
|
-
return undefined;
|
|
591
|
-
const uri = editor.document.uri;
|
|
592
|
-
const selection = editor.selection;
|
|
593
|
-
return {
|
|
594
|
-
uri: uri.toString(),
|
|
595
|
-
range: {
|
|
596
|
-
start: selection.start,
|
|
597
|
-
end: selection.end,
|
|
598
|
-
},
|
|
599
|
-
};
|
|
600
|
-
}
|
|
601
|
-
async sendPosition() {
|
|
602
|
-
const editor = window.activeTextEditor;
|
|
603
|
-
if (!editor)
|
|
604
|
-
return;
|
|
605
|
-
const loc = this.getLocation(editor);
|
|
606
|
-
if (languages.match(this.leanDocs, editor.document) === 0) {
|
|
607
|
-
// language is not yet 'lean4', but the LeanClient will fire the didSetLanguage event
|
|
608
|
-
// in openLean4Document and that's when we can send the position to update the
|
|
609
|
-
// InfoView for the newly opened document.
|
|
610
|
-
return;
|
|
611
|
-
}
|
|
612
|
-
const uri = toExtUri(editor.document.uri);
|
|
613
|
-
if (uri === undefined) {
|
|
614
|
-
return;
|
|
615
|
-
}
|
|
616
|
-
// actual editor
|
|
617
|
-
if (this.clientsFailed.size > 0 || this.workersFailed.size > 0) {
|
|
618
|
-
const client = this.clientProvider.findClient(uri);
|
|
619
|
-
const uriKey = uri.toString();
|
|
620
|
-
if (client) {
|
|
621
|
-
const folder = client.getClientFolder().toString();
|
|
622
|
-
let reason;
|
|
623
|
-
if (this.clientsFailed.has(folder)) {
|
|
624
|
-
reason = this.clientsFailed.get(folder);
|
|
625
|
-
}
|
|
626
|
-
else if (this.workersFailed.has(uriKey)) {
|
|
627
|
-
reason = this.workersFailed.get(uriKey);
|
|
628
|
-
}
|
|
629
|
-
if (reason) {
|
|
630
|
-
// send stopped event
|
|
631
|
-
await this.webviewPanel?.api.serverStopped(reason);
|
|
632
|
-
}
|
|
633
|
-
else {
|
|
634
|
-
await this.updateStatus(loc);
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
else {
|
|
638
|
-
logger.log('[InfoProvider] ### what does it mean to have sendPosition but no LeanClient for this document???');
|
|
639
|
-
}
|
|
640
|
-
}
|
|
641
|
-
else {
|
|
642
|
-
await this.updateStatus(loc);
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
async updateStatus(loc) {
|
|
646
|
-
await this.webviewPanel?.api.serverStopped(undefined); // clear any server stopped state
|
|
647
|
-
await this.autoOpen();
|
|
648
|
-
await this.webviewPanel?.api.changedCursorLocation(loc);
|
|
649
|
-
}
|
|
650
|
-
async revealEditorSelection(uri, selection) {
|
|
651
|
-
let editor;
|
|
652
|
-
for (const e of window.visibleTextEditors) {
|
|
653
|
-
if (uri.equalsUri(e.document.uri)) {
|
|
654
|
-
editor = e;
|
|
655
|
-
break;
|
|
656
|
-
}
|
|
657
|
-
}
|
|
658
|
-
if (!editor) {
|
|
659
|
-
const c = window.activeTextEditor ? window.activeTextEditor.viewColumn : ViewColumn.One;
|
|
660
|
-
editor = await window.showTextDocument(uri.asUri(), { viewColumn: c, preserveFocus: false });
|
|
661
|
-
}
|
|
662
|
-
if (selection !== undefined) {
|
|
663
|
-
editor.revealRange(selection, TextEditorRevealType.InCenterIfOutsideViewport);
|
|
664
|
-
editor.selection = new Selection(selection.start, selection.end);
|
|
665
|
-
// ensure the text document has the keyboard focus.
|
|
666
|
-
await window.showTextDocument(editor.document, { viewColumn: editor.viewColumn, preserveFocus: false });
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
async handleInsertText(text, kind, uri, pos) {
|
|
670
|
-
let editor;
|
|
671
|
-
if (uri) {
|
|
672
|
-
editor = window.visibleTextEditors.find(e => uri.equalsUri(e.document.uri));
|
|
673
|
-
}
|
|
674
|
-
else {
|
|
675
|
-
editor = window.activeTextEditor;
|
|
676
|
-
if (!editor) {
|
|
677
|
-
// sometimes activeTextEditor is null.
|
|
678
|
-
editor = window.visibleTextEditors.find(e => e.document.languageId === 'lean4');
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
if (!editor) {
|
|
682
|
-
// user must have switch away from any lean source file in which case we don't know
|
|
683
|
-
// what to do here. TODO: show a popup error? Or should we use the last uri used in
|
|
684
|
-
// sendPosition and automatically activate that editor?
|
|
685
|
-
return;
|
|
686
|
-
}
|
|
687
|
-
pos = pos ? pos : editor.selection.active;
|
|
688
|
-
if (kind === 'above') {
|
|
689
|
-
// in this case, assume that we actually want to insert at the same
|
|
690
|
-
// indentation level as the neighboring text
|
|
691
|
-
const current_line = editor.document.lineAt(pos.line);
|
|
692
|
-
const spaces = current_line.firstNonWhitespaceCharacterIndex;
|
|
693
|
-
const margin_str = [...Array(spaces).keys()].map(x => ' ').join('');
|
|
694
|
-
let new_command = text.replace(/\n/g, '\n' + margin_str);
|
|
695
|
-
new_command = `${margin_str}${new_command}\n`;
|
|
696
|
-
const insertPosition = current_line.range.start;
|
|
697
|
-
await editor.edit(builder => {
|
|
698
|
-
builder.insert(insertPosition, new_command);
|
|
699
|
-
});
|
|
700
|
-
}
|
|
701
|
-
else {
|
|
702
|
-
await editor.edit(builder => {
|
|
703
|
-
if (pos)
|
|
704
|
-
builder.insert(pos, text);
|
|
705
|
-
});
|
|
706
|
-
editor.selection = new Selection(pos, pos);
|
|
707
|
-
}
|
|
708
|
-
// ensure the text document has the keyboard focus.
|
|
709
|
-
await window.showTextDocument(editor.document, { viewColumn: editor.viewColumn, preserveFocus: false });
|
|
710
|
-
}
|
|
711
|
-
}
|