lean4monaco 1.0.46 → 1.1.1

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.
Files changed (209) hide show
  1. package/README.md +75 -0
  2. package/dist/JuliaMono-Regular.ttf +0 -0
  3. package/dist/css/custom.css +7 -1
  4. package/dist/infowebview.d.ts +3 -4
  5. package/dist/infowebview.js +4 -4
  6. package/dist/lean4-infoview/codicon.ttf +0 -0
  7. package/dist/lean4-infoview/esm-shims/react-dom.d.ts +5 -0
  8. package/dist/lean4-infoview/esm-shims/react-jsx-runtime.d.ts +5 -0
  9. package/dist/lean4-infoview/esm-shims/react.d.ts +5 -0
  10. package/dist/lean4-infoview/index.css +4161 -0
  11. package/dist/lean4-infoview/index.d.ts +16 -0
  12. package/dist/lean4-infoview/index.development.js +37312 -0
  13. package/dist/lean4-infoview/index.production.min.js +1528 -0
  14. package/dist/lean4-infoview/infoview/collapsing.d.ts +12 -0
  15. package/dist/lean4-infoview/infoview/contexts.d.ts +10 -0
  16. package/dist/lean4-infoview/infoview/editorConnection.d.ts +22 -0
  17. package/dist/lean4-infoview/infoview/errors.d.ts +14 -0
  18. package/dist/lean4-infoview/infoview/event.d.ts +33 -0
  19. package/dist/lean4-infoview/infoview/goalLocation.d.ts +61 -0
  20. package/dist/lean4-infoview/infoview/goals.d.ts +46 -0
  21. package/dist/lean4-infoview/infoview/info.d.ts +18 -0
  22. package/dist/lean4-infoview/infoview/infos.d.ts +2 -0
  23. package/dist/lean4-infoview/infoview/interactiveCode.d.ts +19 -0
  24. package/dist/lean4-infoview/infoview/main.d.ts +13 -0
  25. package/dist/lean4-infoview/infoview/messages.d.ts +19 -0
  26. package/dist/lean4-infoview/infoview/rpcSessions.d.ts +11 -0
  27. package/dist/lean4-infoview/infoview/serverVersion.d.ts +10 -0
  28. package/dist/lean4-infoview/infoview/tooltips.d.ts +32 -0
  29. package/dist/lean4-infoview/infoview/traceExplorer.d.ts +11 -0
  30. package/dist/lean4-infoview/infoview/userWidget.d.ts +39 -0
  31. package/dist/lean4-infoview/infoview/util.d.ts +144 -0
  32. package/dist/lean4-infoview/loader.d.ts +20 -0
  33. package/dist/lean4-infoview/loader.development.js +1006 -0
  34. package/dist/lean4-infoview/loader.production.min.js +1 -0
  35. package/dist/lean4-infoview/react-dom.development.js +30537 -0
  36. package/dist/lean4-infoview/react-dom.production.min.js +21 -0
  37. package/dist/lean4-infoview/react-jsx-runtime.development.js +1362 -0
  38. package/dist/lean4-infoview/react-jsx-runtime.production.min.js +1 -0
  39. package/dist/lean4-infoview/react.development.js +2823 -0
  40. package/dist/lean4-infoview/react.production.min.js +1 -0
  41. package/dist/leanmonaco.js +5 -4
  42. package/dist/monaco-lean4/vscode-lean4/package.json +944 -0
  43. package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationFeature.d.ts +9 -0
  44. package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationFeature.js +20 -0
  45. package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationHoverProvider.d.ts +12 -0
  46. package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationHoverProvider.js +40 -0
  47. package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationRewriterFeature.d.ts +20 -0
  48. package/dist/monaco-lean4/vscode-lean4/src/abbreviation/AbbreviationRewriterFeature.js +79 -0
  49. package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationConfig.d.ts +13 -0
  50. package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationConfig.js +29 -0
  51. package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationRewriter.d.ts +28 -0
  52. package/dist/monaco-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationRewriter.js +124 -0
  53. package/dist/monaco-lean4/vscode-lean4/src/config.d.ts +33 -0
  54. package/dist/monaco-lean4/vscode-lean4/src/config.js +119 -0
  55. package/dist/monaco-lean4/vscode-lean4/src/diagnostics/setupNotifs.d.ts +27 -0
  56. package/dist/monaco-lean4/vscode-lean4/src/diagnostics/setupNotifs.js +133 -0
  57. package/dist/monaco-lean4/vscode-lean4/src/infoview.d.ts +69 -0
  58. package/dist/monaco-lean4/vscode-lean4/src/infoview.js +711 -0
  59. package/dist/monaco-lean4/vscode-lean4/src/leanclient.d.ts +67 -0
  60. package/dist/monaco-lean4/vscode-lean4/src/leanclient.js +443 -0
  61. package/dist/monaco-lean4/vscode-lean4/src/rpc.d.ts +16 -0
  62. package/dist/monaco-lean4/vscode-lean4/src/rpc.js +102 -0
  63. package/dist/monaco-lean4/vscode-lean4/src/taskgutter.d.ts +11 -0
  64. package/dist/monaco-lean4/vscode-lean4/src/taskgutter.js +130 -0
  65. package/dist/monaco-lean4/vscode-lean4/src/utils/batch.d.ts +37 -0
  66. package/dist/monaco-lean4/vscode-lean4/src/utils/batch.js +203 -0
  67. package/dist/monaco-lean4/vscode-lean4/src/utils/clientProvider.d.ts +41 -0
  68. package/dist/monaco-lean4/vscode-lean4/src/utils/clientProvider.js +205 -0
  69. package/dist/monaco-lean4/vscode-lean4/src/utils/converters.d.ts +16 -0
  70. package/dist/monaco-lean4/vscode-lean4/src/utils/converters.js +129 -0
  71. package/dist/monaco-lean4/vscode-lean4/src/utils/elan.d.ts +3 -0
  72. package/dist/monaco-lean4/vscode-lean4/src/utils/elan.js +4 -0
  73. package/dist/monaco-lean4/vscode-lean4/src/utils/envPath.d.ts +21 -0
  74. package/dist/monaco-lean4/vscode-lean4/src/utils/envPath.js +53 -0
  75. package/dist/monaco-lean4/vscode-lean4/src/utils/exturi.d.ts +35 -0
  76. package/dist/monaco-lean4/vscode-lean4/src/utils/exturi.js +136 -0
  77. package/dist/monaco-lean4/vscode-lean4/src/utils/fsHelper.d.ts +17 -0
  78. package/dist/monaco-lean4/vscode-lean4/src/utils/fsHelper.js +36 -0
  79. package/dist/monaco-lean4/vscode-lean4/src/utils/leanInstaller.d.ts +37 -0
  80. package/dist/monaco-lean4/vscode-lean4/src/utils/leanInstaller.js +210 -0
  81. package/dist/monaco-lean4/vscode-lean4/src/utils/logger.d.ts +7 -0
  82. package/dist/monaco-lean4/vscode-lean4/src/utils/logger.js +20 -0
  83. package/dist/monaco-lean4/vscode-lean4/src/utils/notifs.d.ts +24 -0
  84. package/dist/monaco-lean4/vscode-lean4/src/utils/notifs.js +110 -0
  85. package/dist/monaco-lean4/vscode-lean4/src/utils/projectInfo.d.ts +9 -0
  86. package/dist/monaco-lean4/vscode-lean4/src/utils/projectInfo.js +125 -0
  87. package/dist/monacoleanclient.d.ts +1 -2
  88. package/dist/monacoleanclient.js +3 -3
  89. package/dist/vscode-lean4/lean4-infoview/package.json +25 -23
  90. package/dist/vscode-lean4/lean4-infoview/src/infoview/highlightjs.css +210 -0
  91. package/dist/vscode-lean4/lean4-infoview/tsconfig.json +6 -2
  92. package/dist/vscode-lean4/lean4-infoview-api/package.json +1 -1
  93. package/dist/vscode-lean4/lean4-unicode-input/package.json +1 -1
  94. package/dist/vscode-lean4/lean4-unicode-input/src/abbreviations.json +12 -12
  95. package/dist/vscode-lean4/lean4-unicode-input-component/package.json +2 -2
  96. package/dist/vscode-lean4/package-lock.json +6129 -3245
  97. package/dist/vscode-lean4/vscode-lean4/language-configuration.json +1 -1
  98. package/dist/vscode-lean4/vscode-lean4/loogleview/static/index.css +19 -16
  99. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-dark.svg +91 -0
  100. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-i-dark.svg +114 -0
  101. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-i-light.svg +114 -0
  102. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-i-passthrough-dark.svg +109 -0
  103. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-i-passthrough-light.svg +109 -0
  104. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-init-dark.svg +100 -0
  105. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-init-light.svg +100 -0
  106. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-l-dark.svg +123 -0
  107. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-l-light.svg +123 -0
  108. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-l-passthrough-dark.svg +109 -0
  109. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-l-passthrough-light.svg +109 -0
  110. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-light.svg +91 -0
  111. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-t-dark.svg +123 -0
  112. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-t-light.svg +123 -0
  113. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-t-passthrough-dark.svg +118 -0
  114. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/error-t-passthrough-light.svg +118 -0
  115. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-checkmark-dark.svg +138 -0
  116. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-checkmark-i-passthrough-dark.svg +160 -0
  117. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-checkmark-i-passthrough-light.svg +160 -0
  118. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-checkmark-l-passthrough-dark.svg +158 -0
  119. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-checkmark-l-passthrough-light.svg +158 -0
  120. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-checkmark-light.svg +138 -0
  121. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-checkmark-t-passthrough-dark.svg +169 -0
  122. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-checkmark-t-passthrough-light.svg +169 -0
  123. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-circled-checkmark-dark.svg +147 -0
  124. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-circled-checkmark-i-passthrough-dark.svg +170 -0
  125. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-circled-checkmark-i-passthrough-light.svg +170 -0
  126. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-circled-checkmark-l-passthrough-dark.svg +167 -0
  127. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-circled-checkmark-l-passthrough-light.svg +167 -0
  128. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-circled-checkmark-light.svg +147 -0
  129. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-circled-checkmark-t-passthrough-dark.svg +179 -0
  130. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-circled-checkmark-t-passthrough-light.svg +179 -0
  131. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-octopus-dark.svg +165 -0
  132. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-octopus-i-passthrough-dark.svg +187 -0
  133. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-octopus-i-passthrough-light.svg +187 -0
  134. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-octopus-l-passthrough-dark.svg +185 -0
  135. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-octopus-l-passthrough-light.svg +185 -0
  136. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-octopus-light.svg +165 -0
  137. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-octopus-t-passthrough-dark.svg +196 -0
  138. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-octopus-t-passthrough-light.svg +196 -0
  139. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-tada-dark.svg +184 -0
  140. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-tada-i-passthrough-dark.svg +206 -0
  141. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-tada-i-passthrough-light.svg +206 -0
  142. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-tada-l-passthrough-dark.svg +204 -0
  143. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-tada-l-passthrough-light.svg +204 -0
  144. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-tada-light.svg +184 -0
  145. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-tada-t-passthrough-dark.svg +215 -0
  146. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/goals-accomplished-tada-t-passthrough-light.svg +215 -0
  147. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/warning-dark.svg +132 -0
  148. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/warning-i-passthrough-dark.svg +154 -0
  149. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/warning-i-passthrough-light.svg +154 -0
  150. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/warning-l-passthrough-dark.svg +152 -0
  151. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/warning-l-passthrough-light.svg +152 -0
  152. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/warning-light.svg +132 -0
  153. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/warning-t-passthrough-dark.svg +163 -0
  154. package/dist/vscode-lean4/vscode-lean4/media/diagnostic-gutter-icons/warning-t-passthrough-light.svg +163 -0
  155. package/dist/vscode-lean4/vscode-lean4/moogleview/static/index.css +198 -0
  156. package/dist/vscode-lean4/vscode-lean4/moogleview/tsconfig.json +10 -0
  157. package/dist/vscode-lean4/vscode-lean4/package.json +638 -18
  158. package/dist/vscode-lean4/vscode-lean4/src/abbreviation/AbbreviationFeature.d.ts +2 -2
  159. package/dist/vscode-lean4/vscode-lean4/src/abbreviation/AbbreviationFeature.js +2 -2
  160. package/dist/vscode-lean4/vscode-lean4/src/abbreviation/AbbreviationRewriterFeature.d.ts +2 -3
  161. package/dist/vscode-lean4/vscode-lean4/src/abbreviation/AbbreviationRewriterFeature.js +3 -5
  162. package/dist/vscode-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationRewriter.d.ts +1 -2
  163. package/dist/vscode-lean4/vscode-lean4/src/abbreviation/VSCodeAbbreviationRewriter.js +4 -8
  164. package/dist/vscode-lean4/vscode-lean4/src/config.d.ts +14 -1
  165. package/dist/vscode-lean4/vscode-lean4/src/config.js +56 -5
  166. package/dist/vscode-lean4/vscode-lean4/src/diagnostics/setupDiagnoser.d.ts +36 -5
  167. package/dist/vscode-lean4/vscode-lean4/src/diagnostics/setupDiagnoser.js +59 -23
  168. package/dist/vscode-lean4/vscode-lean4/src/diagnostics/setupDiagnostics.d.ts +22 -17
  169. package/dist/vscode-lean4/vscode-lean4/src/diagnostics/setupDiagnostics.js +182 -119
  170. package/dist/vscode-lean4/vscode-lean4/src/diagnostics/setupNotifs.d.ts +33 -20
  171. package/dist/vscode-lean4/vscode-lean4/src/diagnostics/setupNotifs.js +235 -89
  172. package/dist/vscode-lean4/vscode-lean4/src/infoview.d.ts +7 -18
  173. package/dist/vscode-lean4/vscode-lean4/src/infoview.js +217 -102
  174. package/dist/vscode-lean4/vscode-lean4/src/leanclient.d.ts +12 -7
  175. package/dist/vscode-lean4/vscode-lean4/src/leanclient.js +187 -64
  176. package/dist/vscode-lean4/vscode-lean4/src/taskgutter.d.ts +35 -3
  177. package/dist/vscode-lean4/vscode-lean4/src/taskgutter.js +533 -93
  178. package/dist/vscode-lean4/vscode-lean4/src/utils/batch.d.ts +12 -4
  179. package/dist/vscode-lean4/vscode-lean4/src/utils/batch.js +78 -72
  180. package/dist/vscode-lean4/vscode-lean4/src/utils/clientProvider.d.ts +9 -9
  181. package/dist/vscode-lean4/vscode-lean4/src/utils/clientProvider.js +121 -77
  182. package/dist/vscode-lean4/vscode-lean4/src/utils/converters.d.ts +15 -0
  183. package/dist/vscode-lean4/vscode-lean4/src/utils/converters.js +9 -0
  184. package/dist/vscode-lean4/vscode-lean4/src/utils/elan.d.ts +179 -1
  185. package/dist/vscode-lean4/vscode-lean4/src/utils/elan.js +422 -3
  186. package/dist/vscode-lean4/vscode-lean4/src/utils/exturi.d.ts +3 -1
  187. package/dist/vscode-lean4/vscode-lean4/src/utils/exturi.js +11 -11
  188. package/dist/vscode-lean4/vscode-lean4/src/utils/groupBy.d.ts +2 -0
  189. package/dist/vscode-lean4/vscode-lean4/src/utils/groupBy.js +17 -0
  190. package/dist/vscode-lean4/vscode-lean4/src/utils/internalErrors.d.ts +2 -0
  191. package/dist/vscode-lean4/vscode-lean4/src/utils/internalErrors.js +35 -0
  192. package/dist/vscode-lean4/vscode-lean4/src/utils/leanCmdRunner.d.ts +34 -0
  193. package/dist/vscode-lean4/vscode-lean4/src/utils/leanCmdRunner.js +249 -0
  194. package/dist/vscode-lean4/vscode-lean4/src/utils/leanEditorProvider.d.ts +83 -0
  195. package/dist/vscode-lean4/vscode-lean4/src/utils/leanEditorProvider.js +323 -0
  196. package/dist/vscode-lean4/vscode-lean4/src/utils/leanInstaller.d.ts +41 -12
  197. package/dist/vscode-lean4/vscode-lean4/src/utils/leanInstaller.js +245 -128
  198. package/dist/vscode-lean4/vscode-lean4/src/utils/notifs.d.ts +27 -22
  199. package/dist/vscode-lean4/vscode-lean4/src/utils/notifs.js +177 -82
  200. package/dist/vscode-lean4/vscode-lean4/src/utils/projectInfo.d.ts +11 -4
  201. package/dist/vscode-lean4/vscode-lean4/src/utils/projectInfo.js +18 -16
  202. package/dist/vscode-lean4/vscode-lean4/src/utils/semverRegex.d.ts +1 -0
  203. package/dist/vscode-lean4/vscode-lean4/src/utils/semverRegex.js +2 -0
  204. package/dist/vscode-lean4/vscode-lean4/src/utils/viewColumn.d.ts +3 -0
  205. package/dist/vscode-lean4/vscode-lean4/src/utils/viewColumn.js +22 -0
  206. package/dist/vscode-lean4/vscode-lean4/tsconfig.json +2 -1
  207. package/dist/vscode-lean4/vscode-lean4/webview/tsconfig.json +3 -1
  208. package/dist/vscode.css +7 -0
  209. package/package.json +7 -5
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "lean4",
3
- "displayName": "lean4",
3
+ "displayName": "Lean 4",
4
4
  "description": "Lean 4 language support for VS Code",
