lean4monaco 1.0.11 → 1.0.13
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/LICENSE +201 -0
- package/README.md +34 -2
- package/dist/infowebview.js +20 -20
- package/dist/leanmonaco.d.ts +9 -0
- package/package.json +39 -17
- package/dist/monaco-lean4/lean4-infoview/package.json +0 -59
- package/dist/monaco-lean4/lean4-infoview/src/infoview/index.css +0 -272
- package/dist/monaco-lean4/lean4-infoview/test/tsconfig.json +0 -7
- package/dist/monaco-lean4/lean4-infoview/tsconfig.json +0 -34
- package/dist/monaco-lean4/lean4-infoview-api/package.json +0 -20
- package/dist/monaco-lean4/lean4-infoview-api/tsconfig.json +0 -29
- package/dist/monaco-lean4/lean4-unicode-input/package.json +0 -19
- package/dist/monaco-lean4/lean4-unicode-input/src/abbreviations.json +0 -1836
- package/dist/monaco-lean4/lean4-unicode-input/tsconfig.json +0 -18
- package/dist/monaco-lean4/lean4-unicode-input-component/package.json +0 -22
- package/dist/monaco-lean4/lean4-unicode-input-component/tsconfig.json +0 -18
- package/dist/monaco-lean4/lerna.json +0 -4
- package/dist/monaco-lean4/package-lock.json +0 -14153
- package/dist/monaco-lean4/package.json +0 -39
- package/dist/monaco-lean4/vscode-lean4/abbreviationview/tsconfig.json +0 -10
- package/dist/monaco-lean4/vscode-lean4/language-configuration.json +0 -157
- package/dist/monaco-lean4/vscode-lean4/loogleview/static/index.css +0 -94
- package/dist/monaco-lean4/vscode-lean4/loogleview/tsconfig.json +0 -10
- 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.d.ts +0 -37
- 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/monaco-lean4/vscode-lean4/syntaxes/codeblock.json +0 -45
- package/dist/monaco-lean4/vscode-lean4/syntaxes/lean4-markdown.json +0 -2637
- package/dist/monaco-lean4/vscode-lean4/syntaxes/lean4.json +0 -127
- package/dist/monaco-lean4/vscode-lean4/tsconfig.json +0 -18
- package/dist/monaco-lean4/vscode-lean4/webview/tsconfig.json +0 -11
- package/dist/vscode.css +0 -7
- package/dist/webview.d.ts +0 -1
- package/dist/webview.js +0 -17
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@leanprover/vscode-lean4-repo",
|
|
3
|
-
"private": true,
|
|
4
|
-
"scripts": {
|
|
5
|
-
"build": "lerna run --stream build",
|
|
6
|
-
"test": "lerna run --stream test",
|
|
7
|
-
"watch": "lerna run --parallel --stream watch",
|
|
8
|
-
"watchTest": "lerna run --parallel --stream watchTest",
|
|
9
|
-
"lint": "eslint -c .eslintrc.js \"{lean4-infoview-api,lean4-infoview,lean4-unicode-input,lean4-unicode-input-component,vscode-lean4}/src/**/*.{ts,tsx}\" \"vscode-lean4/test/suite/**/*.{ts,tsx}\"",
|
|
10
|
-
"prepare": "husky install"
|
|
11
|
-
},
|
|
12
|
-
"workspaces": [
|
|
13
|
-
"lean4-infoview-api",
|
|
14
|
-
"lean4-infoview",
|
|
15
|
-
"lean4-unicode-input",
|
|
16
|
-
"lean4-unicode-input-component",
|
|
17
|
-
"vscode-lean4"
|
|
18
|
-
],
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "^7.9.0",
|
|
21
|
-
"@typescript-eslint/parser": "^7.9.0",
|
|
22
|
-
"eslint": "^8.45.0",
|
|
23
|
-
"eslint-config-prettier": "^9.1.0",
|
|
24
|
-
"eslint-plugin-react-hooks": "^4.6.0",
|
|
25
|
-
"husky": "^9.0.11",
|
|
26
|
-
"lerna": "^8.1.2",
|
|
27
|
-
"lint-staged": "^15.2.2",
|
|
28
|
-
"prettier": "^3.2.5",
|
|
29
|
-
"prettier-plugin-organize-imports": "^3.2.4",
|
|
30
|
-
"typescript": "^5.4.5"
|
|
31
|
-
},
|
|
32
|
-
"lint-staged": {
|
|
33
|
-
"*.{ts,tsx,js}": [
|
|
34
|
-
"eslint --cache --fix",
|
|
35
|
-
"prettier --write"
|
|
36
|
-
],
|
|
37
|
-
"*.{json,css}": "prettier --write"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"comments": {
|
|
3
|
-
"lineComment": "--",
|
|
4
|
-
"blockComment": ["/-", "-/"]
|
|
5
|
-
},
|
|
6
|
-
"brackets": [
|
|
7
|
-
["(", ")"],
|
|
8
|
-
["`(", ")"],
|
|
9
|
-
["``(", ")"],
|
|
10
|
-
["[", "]"],
|
|
11
|
-
["#[", "]"],
|
|
12
|
-
["@[", "]"],
|
|
13
|
-
["%[", "]"],
|
|
14
|
-
["{", "}"],
|
|
15
|
-
["⁅", "⁆"],
|
|
16
|
-
["⁽", "⁾"],
|
|
17
|
-
["₍", "₎"],
|
|
18
|
-
["〈", "〉"],
|
|
19
|
-
["⟮", "⟯"],
|
|
20
|
-
["⎴", "⎵"],
|
|
21
|
-
["⟅", "⟆"],
|
|
22
|
-
["⟦", "⟧"],
|
|
23
|
-
["⟨", "⟩"],
|
|
24
|
-
["⟪", "⟫"],
|
|
25
|
-
["⦃", "⦄"],
|
|
26
|
-
["〈", "〉"],
|
|
27
|
-
["《", "》"],
|
|
28
|
-
["‹", "›"],
|
|
29
|
-
["«", "»"],
|
|
30
|
-
["「", "」"],
|
|
31
|
-
["『", "』"],
|
|
32
|
-
["【", "】"],
|
|
33
|
-
["〔", "〕"],
|
|
34
|
-
["〖", "〗"],
|
|
35
|
-
["〚", "〛"],
|
|
36
|
-
["︵", "︶"],
|
|
37
|
-
["︷", "︸"],
|
|
38
|
-
["︹", "︺"],
|
|
39
|
-
["︻", "︼"],
|
|
40
|
-
["︽", "︾"],
|
|
41
|
-
["︿", "﹀"],
|
|
42
|
-
["﹁", "﹂"],
|
|
43
|
-
["﹃", "﹄"],
|
|
44
|
-
["﹙", "﹚"],
|
|
45
|
-
["﹛", "﹜"],
|
|
46
|
-
["﹝", "﹞"],
|
|
47
|
-
["(", ")"],
|
|
48
|
-
["[", "]"],
|
|
49
|
-
["{", "}"],
|
|
50
|
-
["「", "」"],
|
|
51
|
-
["\"", "\""],
|
|
52
|
-
["s!\"", "\""],
|
|
53
|
-
["f!\"", "\""],
|
|
54
|
-
["m!\"", "\""]
|
|
55
|
-
],
|
|
56
|
-
"autoClosingPairs": [
|
|
57
|
-
["(", ")"],
|
|
58
|
-
["`(", ")"],
|
|
59
|
-
["``(", ")"],
|
|
60
|
-
["[", "]"],
|
|
61
|
-
["#[", "]"],
|
|
62
|
-
["@[", "]"],
|
|
63
|
-
["%[", "]"],
|
|
64
|
-
["{", "}"],
|
|
65
|
-
["⁅", "⁆"],
|
|
66
|
-
["⟮", "⟯"],
|
|
67
|
-
["⁽", "⁾"],
|
|
68
|
-
["₍", "₎"],
|
|
69
|
-
["⎴", "⎵"],
|
|
70
|
-
["⟅", "⟆"],
|
|
71
|
-
["⟦", "⟧"],
|
|
72
|
-
["⟨", "⟩"],
|
|
73
|
-
["⟪", "⟫"],
|
|
74
|
-
["⦃", "⦄"],
|
|
75
|
-
["〈", "〉"],
|
|
76
|
-
["《", "》"],
|
|
77
|
-
["‹", "›"],
|
|
78
|
-
["«", "»"],
|
|
79
|
-
["「", "」"],
|
|
80
|
-
["『", "』"],
|
|
81
|
-
["【", "】"],
|
|
82
|
-
["〔", "〕"],
|
|
83
|
-
["〖", "〗"],
|
|
84
|
-
["〚", "〛"],
|
|
85
|
-
["︵", "︶"],
|
|
86
|
-
["︷", "︸"],
|
|
87
|
-
["︹", "︺"],
|
|
88
|
-
["︻", "︼"],
|
|
89
|
-
["︽", "︾"],
|
|
90
|
-
["︿", "﹀"],
|
|
91
|
-
["﹁", "﹂"],
|
|
92
|
-
["﹃", "﹄"],
|
|
93
|
-
["﹙", "﹚"],
|
|
94
|
-
["﹛", "﹜"],
|
|
95
|
-
["﹝", "﹞"],
|
|
96
|
-
["(", ")"],
|
|
97
|
-
["[", "]"],
|
|
98
|
-
["{", "}"],
|
|
99
|
-
["「", "」"],
|
|
100
|
-
["/-", "-/"],
|
|
101
|
-
["\"", "\""],
|
|
102
|
-
["s!\"", "\""],
|
|
103
|
-
["f!\"", "\""],
|
|
104
|
-
["m!\"", "\""]
|
|
105
|
-
],
|
|
106
|
-
"surroundingPairs": [
|
|
107
|
-
["(", ")"],
|
|
108
|
-
["[", "]"],
|
|
109
|
-
["{", "}"],
|
|
110
|
-
["⁅", "⁆"],
|
|
111
|
-
["⁽", "⁾"],
|
|
112
|
-
["₍", "₎"],
|
|
113
|
-
["〈", "〉"],
|
|
114
|
-
["⎴", "⎵"],
|
|
115
|
-
["⟅", "⟆"],
|
|
116
|
-
["⟦", "⟧"],
|
|
117
|
-
["⟨", "⟩"],
|
|
118
|
-
["⟪", "⟫"],
|
|
119
|
-
["⦃", "⦄"],
|
|
120
|
-
["〈", "〉"],
|
|
121
|
-
["《", "》"],
|
|
122
|
-
["‹", "›"],
|
|
123
|
-
["«", "»"],
|
|
124
|
-
["「", "」"],
|
|
125
|
-
["『", "』"],
|
|
126
|
-
["【", "】"],
|
|
127
|
-
["〔", "〕"],
|
|
128
|
-
["〖", "〗"],
|
|
129
|
-
["〚", "〛"],
|
|
130
|
-
["︵", "︶"],
|
|
131
|
-
["︷", "︸"],
|
|
132
|
-
["︹", "︺"],
|
|
133
|
-
["︻", "︼"],
|
|
134
|
-
["︽", "︾"],
|
|
135
|
-
["︿", "﹀"],
|
|
136
|
-
["﹁", "﹂"],
|
|
137
|
-
["﹃", "﹄"],
|
|
138
|
-
["﹙", "﹚"],
|
|
139
|
-
["﹛", "﹜"],
|
|
140
|
-
["﹝", "﹞"],
|
|
141
|
-
["(", ")"],
|
|
142
|
-
["[", "]"],
|
|
143
|
-
["{", "}"],
|
|
144
|
-
["「", "」"],
|
|
145
|
-
["\"", "\""],
|
|
146
|
-
["'", "'"],
|
|
147
|
-
["`", "`"],
|
|
148
|
-
["*", "*"]
|
|
149
|
-
],
|
|
150
|
-
"wordPattern": "([^`~@$%^&*()\\-=+\\[{\\]}⟨⟩⦃⦄⟦⟧⟮⟯‹›<>\\\\|;:\",./\\s]+)",
|
|
151
|
-
"onEnterRules": [
|
|
152
|
-
{
|
|
153
|
-
"beforeText": "^\\s*(·|\\.)\\s.*$",
|
|
154
|
-
"action": { "indent": "indent" }
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
.loader {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
margin-left: 8px;
|
|
4
|
-
border: 4px solid #f3f3f3; /* Light grey */
|
|
5
|
-
border-top: 4px solid #3498db; /* Blue */
|
|
6
|
-
border-radius: 50%;
|
|
7
|
-
width: 16px;
|
|
8
|
-
height: 16px;
|
|
9
|
-
animation: spin 2s linear infinite;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@keyframes spin {
|
|
13
|
-
0% {
|
|
14
|
-
transform: rotate(0deg);
|
|
15
|
-
}
|
|
16
|
-
100% {
|
|
17
|
-
transform: rotate(360deg);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.hidden {
|
|
22
|
-
display: none;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.query-label {
|
|
26
|
-
display: block;
|
|
27
|
-
color: var(--foreground);
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
font-size: var(--type-ramp-base-font-size);
|
|
30
|
-
line-height: var(--type-ramp-base-line-height);
|
|
31
|
-
margin-bottom: 2px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.query-container {
|
|
35
|
-
display: flex;
|
|
36
|
-
align-items: center;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.input-container {
|
|
40
|
-
display: flex;
|
|
41
|
-
justify-content: space-between;
|
|
42
|
-
align-items: center;
|
|
43
|
-
width: 70ch;
|
|
44
|
-
|
|
45
|
-
box-sizing: border-box;
|
|
46
|
-
position: relative;
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: row;
|
|
49
|
-
color: var(--input-foreground);
|
|
50
|
-
background: var(--input-background);
|
|
51
|
-
border-radius: calc(var(--corner-radius-round) * 1px);
|
|
52
|
-
border: calc(var(--border-width) * 1px) solid var(--dropdown-border);
|
|
53
|
-
height: calc(var(--input-height) * 1px);
|
|
54
|
-
min-width: var(--input-min-width);
|
|
55
|
-
font-family: var(--font-family);
|
|
56
|
-
outline: none;
|
|
57
|
-
user-select: none;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.input-container:focus-within:not([disabled]) {
|
|
61
|
-
border-color: var(--focus-border);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
[contenteditable='true'].single-line {
|
|
65
|
-
white-space: nowrap;
|
|
66
|
-
width: 60ch;
|
|
67
|
-
overflow: hidden;
|
|
68
|
-
outline: none;
|
|
69
|
-
|
|
70
|
-
height: calc(100% - (var(--design-unit) * 1px));
|
|
71
|
-
margin-top: auto;
|
|
72
|
-
margin-bottom: auto;
|
|
73
|
-
border: none;
|
|
74
|
-
padding: 0 calc(var(--design-unit) * 2px + 1px);
|
|
75
|
-
font-size: var(--type-ramp-base-font-size);
|
|
76
|
-
line-height: var(--type-ramp-base-line-height);
|
|
77
|
-
}
|
|
78
|
-
[contenteditable='true'].single-line br {
|
|
79
|
-
display: none;
|
|
80
|
-
}
|
|
81
|
-
[contenteditable='true'].single-line * {
|
|
82
|
-
display: inline;
|
|
83
|
-
white-space: nowrap;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
vscode-button {
|
|
87
|
-
vertical-align: middle;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.input-buttons {
|
|
91
|
-
display: inline-flex;
|
|
92
|
-
margin-left: 0.5em;
|
|
93
|
-
margin-right: 0.5em;
|
|
94
|
-
}
|