This commit is contained in:
ochafik 2024-12-23 12:50:33 +00:00 • committed by Olivier Chafik
commit 1eef3dccca
2 changed files with 10 additions and 10 deletions

View file

@ -69,7 +69,7 @@
"rollup-plugin-css": "^1.0.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-typescript2": "^0.34.1",
"rollup-plugin-typescript2": "^0.36.0",
"rollup-watch": "^3.2.2",
"serve": "^14.2.0",
"style-loader": "^3.3.3",

View file

@ -216,15 +216,15 @@ export async function buildOpenSCADCompletionItemProvider(fs: FS, workingDir: st
const isFolder = !file.endsWith('.scad');
const completion = file + (isFolder ? '' : '>\n'); // don't append '/' as it's a useful trigger char
console.log(JSON.stringify({
prefix,
folder,
filePrefix,
folderPrefix,
// files,
completion,
file,
}, null, 2));
// console.log(JSON.stringify({
// prefix,
// folder,
// filePrefix,
// folderPrefix,
// // files,
// completion,
// file,
// }, null, 2));
suggestions.push({
label: file,