Fix regression (typo) on builtins autocomplete!
This commit is contained in:
parent
8c53927f53
commit
3b47957af4
1 changed files with 1 additions and 2 deletions
|
|
@ -240,8 +240,7 @@ export async function buildOpenSCADCompletionItemProvider(fs: FS, workingDir: st
|
||||||
|
|
||||||
const inputFile = join(workingDir, 'foo.scad');
|
const inputFile = join(workingDir, 'foo.scad');
|
||||||
delete parsedFiles[inputFile];
|
delete parsedFiles[inputFile];
|
||||||
// const parsed = await getParsed(inputFile, text, {skipPrivates: false, addBuiltins: true});
|
const parsed = await getParsed(inputFile, text, {skipPrivates: false, addBuiltins: true});
|
||||||
const parsed = await getParsed(inputFile, text, {skipPrivates: false, addBuiltins: false});
|
|
||||||
console.log("PARSED", JSON.stringify(parsed, null, 2));
|
console.log("PARSED", JSON.stringify(parsed, null, 2));
|
||||||
|
|
||||||
type CompletionItem = monaco.languages.CompletionItem & {
|
type CompletionItem = monaco.languages.CompletionItem & {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue