@abaplint/monaco 2.113.85 → 2.113.87
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 +2 -2
- package/build/abap_snippet_provider.js +16 -16
- package/package.json +31 -31
- package/tsconfig.json +22 -22
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# @abaplint/monaco
|
|
2
|
-
|
|
1
|
+
# @abaplint/monaco
|
|
2
|
+
|
|
3
3
|
See https://github.com/abaplint/abaplint
|
|
@@ -218,13 +218,13 @@ class ABAPSnippetProvider {
|
|
|
218
218
|
label: "class",
|
|
219
219
|
kind: monaco.languages.CompletionItemKind.Snippet,
|
|
220
220
|
documentation: "Class declaration",
|
|
221
|
-
insertText: `CLASS $\{1:class_name\} DEFINITION PUBLIC FINAL.
|
|
222
|
-
\tPUBLIC SECTION.
|
|
223
|
-
\t$0
|
|
224
|
-
ENDCLASS.
|
|
225
|
-
|
|
226
|
-
CLASS $\{1:class_name\} IMPLEMENTATION.
|
|
227
|
-
ENDCLASS.
|
|
221
|
+
insertText: `CLASS $\{1:class_name\} DEFINITION PUBLIC FINAL.
|
|
222
|
+
\tPUBLIC SECTION.
|
|
223
|
+
\t$0
|
|
224
|
+
ENDCLASS.
|
|
225
|
+
|
|
226
|
+
CLASS $\{1:class_name\} IMPLEMENTATION.
|
|
227
|
+
ENDCLASS.
|
|
228
228
|
`,
|
|
229
229
|
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
|
|
230
230
|
},
|
|
@@ -232,10 +232,10 @@ ENDCLASS.
|
|
|
232
232
|
label: "case",
|
|
233
233
|
kind: monaco.languages.CompletionItemKind.Snippet,
|
|
234
234
|
documentation: "Case block",
|
|
235
|
-
insertText: `CASE $\{1:var_name\}.
|
|
236
|
-
\tWHEN $\{2:value\}.
|
|
237
|
-
\t\t$\{TM_SELECTED_TEXT\}$0
|
|
238
|
-
\tWHEN OTHERS.
|
|
235
|
+
insertText: `CASE $\{1:var_name\}.
|
|
236
|
+
\tWHEN $\{2:value\}.
|
|
237
|
+
\t\t$\{TM_SELECTED_TEXT\}$0
|
|
238
|
+
\tWHEN OTHERS.
|
|
239
239
|
ENDCASE.`,
|
|
240
240
|
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
|
|
241
241
|
},
|
|
@@ -271,11 +271,11 @@ ENDCASE.`,
|
|
|
271
271
|
label: "gwt",
|
|
272
272
|
kind: monaco.languages.CompletionItemKind.Snippet,
|
|
273
273
|
documentation: "Test method template (given-when-then)",
|
|
274
|
-
insertText: `METHOD test.
|
|
275
|
-
\t" given
|
|
276
|
-
\t$0
|
|
277
|
-
\t" when
|
|
278
|
-
\t" then
|
|
274
|
+
insertText: `METHOD test.
|
|
275
|
+
\t" given
|
|
276
|
+
\t$0
|
|
277
|
+
\t" when
|
|
278
|
+
\t" then
|
|
279
279
|
ENDMETHOD.`,
|
|
280
280
|
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
|
|
281
281
|
},
|
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@abaplint/monaco",
|
|
3
|
-
"version": "2.113.
|
|
4
|
-
"description": "ABAP language support for Monaco Editor",
|
|
5
|
-
"main": "build/index.js",
|
|
6
|
-
"typings": "build/index.d.ts",
|
|
7
|
-
"funding": "https://github.com/sponsors/larshp",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"test": "tsc",
|
|
10
|
-
"publish:minor": "npm --no-git-tag-version version minor && rm -rf build && npm install && npm run test && npm publish --access public",
|
|
11
|
-
"publish:patch": "npm --no-git-tag-version version patch && rm -rf build && npm install && npm run test && npm publish --access public"
|
|
12
|
-
},
|
|
13
|
-
"author": "Lars Hvam Petersen",
|
|
14
|
-
"license": "MIT",
|
|
15
|
-
"bugs": {
|
|
16
|
-
"url": "https://github.com/abaplint/abaplint/issues"
|
|
17
|
-
},
|
|
18
|
-
"repository": {
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "git+https://github.com/abaplint/abaplint.git"
|
|
21
|
-
},
|
|
22
|
-
"homepage": "https://abaplint.org",
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"typescript": "^5.7.
|
|
25
|
-
"monaco-editor-core": "^0.44.0",
|
|
26
|
-
"vscode-languageserver-types": "^3.17.5"
|
|
27
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"@abaplint/core": "^2.113.
|
|
30
|
-
}
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@abaplint/monaco",
|
|
3
|
+
"version": "2.113.87",
|
|
4
|
+
"description": "ABAP language support for Monaco Editor",
|
|
5
|
+
"main": "build/index.js",
|
|
6
|
+
"typings": "build/index.d.ts",
|
|
7
|
+
"funding": "https://github.com/sponsors/larshp",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"test": "tsc",
|
|
10
|
+
"publish:minor": "npm --no-git-tag-version version minor && rm -rf build && npm install && npm run test && npm publish --access public",
|
|
11
|
+
"publish:patch": "npm --no-git-tag-version version patch && rm -rf build && npm install && npm run test && npm publish --access public"
|
|
12
|
+
},
|
|
13
|
+
"author": "Lars Hvam Petersen",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/abaplint/abaplint/issues"
|
|
17
|
+
},
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/abaplint/abaplint.git"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://abaplint.org",
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"typescript": "^5.7.3",
|
|
25
|
+
"monaco-editor-core": "^0.44.0",
|
|
26
|
+
"vscode-languageserver-types": "^3.17.5"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@abaplint/core": "^2.113.87"
|
|
30
|
+
}
|
|
31
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"noImplicitAny": true,
|
|
4
|
-
"noEmitOnError": true,
|
|
5
|
-
"noUnusedLocals": true,
|
|
6
|
-
"strictNullChecks": true,
|
|
7
|
-
"sourceMap": true,
|
|
8
|
-
"module": "commonjs",
|
|
9
|
-
"moduleResolution": "node",
|
|
10
|
-
"resolveJsonModule": true,
|
|
11
|
-
"esModuleInterop": true,
|
|
12
|
-
"declaration": true,
|
|
13
|
-
"target": "es2017",
|
|
14
|
-
"outDir": "./build",
|
|
15
|
-
"baseUrl": ".",
|
|
16
|
-
"types": []
|
|
17
|
-
},
|
|
18
|
-
"include": ["src/*"],
|
|
19
|
-
"files": [
|
|
20
|
-
"./node_modules/monaco-editor-core/monaco.d.ts"
|
|
21
|
-
]
|
|
22
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"noImplicitAny": true,
|
|
4
|
+
"noEmitOnError": true,
|
|
5
|
+
"noUnusedLocals": true,
|
|
6
|
+
"strictNullChecks": true,
|
|
7
|
+
"sourceMap": true,
|
|
8
|
+
"module": "commonjs",
|
|
9
|
+
"moduleResolution": "node",
|
|
10
|
+
"resolveJsonModule": true,
|
|
11
|
+
"esModuleInterop": true,
|
|
12
|
+
"declaration": true,
|
|
13
|
+
"target": "es2017",
|
|
14
|
+
"outDir": "./build",
|
|
15
|
+
"baseUrl": ".",
|
|
16
|
+
"types": []
|
|
17
|
+
},
|
|
18
|
+
"include": ["src/*"],
|
|
19
|
+
"files": [
|
|
20
|
+
"./node_modules/monaco-editor-core/monaco.d.ts"
|
|
21
|
+
]
|
|
22
|
+
}
|