@ripple-ts/language-server 0.3.42 → 0.3.43
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/dist/language-server.js
CHANGED
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_typescriptService = require('./typescriptService-
|
|
2
|
+
const require_typescriptService = require('./typescriptService-CVPtEiKA.js');
|
|
3
3
|
let volar_service_css = require("volar-service-css");
|
|
4
4
|
|
|
5
5
|
//#region src/server.js
|
|
@@ -21211,22 +21211,22 @@ function generateImportEdit(documentText, importName) {
|
|
|
21211
21211
|
*/
|
|
21212
21212
|
const RIPPLE_SNIPPETS = [
|
|
21213
21213
|
{
|
|
21214
|
-
label: "
|
|
21214
|
+
label: "{style}",
|
|
21215
21215
|
kind: import_language_server.CompletionItemKind.Snippet,
|
|
21216
21216
|
detail: "Scoped CSS class reference",
|
|
21217
|
-
documentation: "Produces a scoped CSS class string for passing to child components.\nThe class must be defined as a standalone selector in <style>.\n\nUsage: <Child cls={
|
|
21218
|
-
insertText: "
|
|
21217
|
+
documentation: "Produces a scoped CSS class string for passing to child components.\nThe class must be defined as a standalone selector in <style>.\n\nUsage: <Child cls={style \"highlight\"} />",
|
|
21218
|
+
insertText: "style \"${1:className}\"",
|
|
21219
21219
|
insertTextFormat: import_language_server.InsertTextFormat.Snippet,
|
|
21220
|
-
sortText: "0
|
|
21220
|
+
sortText: "0-style"
|
|
21221
21221
|
},
|
|
21222
21222
|
{
|
|
21223
|
-
label: "
|
|
21223
|
+
label: "module server",
|
|
21224
21224
|
kind: import_language_server.CompletionItemKind.Snippet,
|
|
21225
|
-
detail: "Server-only
|
|
21226
|
-
documentation: "
|
|
21227
|
-
insertText: "
|
|
21225
|
+
detail: "Server-only submodule (module level)",
|
|
21226
|
+
documentation: "Declares a server-only submodule. Import exported functions with `import { loadData } from server` before using them.\nMust be at module top level.\n\nUsage:\nmodule server {\n export async function loadData() { ... }\n}\n\nimport { loadData } from server;",
|
|
21227
|
+
insertText: "module server {\n $0\n}",
|
|
21228
21228
|
insertTextFormat: import_language_server.InsertTextFormat.Snippet,
|
|
21229
|
-
sortText: "0
|
|
21229
|
+
sortText: "0-module-server"
|
|
21230
21230
|
},
|
|
21231
21231
|
{
|
|
21232
21232
|
label: "component",
|
|
@@ -21382,7 +21382,7 @@ function createCompletionPlugin() {
|
|
|
21382
21382
|
return {
|
|
21383
21383
|
name: "ripple-completion-enhancer",
|
|
21384
21384
|
capabilities: { completionProvider: {
|
|
21385
|
-
triggerCharacters: ["<", "
|
|
21385
|
+
triggerCharacters: ["<", "{"],
|
|
21386
21386
|
resolveProvider: false
|
|
21387
21387
|
} },
|
|
21388
21388
|
create(context) {
|
|
@@ -21863,4 +21863,4 @@ Object.defineProperty(exports, 'resolveConfig', {
|
|
|
21863
21863
|
return resolveConfig;
|
|
21864
21864
|
}
|
|
21865
21865
|
});
|
|
21866
|
-
//# sourceMappingURL=typescriptService-
|
|
21866
|
+
//# sourceMappingURL=typescriptService-CVPtEiKA.js.map
|