5
- "version": "0.0.176",
5
+ "version": "0.0.207",
6
6
  "publisher": "leanprover",
7
7
  "engines": {
8
8
  "vscode": "^1.75.0"
@@ -13,6 +13,7 @@
13
13
  "keywords": [
14
14
  "Lean",
15
15
  "Lean 4",
16
+ "lean4",
16
17
  "Theorem Provers",
17
18
  "InfoView"
18
19
  ],
@@ -80,6 +81,11 @@
80
81
  "description": "Entry to add to the PATH variable"
81
82
  }
82
83
  },
84
+ "lean4.alwaysAskBeforeInstallingLeanVersions": {
85
+ "type": "boolean",
86
+ "default": false,
87
+ "markdownDescription": "Enable to display a confirmation prompt whenever Elan is about to download and install a new Lean version. Needs Elan >= 4.0.0."
88
+ },
83
89
  "lean4.serverArgs": {
84
90
  "type": "array",
85
91
  "default": [],
@@ -89,6 +95,17 @@
89
95
  "description": "an argument to pass to the server"
90
96
  }
91
97
  },
98
+ "lean4.trace.server": {
99
+ "type": "string",
100
+ "default": "off",
101
+ "enum": [
102
+ "off",
103
+ "messages",
104
+ "compact",
105
+ "verbose"
106
+ ],
107
+ "markdownDescription": "Whether to enable client-side logging for language server messages."
108
+ },
92
109
  "lean4.serverLogging.enabled": {
93
110
  "type": "boolean",
94
111
  "default": false,
@@ -133,7 +150,18 @@
133
150
  "lean4.infoview.showExpectedType": {
134
151
  "type": "boolean",
135
152
  "default": true,
136
- "markdownDescription": "Show the expected type by default."
153
+ "markdownDescription": "Show the expected type by default.",
154
+ "deprecationMessage": "Superseded by the 'InfoView: Expected Type Visibility' setting."
155
+ },
156
+ "lean4.infoview.expectedTypeVisibility": {
157
+ "type": "string",
158
+ "enum": [
159
+ "Expanded by default",
160
+ "Collapsed by default",
161
+ "Hidden"
162
+ ],
163
+ "default": "Expanded by default",
164
+ "markdownDescription": "Default visibility of the expected type."
137
165
  },
138
166
  "lean4.infoview.showGoalNames": {
139
167
  "type": "boolean",
@@ -146,10 +174,31 @@
146
174
  "markdownDescription": "Display goals other than the main goal in a smaller font size."
147
175
  },
148
176
  "lean4.infoview.reverseTacticState": {
177
+ "title": "Display Target Before Assumptions",
149
178
  "type": "boolean",
150
179
  "default": false,
151
180
  "markdownDescription": "Default to showing the goal type first and then the local context."
152
181
  },
182
+ "lean4.infoview.hideTypeAssumptions": {
183
+ "type": "boolean",
184
+ "default": false,
185
+ "markdownDescription": "Default to hiding type assumptions from the local context."
186
+ },
187
+ "lean4.infoview.hideInstanceAssumptions": {
188
+ "type": "boolean",
189
+ "default": false,
190
+ "markdownDescription": "Default to filtering instance assumptions from the local context."
191
+ },
192
+ "lean4.infoview.hideInaccessibleAssumptions": {
193
+ "type": "boolean",
194
+ "default": false,
195
+ "markdownDescription": "Default to filtering hidden assumptions from the local context."
196
+ },
197
+ "lean4.infoview.hideLetValues": {
198
+ "type": "boolean",
199
+ "default": false,
200
+ "markdownDescription": "Default to filtering type assumptions from the local context."
201
+ },
153
202
  "lean4.infoview.showTooltipOnHover": {
154
203
  "type": "boolean",
155
204
  "default": true,
@@ -169,6 +218,43 @@
169
218
  "type": "boolean",
170
219
  "default": true,
171
220
  "markdownDescription": "Always display the Lean extension title bar menu in the top right. This helps beginners create and open Lean projects after launching an empty instance of VS Code, but may not be desirable for anyone who uses VS Code for things other than Lean."
221
+ },
222
+ "lean4.showDiagnosticGutterDecorations": {
223
+ "type": "boolean",
224
+ "default": true,
225
+ "markdownDescription": "Display icons for errors and warnings and error ranges in the gutter."
226
+ },
227
+ "lean4.showUnsolvedGoalsDecoration": {
228
+ "type": "boolean",
229
+ "default": true,
230
+ "markdownDescription": "Display an icon at the end of the line where an 'unsolved goals' error ends."
231
+ },
232
+ "lean4.unsolvedGoalsDecorationLightThemeColor": {
233
+ "type": "string",
234
+ "default": "editorInfo.foreground",
235
+ "markdownDescription": "Color used in unsolved goal decorations when using a light theme. Can either denote a CSS color or a [VS Code theme color](https://code.visualstudio.com/api/references/theme-color)."
236
+ },
237
+ "lean4.unsolvedGoalsDecorationDarkThemeColor": {
238
+ "type": "string",
239
+ "default": "editorInfo.foreground",
240
+ "markdownDescription": "Color used in unsolved goal decorations when using a dark theme. Can either denote a CSS color or a [VS Code theme color](https://code.visualstudio.com/api/references/theme-color)."
241
+ },
242
+ "lean4.goalsAccomplishedDecorationKind": {
243
+ "type": "string",
244
+ "enum": [
245
+ "Off",
246
+ "Double Checkmark",
247
+ "Circled Checkmark",
248
+ "Octopus",
249
+ "Tada"
250
+ ],
251
+ "default": "Double Checkmark",
252
+ "markdownDescription": "Style of icon used in 'Goals accomplished' decoration."
253
+ },
254
+ "lean4.decorationEditDelay": {
255
+ "type": "number",
256
+ "default": 750,
257
+ "markdownDescription": "Delay after an edit in milliseconds until certain editor decorations (like the 'unsolved goals' decoration) update."
172
258
  }
173
259
  }
