refactor(desktop): organize lib modules by domain
This commit is contained in:
1 parent
90f0594e93
commit
7e7c4944e9
700 files changed
+1292
-1264
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# SQL Semantic
|
||||
|
||||
This directory owns the pure frontend SQL semantic layer used by editor completion, diagnostics, and navigation.
|
||||
|
||||
- `tokens.ts`: span-preserving SQL tokenization and active statement detection.
|
||||
- `dialect.ts`: dialect adapters for identifier normalization, quoting, qualifier roles, and projection alias visibility.
|
||||
- `model.ts`: active-statement semantic model, row-source parsing, cursor intent, and confidence/fallback output.
|
||||
- `completion.ts`: compatibility adapter from semantic intent to the existing SQL completion item builder.
|
||||
- `references.ts`: shared row-source references for completion, diagnostics, and navigation.
|
||||
- `diagnostics.ts`: SQL semantic diagnostic helpers and viewport range selection.
|
||||
- `fixtures.ts` and `types.ts`: test fixtures and shared semantic types.
|
||||
|
||||
The older `sqlCompletion.ts` and `sqlNavigation.ts` files remain at `lib/` for now because they are broad public editor utilities. Move them only with a separate behavior-preserving migration.
|
||||
Reference in new issue
Block a user