mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
13f4203437
I've reworked the autocomplete parser to more closely match Newton, the Fig-compatible parser I prototyped earlier this year. I was able to move a lot faster by reusing patterns that inshellisense proved out, such as for templates and generators. I also support some features that inshellisense doesn't, like proper combining of Posix-compatible flags, handling of option argument separators, and handling of cursors in insertValues.
36 lines
1.8 KiB
JSON
36 lines
1.8 KiB
JSON
{
|
|
"include": ["src/**/*", "types/**/*"],
|
|
"compilerOptions": {
|
|
"target": "es6",
|
|
"module": "commonjs",
|
|
"jsx": "preserve",
|
|
"lib": ["ES2022"],
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"moduleResolution": "node",
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"isolatedModules": true,
|
|
"experimentalDecorators": true,
|
|
"downlevelIteration": true,
|
|
"baseUrl": "./",
|
|
"types": ["@withfig/autocomplete-types"],
|
|
"paths": {
|
|
"@/app/*": ["src/app/*"], // Points to the app folder
|
|
"@/util/*": ["src/util/*"], // Points to the util folder
|
|
"@/models": ["src/models/index"], // Points directly to the models index file
|
|
"@/models/*": ["src/models/*"], // For everything else inside models
|
|
"@/common/*": ["src/app/common/*"], // For everything else inside common
|
|
"@/elements": ["src/app/common/elements/index"], // Points directly to the elements index file
|
|
"@/elements/*": ["src/app/common/elements/*"], // For everything else inside elements
|
|
"@/modals": ["src/app/common/modals/index"], // Points directly to the modals index file
|
|
"@/modals/*": ["src/app/common/modals/*"], // For everything else inside modals
|
|
"@/assets/*": ["src/app/assets/*"], // For everything else inside assets
|
|
"@/plugins/*": ["src/plugins/*"], // For everything else inside plugins
|
|
"@/autocomplete": ["src/autocomplete/index"], // Points directly to the autocomplete index file
|
|
"@/autocomplete/*": ["src/autocomplete/*"], // For everything else inside autocomplete
|
|
}
|
|
}
|
|
}
|