174
260
  },
@@ -177,13 +263,13 @@
177
263
  "command": "lean4.restartServer",
178
264
  "category": "Lean 4",
179
265
  "title": "Server: Restart Server",
180
- "description": "Restart the Lean server (for all files)."
266
+ "description": "Restarts the Lean server (for all files)."
181
267
  },
182
268
  {
183
269
  "command": "lean4.stopServer",
184
270
  "category": "Lean 4",
185
271
  "title": "Server: Stop Server",
186
- "description": "Stop the Lean server (for all files)."
272
+ "description": "Stops the Lean server (for all files)."
187
273
  },
188
274
  {
189
275
  "command": "lean4.restartFile",
@@ -197,6 +283,12 @@
197
283
  "title": "Server: Refresh File Dependencies",
198
284
  "description": "Restarts the Lean server for the file that is currently focused to refresh the dependencies."
199
285
  },
286
+ {
287
+ "command": "lean4.redisplaySetupError",
288
+ "category": "Lean 4",
289
+ "title": "Re-Display Active Setup Error",
290
+ "description": "Re-displays the currently active setup error if it was closed previously."
291
+ },
200
292
  {
201
293
  "command": "lean4.input.convert",
202
294
  "category": "Lean 4",
@@ -259,12 +351,180 @@
259
351
  "title": "Go to Definition",
260
352
  "description": "This command is an implementation detail of the 'Go to Definition' context menu option in the infoview."
261
353
  },
354
+ {
355
+ "command": "lean4.infoview.select",
356
+ "category": "Lean 4",
357
+ "title": "Select",
358
+ "description": "This command is an implementation detail of the 'Select' context menu option in the infoview."
359
+ },
360
+ {
361
+ "command": "lean4.infoview.unselect",
362
+ "category": "Lean 4",
363
+ "title": "Unselect",
364
+ "description": "This command is an implementation detail of the 'Unselect' context menu option in the infoview."
365
+ },
366
+ {
367
+ "command": "lean4.infoview.unselectAll",
368
+ "category": "Lean 4",
369
+ "title": "Unselect All",
370
+ "description": "This command is an implementation detail of the 'Unselect All' context menu option in the infoview."
371
+ },
372
+ {
373
+ "command": "lean4.infoview.pause",
374
+ "category": "Lean 4",
375
+ "title": "Pause State",
376
+ "description": "This command is an implementation detail of the 'Pause State' context menu option in the infoview."
377
+ },
378
+ {
379
+ "command": "lean4.infoview.unpause",
380
+ "category": "Lean 4",
381
+ "title": "Unpause State",
382
+ "description": "This command is an implementation detail of the 'Unpause State' context menu option in the infoview."
383
+ },
384
+ {
385
+ "command": "lean4.infoview.pin",
386
+ "category": "Lean 4",
387
+ "title": "Pin State to Top",
388
+ "description": "This command is an implementation detail of the 'Pin State to Top' context menu option in the infoview."
389
+ },
390
+ {
391
+ "command": "lean4.infoview.unpin",
392
+ "category": "Lean 4",
393
+ "title": "Unpin State",
394
+ "description": "This command is an implementation detail of the 'Unpin State' context menu option in the infoview."
395
+ },
396
+ {
397
+ "command": "lean4.infoview.refresh",
398
+ "category": "Lean 4",
399
+ "title": "Refresh Paused State",
400
+ "description": "This command is an implementation detail of the 'Refresh Paused State' context menu option in the infoview."
401
+ },
402
+ {
403
+ "command": "lean4.infoview.pauseAllMessages",
404
+ "category": "Lean 4",
405
+ "title": "Pause 'All Messages'",
406
+ "description": "This command is an implementation detail of the 'Pause 'All Messages'' context menu option in the infoview."
407
+ },
408
+ {
409
+ "command": "lean4.infoview.unpauseAllMessages",
410
+ "category": "Lean 4",
411
+ "title": "Unpause 'All Messages'",
412
+ "description": "This command is an implementation detail of the 'Unpause 'All Messages'' context menu option in the infoview."
413
+ },
414
+ {
415
+ "command": "lean4.infoview.goToPinnedLocation",
416
+ "category": "Lean 4",
417
+ "title": "Go to Pinned Location",
418
+ "description": "This command is an implementation detail of the 'Go to Pinned Location' context menu option in the infoview."
419
+ },
420
+ {
421
+ "command": "lean4.infoview.goToMessageLocation",
422
+ "category": "Lean 4",
423
+ "title": "Go to Source Location of Message",
424
+ "description": "This command is an implementation detail of the 'Go to Source Location of Message' context menu option in the infoview."
425
+ },
426
+ {
427
+ "command": "lean4.infoview.displayTargetBeforeAssumptions",
428
+ "category": "Lean 4",
429
+ "title": "Display Target Before Assumptions",
430
+ "description": "This command is an implementation detail of the 'Display Target Before Assumptions' context menu option in the infoview."
431
+ },
432
+ {
433
+ "command": "lean4.infoview.displayAssumptionsBeforeTarget",
434
+ "category": "Lean 4",
435
+ "title": "Display Assumptions Before Target",
436
+ "description": "This command is an implementation detail of the 'Display Assumptions Before Target' context menu option in the infoview."
437
+ },
438
+ {
439
+ "command": "lean4.infoview.hideTypeAssumptions",
440
+ "category": "Lean 4",
441
+ "title": "Hide Type Assumptions",
442
+ "description": "This command is an implementation detail of the 'Hide Type Assumptions' context menu option in the infoview."
443
+ },
444
+ {
445
+ "command": "lean4.infoview.showTypeAssumptions",
446
+ "category": "Lean 4",
447
+ "title": "Show Type Assumptions",
448
+ "description": "This command is an implementation detail of the 'Show Type Assumptions' context menu option in the infoview."
449
+ },
450
+ {
451
+ "command": "lean4.infoview.hideInstanceAssumptions",
452
+ "category": "Lean 4",
453
+ "title": "Hide Instance Assumptions",
454
+ "description": "This command is an implementation detail of the 'Hide Instance Assumptions' context menu option in the infoview."
455
+ },
456
+ {
457
+ "command": "lean4.infoview.showInstanceAssumptions",
458
+ "category": "Lean 4",
459
+ "title": "Show Instance Assumptions",
460
+ "description": "This command is an implementation detail of the 'Show Instance Assumptions' context menu option in the infoview."
461
+ },
462
+ {
463
+ "command": "lean4.infoview.hideInaccessibleAssumptions",
464
+ "category": "Lean 4",
465
+ "title": "Hide Inaccessible Assumptions",
466
+ "description": "This command is an implementation detail of the 'Hide Inaccessible Assumptions' context menu option in the infoview."
467
+ },
468
+ {
469
+ "command": "lean4.infoview.showInaccessibleAssumptions",
470
+ "category": "Lean 4",
471
+ "title": "Show Inaccessible Assumptions",
472
+ "description": "This command is an implementation detail of the 'Show Inaccessible Assumptions' context menu option in the infoview."
473
+ },
474
+ {
475
+ "command": "lean4.infoview.hideLetValues",
476
+ "category": "Lean 4",
477
+ "title": "Hide Let-Values",
478
+ "description": "This command is an implementation detail of the 'Hide Let-Values' context menu option in the infoview."
479
+ },
480
+ {
481
+ "command": "lean4.infoview.showLetValues",
482
+ "category": "Lean 4",
483
+ "title": "Show Let-Values",
484
+ "description": "This command is an implementation detail of the 'Show Let-Values' context menu option in the infoview."
485
+ },
486
+ {
487
+ "command": "lean4.infoview.hideGoalNames",
488
+ "category": "Lean 4",
489
+ "title": "Hide Goal Names",
490
+ "description": "This command is an implementation detail of the 'Hide Goal Names' context menu option in the infoview."
491
+ },
492
+ {
493
+ "command": "lean4.infoview.showGoalNames",
494
+ "category": "Lean 4",
495
+ "title": "Show Goal Names",
496
+ "description": "This command is an implementation detail of the 'Show Goal Names' context menu option in the infoview."
497
+ },
498
+ {
499
+ "command": "lean4.infoview.emphasizeFirstGoal",
500
+ "category": "Lean 4",
501
+ "title": "Emphasize First Goal",
502
+ "description": "This command is an implementation detail of the 'Emphasize First Goal' context menu option in the infoview."
503
+ },
504
+ {
505
+ "command": "lean4.infoview.deemphasizeFirstGoal",
506
+ "category": "Lean 4",
507
+ "title": "De-Emphasize First Goal",
508
+ "description": "This command is an implementation detail of the 'De-Emphasize First Goal' context menu option in the infoview."
509
+ },
510
+ {
511
+ "command": "lean4.infoview.saveSettings",
512
+ "category": "Lean 4",
513
+ "title": "Save Current Settings to Default Settings",
514
+ "description": "This command is an implementation detail of the 'Save Current Settings to Default Settings' context menu option in the infoview."
515
+ },
262
516
  {
263
517
  "command": "lean4.loogle.search",
264
518
  "category": "Lean 4",
265
519
  "title": "Loogle: Search",
266
520
  "description": "Show LoogleView"
267
521
  },
522
+ {
523
+ "command": "lean4.moogle.search",
524
+ "category": "Lean 4",
525
+ "title": "Moogle: Search",
526
+ "description": "Show MoogleView"
527
+ },
268
528
  {
269
529
  "command": "lean4.troubleshooting.showOutput",
270
530
  "category": "Lean 4",
@@ -307,6 +567,36 @@
307
567
  "title": "Setup: Install Elan",
308
568
  "description": "Install Lean's version manager 'Elan'"
309
569
  },
570
+ {
571
+ "command": "lean4.setup.updateElan",
572
+ "category": "Lean 4",
573
+ "title": "Setup: Update Elan",
574
+ "description": "Update Lean's version manager 'Elan' to the most recent version"
575
+ },
576
+ {
577
+ "command": "lean4.setup.uninstallElan",
578
+ "category": "Lean 4",
579
+ "title": "Setup: Uninstall Elan",
580
+ "description": "Uninstall Lean's version manager 'Elan' and all installed Lean versions"
581
+ },
582
+ {
583
+ "command": "lean4.setup.selectDefaultToolchain",
584
+ "category": "Lean 4",
585
+ "title": "Setup: Select Default Lean Version…",
586
+ "description": "Sets a given Lean version to be the default for non-project files and command-line operations outside of projects"
587
+ },
588
+ {
589
+ "command": "lean4.setup.updateReleaseChannel",
590
+ "category": "Lean 4",
591
+ "title": "Setup: Update Release Channel Lean Version…",
592
+ "description": "Updates the Lean version for a given release channel"
593
+ },
594
+ {
595
+ "command": "lean4.setup.uninstallToolchains",
596
+ "category": "Lean 4",
597
+ "title": "Setup: Uninstall Lean Versions…",
598
+ "description": "Uninstalls given Lean versions"
599
+ },
310
600
  {
311
601
  "command": "lean4.project.createStandaloneProject",
312
602
  "category": "Lean 4",
@@ -358,8 +648,14 @@
358
648
  {
359
649
  "command": "lean4.project.fetchFileCache",
360
650
  "category": "Lean 4",
361
- "title": "Project: Fetch Mathlib Build Cache For Focused File",
362
- "description": "Downloads cached Mathlib build artifacts of the focused file to avoid full elaboration"
651
+ "title": "Project: Fetch Mathlib Build Cache For Current Imports",
652
+ "description": "Downloads cached Mathlib build artifacts of the focused file and all of its imports to avoid full elaboration"
653
+ },
654
+ {
655
+ "command": "lean4.project.selectProjectToolchain",
656
+ "category": "Lean 4",
657
+ "title": "Project: Select Project Lean Version…",
658
+ "description": "Updates the 'lean-toolchain' file of the currently focused project with a given Lean version"
363
659
  }
364
660
  ],
365
661
  "languages": [
@@ -503,6 +799,10 @@
503
799
  "command": "lean4.refreshFileDependencies",
504
800
  "when": "lean4.isLeanFeatureSetActive"
505
801
  },
802
+ {
803
+ "command": "lean4.redisplaySetupError",
804
+ "when": "lean4.isStickyNotificationActiveButHidden"
805
+ },
506
806
  {
507
807
  "command": "lean4.input.convert",
508
808
  "when": "lean4.isLeanFeatureSetActive && lean4.input.isActive"
@@ -539,9 +839,120 @@
539
839
  "command": "lean4.infoview.goToDefinition",
540
840
  "when": "false"
541
841
  },
842
+ {
843
+ "command": "lean4.infoview.select",
844
+ "when": "false"
845
+ },
846
+ {
847
+ "command": "lean4.infoview.unselect",
848
+ "when": "false"
849
+ },
850
+ {
851
+ "command": "lean4.infoview.unselectAll",
852
+ "when": "false"
853
+ },
854
+ {
855
+ "command": "lean4.infoview.pause",
856
+ "when": "false"
857
+ },
858
+ {
859
+ "command": "lean4.infoview.unpause",
860
+ "when": "false"
861
+ },
862
+ {
863
+ "command": "lean4.infoview.pin",
864
+ "when": "false"
865
+ },
866
+ {
867
+ "command": "lean4.infoview.unpin",
868
+ "when": "false"
869
+ },
870
+ {
871
+ "command": "lean4.infoview.refresh",
872
+ "when": "false"
873
+ },
874
+ {
875
+ "command": "lean4.infoview.pauseAllMessages",
876
+ "when": "false"
877
+ },
878
+ {
879
+ "command": "lean4.infoview.unpauseAllMessages",
880
+ "when": "false"
881
+ },
882
+ {
883
+ "command": "lean4.infoview.goToPinnedLocation",
884
+ "when": "false"
885
+ },
886
+ {
887
+ "command": "lean4.infoview.goToMessageLocation",
888
+ "when": "false"
889
+ },
890
+ {
891
+ "command": "lean4.infoview.displayTargetBeforeAssumptions",
892
+ "when": "false"
893
+ },
894
+ {
895
+ "command": "lean4.infoview.displayAssumptionsBeforeTarget",
896
+ "when": "false"
897
+ },
898
+ {
899
+ "command": "lean4.infoview.hideTypeAssumptions",
900
+ "when": "false"
901
+ },
902
+ {
903
+ "command": "lean4.infoview.showTypeAssumptions",
904
+ "when": "false"
905
+ },
906
+ {
907
+ "command": "lean4.infoview.hideInstanceAssumptions",
908
+ "when": "false"
909
+ },
910
+ {
911
+ "command": "lean4.infoview.showInstanceAssumptions",
912
+ "when": "false"
913
+ },
914
+ {
915
+ "command": "lean4.infoview.hideInaccessibleAssumptions",
916
+ "when": "false"
917
+ },
918
+ {
919
+ "command": "lean4.infoview.showInaccessibleAssumptions",
920
+ "when": "false"
921
+ },
922
+ {
923
+ "command": "lean4.infoview.hideLetValues",
924
+ "when": "false"
925
+ },
926
+ {
927
+ "command": "lean4.infoview.showLetValues",
928
+ "when": "false"
929
+ },
930
+ {
931
+ "command": "lean4.infoview.hideGoalNames",
932
+ "when": "false"
933
+ },
934
+ {
935
+ "command": "lean4.infoview.showGoalNames",
936
+ "when": "false"
937
+ },
938
+ {
939
+ "command": "lean4.infoview.emphasizeFirstGoal",
940
+ "when": "false"
941
+ },
942
+ {
943
+ "command": "lean4.infoview.deemphasizeFirstGoal",
944
+ "when": "false"
945
+ },
946
+ {
947
+ "command": "lean4.infoview.saveSettings",
948
+ "when": "false"
949
+ },
542
950
  {
543
951
  "command": "lean4.loogle.search"
544
952
  },
953
+ {
954
+ "command": "lean4.moogle.search"
955
+ },
545
956
  {
546
957
  "command": "lean4.troubleshooting.showOutput"
547
958
  },
@@ -563,6 +974,21 @@
563
974
  {
564
975
  "command": "lean4.setup.installElan"
565
976
  },
977
+ {
978
+ "command": "lean4.setup.updateElan"
979
+ },
980
+ {
981
+ "command": "lean4.setup.uninstallElan"
982
+ },
983
+ {
984
+ "command": "lean4.setup.selectDefaultToolchain"
985
+ },
986
+ {
987
+ "command": "lean4.setup.updateReleaseChannel"
988
+ },
989
+ {
990
+ "command": "lean4.setup.uninstallToolchains"
991
+ },
566
992
  {
567
993
  "command": "lean4.project.createStandaloneProject"
568
994
  },
@@ -594,6 +1020,10 @@
594
1020
  {
595
1021
  "command": "lean4.project.fetchFileCache",
596
1022
  "when": "lean4.isLeanFeatureSetActive"
1023
+ },
1024
+ {
1025
+ "command": "lean4.project.selectProjectToolchain",
1026
+ "when": "lean4.isLeanFeatureSetActive"
597
1027
  }
598
1028
  ],
599
1029
  "editor/title": [
@@ -632,7 +1062,12 @@
632
1062
  {
633
1063
  "command": "lean4.loogle.search",
634
1064
  "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive",
635
- "group": "4_loogle@1"
1065
+ "group": "4_search@1"
1066
+ },
1067
+ {
1068
+ "command": "lean4.moogle.search",
1069
+ "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive",
1070
+ "group": "4_search@2"
636
1071
  },
637
1072
  {
638
1073
  "command": "lean4.troubleshooting.showOutput",
@@ -658,6 +1093,11 @@
658
1093
  "submenu": "lean4.titlebar.documentation",
659
1094
  "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive",
660
1095
  "group": "8_documentation@1"
1096
+ },
1097
+ {
1098
+ "command": "lean4.redisplaySetupError",
1099
+ "when": "lean4.isStickyNotificationActiveButHidden",
1100
+ "group": "9_setupError@1"
661
1101
  }
662
1102
  ],
663
1103
  "lean4.titlebar.newProject": [
@@ -685,10 +1125,35 @@
685
1125
  }
686
1126
  ],
687
1127
  "lean4.titlebar.versions": [
1128
+ {
1129
+ "command": "lean4.setup.selectDefaultToolchain",
1130
+ "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive",
1131
+ "group": "1_toolchains@1"
1132
+ },
1133
+ {
1134
+ "command": "lean4.setup.updateReleaseChannel",
1135
+ "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive",
1136
+ "group": "1_toolchains@2"
1137
+ },
1138
+ {
1139
+ "command": "lean4.setup.uninstallToolchains",
1140
+ "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive",
1141
+ "group": "1_toolchains@3"
1142
+ },
688
1143
  {
689
1144
  "command": "lean4.setup.installElan",
690
1145
  "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive",
691
- "group": "1_setup@1"
1146
+ "group": "2_elan@1"
1147
+ },
1148
+ {
1149
+ "command": "lean4.setup.updateElan",
1150
+ "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive",
1151
+ "group": "2_elan@2"
1152
+ },
1153
+ {
1154
+ "command": "lean4.setup.uninstallElan",
1155
+ "when": "config.lean4.alwaysShowTitleBarMenu || lean4.isLeanFeatureSetActive",
1156
+ "group": "2_elan@3"
692
1157
  }
693
1158
  ],
694
1159
  "lean4.titlebar.projectActions": [
@@ -716,6 +1181,11 @@
716
1181
  "command": "lean4.project.fetchFileCache",
717
1182
  "when": "lean4.isLeanFeatureSetActive",
718
1183
  "group": "2_mathlibActions@2"
1184
+ },
1185
+ {
1186
+ "command": "lean4.project.selectProjectToolchain",
1187
+ "when": "lean4.isLeanFeatureSetActive",
1188
+ "group": "3_projectToolchains@1"
719
1189
  }
720
1190
  ],
721
1191
  "lean4.titlebar.documentation": [
@@ -755,7 +1225,150 @@
755
1225
  "webview/context": [
756
1226
  {
757
1227
  "command": "lean4.infoview.goToDefinition",
758
- "when": "webviewId == 'lean4_infoview' && interactiveCodeTagId"
1228
+ "when": "webviewId == 'lean4_infoview' && interactiveCodeTagId",
1229
+ "group": "0_term@1"
1230
+ },
1231
+ {
1232
+ "command": "lean4.infoview.goToPinnedLocation",
1233
+ "when": "webviewId == 'lean4_infoview' && goToPinnedLocationId",
1234
+ "group": "0_term@2"
1235
+ },
1236
+ {
1237
+ "command": "lean4.infoview.goToMessageLocation",
1238
+ "when": "webviewId == 'lean4_infoview' && goToMessageLocationId",
1239
+ "group": "0_term@3"
1240
+ },
1241
+ {
1242
+ "command": "lean4.infoview.select",
1243
+ "when": "webviewId == 'lean4_infoview' && selectableLocationId",
1244
+ "group": "0_term@4"
1245
+ },
1246
+ {
1247
+ "command": "lean4.infoview.unselect",
1248
+ "when": "webviewId == 'lean4_infoview' && unselectableLocationId",
1249
+ "group": "0_term@5"
1250
+ },
1251
+ {
1252
+ "command": "lean4.infoview.unselectAll",
1253
+ "when": "webviewId == 'lean4_infoview' && selectedLocationsId",
1254
+ "group": "0_term@6"
1255
+ },
1256
+ {
1257
+ "command": "lean4.infoview.pin",
1258
+ "when": "webviewId == 'lean4_infoview' && pinId",
1259
+ "group": "1_info@1"
1260
+ },
1261
+ {
1262
+ "command": "lean4.infoview.unpin",
1263
+ "when": "webviewId == 'lean4_infoview' && unpinId",
1264
+ "group": "1_info@2"
1265
+ },
1266
+ {
1267
+ "command": "lean4.infoview.pause",
1268
+ "when": "webviewId == 'lean4_infoview' && pauseId",
1269
+ "group": "1_info@3"
1270
+ },
1271
+ {
1272
+ "command": "lean4.infoview.unpause",
1273
+ "when": "webviewId == 'lean4_infoview' && unpauseId",
1274
+ "group": "1_info@4"
1275
+ },
1276
+ {
1277
+ "command": "lean4.infoview.refresh",
1278
+ "when": "webviewId == 'lean4_infoview' && refreshId",
1279
+ "group": "1_info@5"
1280
+ },
1281
+ {
1282
+ "command": "lean4.infoview.pauseAllMessages",
1283
+ "when": "webviewId == 'lean4_infoview' && pauseAllMessagesId",
1284
+ "group": "1_info@6"
1285
+ },
1286
+ {
1287
+ "command": "lean4.infoview.unpauseAllMessages",
1288
+ "when": "webviewId == 'lean4_infoview' && unpauseAllMessagesId",
1289
+ "group": "1_info@7"
1290
+ },
1291
+ {
1292
+ "submenu": "lean4.infoview.contextMenuSettings",
1293
+ "when": "webviewId == 'lean4_infoview'",
1294
+ "group": "z_settings@1"
1295
+ }
1296
+ ],
1297
+ "lean4.infoview.contextMenuSettings": [
1298
+ {
1299
+ "command": "lean4.infoview.displayTargetBeforeAssumptions",
1300
+ "when": "webviewId == 'lean4_infoview' && displayTargetBeforeAssumptionsId",
1301
+ "group": "0_settings@1"
1302
+ },
1303
+ {
1304
+ "command": "lean4.infoview.displayAssumptionsBeforeTarget",
1305
+ "when": "webviewId == 'lean4_infoview' && displayAssumptionsBeforeTargetId",
1306
+ "group": "0_settings@2"
1307
+ },
1308
+ {
1309
+ "command": "lean4.infoview.hideTypeAssumptions",
1310
+ "when": "webviewId == 'lean4_infoview' && hideTypeAssumptionsId",
1311
+ "group": "0_settings@3"
1312
+ },
1313
+ {
1314
+ "command": "lean4.infoview.showTypeAssumptions",
1315
+ "when": "webviewId == 'lean4_infoview' && showTypeAssumptionsId",
1316
+ "group": "0_settings@4"
1317
+ },
1318
+ {
1319
+ "command": "lean4.infoview.hideInstanceAssumptions",
1320
+ "when": "webviewId == 'lean4_infoview' && hideInstanceAssumptionsId",
1321
+ "group": "0_settings@5"
1322
+ },
1323
+ {
1324
+ "command": "lean4.infoview.showInstanceAssumptions",
1325
+ "when": "webviewId == 'lean4_infoview' && showInstanceAssumptionsId",
1326
+ "group": "0_settings@6"
1327
+ },
1328
+ {
1329
+ "command": "lean4.infoview.hideInaccessibleAssumptions",
1330
+ "when": "webviewId == 'lean4_infoview' && hideInaccessibleAssumptionsId",
1331
+ "group": "0_settings@7"
1332
+ },
1333
+ {
1334
+ "command": "lean4.infoview.showInaccessibleAssumptions",
1335
+ "when": "webviewId == 'lean4_infoview' && showInaccessibleAssumptionsId",
1336
+ "group": "0_settings@8"
1337
+ },
1338
+ {
1339
+ "command": "lean4.infoview.hideLetValues",
1340
+ "when": "webviewId == 'lean4_infoview' && hideLetValuesId",
1341
+ "group": "0_settings@9"
1342
+ },
1343
+ {
1344
+ "command": "lean4.infoview.showLetValues",
1345
+ "when": "webviewId == 'lean4_infoview' && showLetValuesId",
1346
+ "group": "0_settings@10"
1347
+ },
1348
+ {
1349
+ "command": "lean4.infoview.hideGoalNames",
1350
+ "when": "webviewId == 'lean4_infoview' && hideGoalNamesId",
1351
+ "group": "0_settings@11"
1352
+ },
1353
+ {
1354
+ "command": "lean4.infoview.showGoalNames",
1355
+ "when": "webviewId == 'lean4_infoview' && showGoalNamesId",
1356
+ "group": "0_settings@12"
1357
+ },
1358
+ {
1359
+ "command": "lean4.infoview.emphasizeFirstGoal",
1360
+ "when": "webviewId == 'lean4_infoview' && emphasizeFirstGoalId",
1361
+ "group": "0_settings@13"
1362
+ },
1363
+ {
1364
+ "command": "lean4.infoview.deemphasizeFirstGoal",
1365
+ "when": "webviewId == 'lean4_infoview' && deemphasizeFirstGoalId",
1366
+ "group": "0_settings@14"
1367
+ },
1368
+ {
1369
+ "command": "lean4.infoview.saveSettings",
1370
+ "when": "webviewId == 'lean4_infoview' && saveSettingsId",
1371
+ "group": "1_save@1"
759
1372
  }
760
1373
  ]
761
1374
  },
@@ -787,6 +1400,10 @@
787
1400
  {
788
1401
  "id": "lean4.titlebar.documentation",
789
1402
  "label": "Documentation…"
1403
+ },
1404
+ {
1405
+ "id": "lean4.infoview.contextMenuSettings",
1406
+ "label": "Settings…"
790
1407
  }
791
1408
  ],
792
1409
  "semanticTokenScopes": [
@@ -799,6 +1416,10 @@
799
1416
  }
800
1417
  ],
801
1418
  "configurationDefaults": {
1419
+ "files.readonlyInclude": {
1420
+ "**/.lake/**/*.lean": true,
1421
+ "**/.elan/**/*.lean": true
1422
+ },
802
1423
  "[lean4]": {
803
1424
  "editor.unicodeHighlight.ambiguousCharacters": false,
804
1425
  "editor.tabSize": 2,
@@ -919,12 +1540,12 @@
919
1540
  "test": "node ./out/test/suite/runTest.js"
920
1541
  },
921
1542
  "dependencies": {
922
- "@leanprover/infoview": "~0.7.0",
923
- "@leanprover/infoview-api": "~0.4.0",
924
- "@leanprover/unicode-input": "~0.1.0",
925
- "@leanprover/unicode-input-component": "~0.1.0",
1543
+ "@leanprover/infoview": "~0.8.5",
1544
+ "@leanprover/infoview-api": "~0.7.0",
1545
+ "@leanprover/unicode-input": "~0.1.4",
1546
+ "@leanprover/unicode-input-component": "~0.1.4",
926
1547
  "@vscode/codicons": "^0.0.36",
927
- "@vscode/webview-ui-toolkit": "^1.4.0",
1548
+ "@vscode-elements/elements": "^1.7.1",
928
1549
  "markdown-it": "^14.1.0",
929
1550
  "markdown-it-anchor": "^9.0.1",
930
1551
  "semver": "^7.6.0",
@@ -932,7 +1553,6 @@
932
1553
  "zod": "^3.22.4"
933
1554
  },
934
1555
  "devDependencies": {
935
- "@types/glob": "^8.1.0",
936
1556
  "@types/markdown-it": "^14.1.1",
937
1557
  "@types/mocha": "^10.0.6",
938
1558
  "@types/node": "^20.12.12",
@@ -943,14 +1563,14 @@
943
1563
  "@vscode/vsce": "^2.21.1",
944
1564
  "concurrently": "^8.2.2",
945
1565
  "copy-webpack-plugin": "^12.0.2",
946
- "glob": "^10.3.16",
947
1566
  "mocha": "^10.3.0",
948
1567
  "ovsx": "^0.9.1",
949
1568
  "source-map-loader": "^5.0.0",
950
1569
  "ts-loader": "^9.5.1",
951
1570
  "typescript": "^5.4.5",
952
1571
  "webpack": "^5.90.3",
953
- "webpack-cli": "^5.1.4"
1572
+ "webpack-cli": "^5.1.4",
1573
+ "glob": "^10.4.5"
954
1574
  },
955
1575
  "icon": "images/lean_logo.png",
956
1576
  "license": "Apache-2.0",