lucene-language-support 1.0.0

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/.vscodeignore ADDED
@@ -0,0 +1,9 @@
1
+ src/**
2
+ tsconfig.json
3
+ tsconfig.tsbuildinfo
4
+ node_modules/**
5
+ .vscode/**
6
+ .gitignore
7
+ *.vsix
8
+ ../
9
+ ../../
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Lucene Language Tools
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,103 @@
1
+ # Publishing VS Code Extension
2
+
3
+ ## Prerequisites
4
+
5
+ 1. **Install Visual Studio Code Extension Manager (vsce)**:
6
+ ```bash
7
+ npm install -g @vscode/vsce
8
+ ```
9
+
10
+ 2. **Create a Microsoft/Azure DevOps account**:
11
+ - Go to https://marketplace.visualstudio.com/manage
12
+ - Sign in with Microsoft account
13
+ - Create a publisher account
14
+
15
+ ## Publishing Steps
16
+
17
+ ### 1. Update Publisher Information
18
+
19
+ Edit `package.json` and update the `publisher` field with your actual publisher name:
20
+
21
+ ```json
22
+ {
23
+ "publisher": "your-publisher-name"
24
+ }
25
+ ```
26
+
27
+ ### 2. Build the Extension
28
+
29
+ ```bash
30
+ # From the vscode-extension directory
31
+ pnpm install
32
+ pnpm build
33
+ ```
34
+
35
+ ### 3. Package the Extension
36
+
37
+ ```bash
38
+ # Create a .vsix file
39
+ vsce package
40
+ ```
41
+
42
+ This creates a `.vsix` file you can install locally or publish.
43
+
44
+ ### 4. Test Locally
45
+
46
+ ```bash
47
+ # Install the extension locally for testing
48
+ code --install-extension lucene-language-support-1.0.0.vsix
49
+ ```
50
+
51
+ ### 5. Publish to Marketplace
52
+
53
+ ```bash
54
+ # Login with your publisher account
55
+ vsce login your-publisher-name
56
+
57
+ # Publish the extension
58
+ vsce publish
59
+ ```
60
+
61
+ ## Alternative: Manual Upload
62
+
63
+ 1. Go to https://marketplace.visualstudio.com/manage
64
+ 2. Click "New extension" → "Visual Studio Code"
65
+ 3. Upload the `.vsix` file created by `vsce package`
66
+
67
+ ## Extension Features
68
+
69
+ - **Syntax Highlighting**: Full Lucene query syntax support
70
+ - **IntelliSense**: Context-aware completions for fields and operators
71
+ - **File Support**: `.lucene` and `.lql` file extensions
72
+ - **Configuration**: Customizable field schemas via VS Code settings
73
+
74
+ ## Configuration
75
+
76
+ Users can configure field schemas in their VS Code settings:
77
+
78
+ ```json
79
+ {
80
+ "lucene.fieldSchema": [
81
+ {
82
+ "key": "title",
83
+ "values": ["article", "blog", "news"]
84
+ },
85
+ {
86
+ "key": "status",
87
+ "values": ["active", "inactive", "pending"]
88
+ }
89
+ ]
90
+ }
91
+ ```
92
+
93
+ ## Testing
94
+
95
+ Create a test `.lucene` file with content like:
96
+
97
+ ```lucene
98
+ title:"search query" AND status:active
99
+ price:[100 TO 500]
100
+ author:john* OR category:electronics
101
+ ```
102
+
103
+ The extension should provide syntax highlighting and completions.
@@ -0,0 +1,4 @@
1
+ import * as vscode from 'vscode';
2
+ export declare function activate(context: vscode.ExtensionContext): void;
3
+ export declare function deactivate(): void;
4
+ //# sourceMappingURL=extension.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAGjC,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,gBAAgB,QAYxD;AAED,wBAAgB,UAAU,SAEzB"}
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.activate = activate;
37
+ exports.deactivate = deactivate;
38
+ const vscode = __importStar(require("vscode"));
39
+ const completionProvider_1 = require("./providers/completionProvider");
40
+ function activate(context) {
41
+ console.log('Lucene Language Support extension is now active!');
42
+ // Register completion provider
43
+ const completionProvider = new completionProvider_1.CompletionProvider();
44
+ const completionDisposable = vscode.languages.registerCompletionItemProvider('lucene', completionProvider, ':', ' ', '.', '-', '_');
45
+ context.subscriptions.push(completionDisposable);
46
+ }
47
+ function deactivate() {
48
+ // Clean up resources if needed
49
+ }
50
+ //# sourceMappingURL=extension.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension.js","sourceRoot":"","sources":["../src/extension.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,4BAYC;AAED,gCAEC;AAnBD,+CAAiC;AACjC,uEAAoE;AAEpE,SAAgB,QAAQ,CAAC,OAAgC;IACvD,OAAO,CAAC,GAAG,CAAC,kDAAkD,CAAC,CAAC;IAEhE,+BAA+B;IAC/B,MAAM,kBAAkB,GAAG,IAAI,uCAAkB,EAAE,CAAC;IACpD,MAAM,oBAAoB,GAAG,MAAM,CAAC,SAAS,CAAC,8BAA8B,CAC1E,QAAQ,EACR,kBAAkB,EAClB,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CACxB,CAAC;IAEF,OAAO,CAAC,aAAa,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;AACnD,CAAC;AAED,SAAgB,UAAU;IACxB,+BAA+B;AACjC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import * as vscode from 'vscode';
2
+ export declare class CompletionProvider implements vscode.CompletionItemProvider {
3
+ provideCompletionItems(document: vscode.TextDocument, position: vscode.Position): vscode.ProviderResult<vscode.CompletionItem[] | vscode.CompletionList>;
4
+ private generateBasicCompletions;
5
+ private getCompletionItemKind;
6
+ }
7
+ //# sourceMappingURL=completionProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"completionProvider.d.ts","sourceRoot":"","sources":["../../src/providers/completionProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAGjC,qBAAa,kBAAmB,YAAW,MAAM,CAAC,sBAAsB;IACtE,sBAAsB,CACpB,QAAQ,EAAE,MAAM,CAAC,YAAY,EAC7B,QAAQ,EAAE,MAAM,CAAC,QAAQ,GACxB,MAAM,CAAC,cAAc,CAAC,MAAM,CAAC,cAAc,EAAE,GAAG,MAAM,CAAC,cAAc,CAAC;IA+BzE,OAAO,CAAC,wBAAwB;IA8ChC,OAAO,CAAC,qBAAqB;CAgB9B"}
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CompletionProvider = void 0;
37
+ const vscode = __importStar(require("vscode"));
38
+ class CompletionProvider {
39
+ provideCompletionItems(document, position) {
40
+ // Get the current line and text before cursor
41
+ const lineText = document.lineAt(position).text;
42
+ const textBeforeCursor = lineText.substring(0, position.character);
43
+ const wordRange = document.getWordRangeAtPosition(position);
44
+ const word = wordRange ? document.getText(wordRange) : '';
45
+ // Get field schema from configuration
46
+ const config = vscode.workspace.getConfiguration('lucene');
47
+ const fieldSchema = config.get('fieldSchema', []);
48
+ // Generate basic completions
49
+ const suggestions = this.generateBasicCompletions(textBeforeCursor, word, fieldSchema);
50
+ // Convert to VS Code completion items
51
+ const completionItems = suggestions.map((suggestion) => {
52
+ const item = new vscode.CompletionItem(suggestion.label, this.getCompletionItemKind(suggestion.kind));
53
+ item.insertText = suggestion.insertText;
54
+ item.documentation = suggestion.documentation;
55
+ item.sortText = suggestion.sortText;
56
+ if (suggestion.kind === 'snippet') {
57
+ item.insertText = new vscode.SnippetString(suggestion.insertText);
58
+ }
59
+ return item;
60
+ });
61
+ return completionItems;
62
+ }
63
+ generateBasicCompletions(textBeforeCursor, word, fieldSchema) {
64
+ const suggestions = [];
65
+ // Check if we're after a field name (after colon)
66
+ const fieldMatch = textBeforeCursor.match(/(\w+):\s*$/);
67
+ if (fieldMatch) {
68
+ const fieldName = fieldMatch[1];
69
+ const schema = fieldSchema.find(f => f.key === fieldName);
70
+ if (schema) {
71
+ schema.values.forEach(value => {
72
+ suggestions.push({
73
+ label: value,
74
+ kind: 'value',
75
+ insertText: value,
76
+ detail: `Value for ${fieldName}`,
77
+ sortText: `1_${value}`
78
+ });
79
+ });
80
+ }
81
+ }
82
+ else {
83
+ // Field name suggestions
84
+ fieldSchema.forEach(field => {
85
+ suggestions.push({
86
+ label: field.key,
87
+ kind: 'field',
88
+ insertText: field.key + ':',
89
+ detail: `Field: ${field.key}`,
90
+ sortText: `2_${field.key}`
91
+ });
92
+ });
93
+ // Operator suggestions
94
+ ['AND', 'OR', 'NOT', 'TO'].forEach(op => {
95
+ suggestions.push({
96
+ label: op,
97
+ kind: 'keyword',
98
+ insertText: op,
99
+ detail: `Operator: ${op}`,
100
+ sortText: `3_${op}`
101
+ });
102
+ });
103
+ }
104
+ return suggestions;
105
+ }
106
+ getCompletionItemKind(kind) {
107
+ switch (kind) {
108
+ case 'field':
109
+ return vscode.CompletionItemKind.Field;
110
+ case 'operator':
111
+ return vscode.CompletionItemKind.Operator;
112
+ case 'value':
113
+ return vscode.CompletionItemKind.Value;
114
+ case 'keyword':
115
+ return vscode.CompletionItemKind.Keyword;
116
+ case 'snippet':
117
+ return vscode.CompletionItemKind.Snippet;
118
+ default:
119
+ return vscode.CompletionItemKind.Text;
120
+ }
121
+ }
122
+ }
123
+ exports.CompletionProvider = CompletionProvider;
124
+ //# sourceMappingURL=completionProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"completionProvider.js","sourceRoot":"","sources":["../../src/providers/completionProvider.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,20 @@
1
+ export interface FieldSchema {
2
+ key: string;
3
+ values: string[];
4
+ }
5
+ export interface CompletionSuggestion {
6
+ label: string;
7
+ kind: string;
8
+ insertText: string;
9
+ detail?: string;
10
+ documentation?: string;
11
+ sortText?: string;
12
+ }
13
+ export interface QueryContext {
14
+ isInField: boolean;
15
+ isInValue: boolean;
16
+ isInRange: boolean;
17
+ currentField?: string;
18
+ precedingText: string;
19
+ }
20
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB"}
package/dist/types.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
@@ -0,0 +1,24 @@
1
+ {
2
+ "comments": {
3
+ "lineComment": "//"
4
+ },
5
+ "brackets": [
6
+ ["(", ")"],
7
+ ["[", "]"],
8
+ ["{", "}"],
9
+ ["\"", "\""]
10
+ ],
11
+ "autoClosingPairs": [
12
+ { "open": "(", "close": ")" },
13
+ { "open": "[", "close": "]" },
14
+ { "open": "{", "close": "}" },
15
+ { "open": "\"", "close": "\"" }
16
+ ],
17
+ "surroundingPairs": [
18
+ { "open": "(", "close": ")" },
19
+ { "open": "[", "close": "]" },
20
+ { "open": "{", "close": "}" },
21
+ { "open": "\"", "close": "\"" }
22
+ ],
23
+ "wordPattern": "[a-zA-Z_][a-zA-Z0-9_.-]*"
24
+ }
package/package.json ADDED
@@ -0,0 +1,96 @@
1
+ {
2
+ "name": "lucene-language-support",
3
+ "displayName": "Lucene Language Support",
4
+ "description": "Language support for Apache Lucene query syntax with IntelliSense and syntax highlighting",
5
+ "version": "1.0.0",
6
+ "publisher": "claswen",
7
+ "engines": {
8
+ "vscode": "^1.85.0"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/wen-templari/lucene-monaco-editor.git"
13
+ },
14
+ "categories": [
15
+ "Programming Languages",
16
+ "Snippets",
17
+ "Other"
18
+ ],
19
+ "keywords": [
20
+ "lucene",
21
+ "search",
22
+ "query",
23
+ "apache",
24
+ "elasticsearch",
25
+ "solr"
26
+ ],
27
+ "main": "./dist/extension.js",
28
+ "contributes": {
29
+ "languages": [
30
+ {
31
+ "id": "lucene",
32
+ "aliases": [
33
+ "Lucene",
34
+ "lucene"
35
+ ],
36
+ "extensions": [
37
+ ".lucene",
38
+ ".lql"
39
+ ],
40
+ "configuration": "./language-configuration.json"
41
+ }
42
+ ],
43
+ "grammars": [
44
+ {
45
+ "language": "lucene",
46
+ "scopeName": "source.lucene",
47
+ "path": "./syntaxes/lucene.tmLanguage.json"
48
+ }
49
+ ],
50
+ "configuration": {
51
+ "title": "Lucene Language Support",
52
+ "properties": {
53
+ "lucene.fieldSchema": {
54
+ "type": "array",
55
+ "default": [],
56
+ "description": "Field schema for completion suggestions",
57
+ "items": {
58
+ "type": "object",
59
+ "properties": {
60
+ "key": {
61
+ "type": "string",
62
+ "description": "Field name"
63
+ },
64
+ "values": {
65
+ "type": "array",
66
+ "description": "Possible field values",
67
+ "items": {
68
+ "type": "string"
69
+ }
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ },
77
+ "activationEvents": [
78
+ "onLanguage:lucene"
79
+ ],
80
+ "dependencies": {},
81
+ "devDependencies": {
82
+ "@types/vscode": "^1.85.0",
83
+ "@vscode/test-electron": "^2.3.8",
84
+ "@vscode/vsce": "^2.22.0",
85
+ "typescript": "~5.8.3",
86
+ "eslint": "^9.29.0"
87
+ },
88
+ "scripts": {
89
+ "build": "tsc -p ./",
90
+ "watch": "tsc -watch -p ./",
91
+ "package": "vsce package",
92
+ "clean": "rm -rf dist",
93
+ "typecheck": "tsc --noEmit",
94
+ "lint": "eslint src --ext .ts"
95
+ }
96
+ }
@@ -0,0 +1,20 @@
1
+ import * as vscode from 'vscode';
2
+ import { CompletionProvider } from './providers/completionProvider';
3
+
4
+ export function activate(context: vscode.ExtensionContext) {
5
+ console.log('Lucene Language Support extension is now active!');
6
+
7
+ // Register completion provider
8
+ const completionProvider = new CompletionProvider();
9
+ const completionDisposable = vscode.languages.registerCompletionItemProvider(
10
+ 'lucene',
11
+ completionProvider,
12
+ ':', ' ', '.', '-', '_'
13
+ );
14
+
15
+ context.subscriptions.push(completionDisposable);
16
+ }
17
+
18
+ export function deactivate() {
19
+ // Clean up resources if needed
20
+ }
@@ -0,0 +1,101 @@
1
+ import * as vscode from 'vscode';
2
+ import { type FieldSchema, type CompletionSuggestion } from '../types';
3
+
4
+ export class CompletionProvider implements vscode.CompletionItemProvider {
5
+ provideCompletionItems(
6
+ document: vscode.TextDocument,
7
+ position: vscode.Position,
8
+ ): vscode.ProviderResult<vscode.CompletionItem[] | vscode.CompletionList> {
9
+ // Get the current line and text before cursor
10
+ const lineText = document.lineAt(position).text;
11
+ const textBeforeCursor = lineText.substring(0, position.character);
12
+ const wordRange = document.getWordRangeAtPosition(position);
13
+ const word = wordRange ? document.getText(wordRange) : '';
14
+
15
+ // Get field schema from configuration
16
+ const config = vscode.workspace.getConfiguration('lucene');
17
+ const fieldSchema: FieldSchema[] = config.get('fieldSchema', []);
18
+
19
+ // Generate basic completions
20
+ const suggestions = this.generateBasicCompletions(textBeforeCursor, word, fieldSchema);
21
+
22
+ // Convert to VS Code completion items
23
+ const completionItems = suggestions.map((suggestion: CompletionSuggestion) => {
24
+ const item = new vscode.CompletionItem(suggestion.label, this.getCompletionItemKind(suggestion.kind));
25
+ item.insertText = suggestion.insertText;
26
+ item.documentation = suggestion.documentation;
27
+ item.sortText = suggestion.sortText;
28
+
29
+ if (suggestion.kind === 'snippet') {
30
+ item.insertText = new vscode.SnippetString(suggestion.insertText);
31
+ }
32
+
33
+ return item;
34
+ });
35
+
36
+ return completionItems;
37
+ }
38
+
39
+ private generateBasicCompletions(textBeforeCursor: string, word: string, fieldSchema: FieldSchema[]): CompletionSuggestion[] {
40
+ const suggestions: CompletionSuggestion[] = [];
41
+
42
+ // Check if we're after a field name (after colon)
43
+ const fieldMatch = textBeforeCursor.match(/(\w+):\s*$/);
44
+ if (fieldMatch) {
45
+ const fieldName = fieldMatch[1];
46
+ const schema = fieldSchema.find(f => f.key === fieldName);
47
+ if (schema) {
48
+ schema.values.forEach(value => {
49
+ suggestions.push({
50
+ label: value,
51
+ kind: 'value',
52
+ insertText: value,
53
+ detail: `Value for ${fieldName}`,
54
+ sortText: `1_${value}`
55
+ });
56
+ });
57
+ }
58
+ } else {
59
+ // Field name suggestions
60
+ fieldSchema.forEach(field => {
61
+ suggestions.push({
62
+ label: field.key,
63
+ kind: 'field',
64
+ insertText: field.key + ':',
65
+ detail: `Field: ${field.key}`,
66
+ sortText: `2_${field.key}`
67
+ });
68
+ });
69
+
70
+ // Operator suggestions
71
+ ['AND', 'OR', 'NOT', 'TO'].forEach(op => {
72
+ suggestions.push({
73
+ label: op,
74
+ kind: 'keyword',
75
+ insertText: op,
76
+ detail: `Operator: ${op}`,
77
+ sortText: `3_${op}`
78
+ });
79
+ });
80
+ }
81
+
82
+ return suggestions;
83
+ }
84
+
85
+ private getCompletionItemKind(kind: string): vscode.CompletionItemKind {
86
+ switch (kind) {
87
+ case 'field':
88
+ return vscode.CompletionItemKind.Field;
89
+ case 'operator':
90
+ return vscode.CompletionItemKind.Operator;
91
+ case 'value':
92
+ return vscode.CompletionItemKind.Value;
93
+ case 'keyword':
94
+ return vscode.CompletionItemKind.Keyword;
95
+ case 'snippet':
96
+ return vscode.CompletionItemKind.Snippet;
97
+ default:
98
+ return vscode.CompletionItemKind.Text;
99
+ }
100
+ }
101
+ }
package/src/types.ts ADDED
@@ -0,0 +1,22 @@
1
+ // Inline types for VS Code extension to avoid workspace dependency issues
2
+ export interface FieldSchema {
3
+ key: string;
4
+ values: string[];
5
+ }
6
+
7
+ export interface CompletionSuggestion {
8
+ label: string;
9
+ kind: string;
10
+ insertText: string;
11
+ detail?: string;
12
+ documentation?: string;
13
+ sortText?: string;
14
+ }
15
+
16
+ export interface QueryContext {
17
+ isInField: boolean;
18
+ isInValue: boolean;
19
+ isInRange: boolean;
20
+ currentField?: string;
21
+ precedingText: string;
22
+ }
@@ -0,0 +1,161 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
3
+ "name": "Lucene",
4
+ "scopeName": "source.lucene",
5
+ "patterns": [
6
+ {
7
+ "include": "#comments"
8
+ },
9
+ {
10
+ "include": "#strings"
11
+ },
12
+ {
13
+ "include": "#regex"
14
+ },
15
+ {
16
+ "include": "#numbers"
17
+ },
18
+ {
19
+ "include": "#dates"
20
+ },
21
+ {
22
+ "include": "#fields"
23
+ },
24
+ {
25
+ "include": "#operators"
26
+ },
27
+ {
28
+ "include": "#keywords"
29
+ },
30
+ {
31
+ "include": "#ranges"
32
+ },
33
+ {
34
+ "include": "#wildcards"
35
+ },
36
+ {
37
+ "include": "#escapes"
38
+ }
39
+ ],
40
+ "repository": {
41
+ "comments": {
42
+ "patterns": [
43
+ {
44
+ "name": "comment.line.double-slash.lucene",
45
+ "begin": "//",
46
+ "end": "$"
47
+ }
48
+ ]
49
+ },
50
+ "strings": {
51
+ "patterns": [
52
+ {
53
+ "name": "string.quoted.double.lucene",
54
+ "begin": "\"",
55
+ "end": "\"",
56
+ "patterns": [
57
+ {
58
+ "name": "constant.character.escape.lucene",
59
+ "match": "\\\\."
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ },
65
+ "regex": {
66
+ "patterns": [
67
+ {
68
+ "name": "string.regexp.lucene",
69
+ "begin": "/",
70
+ "end": "/",
71
+ "patterns": [
72
+ {
73
+ "name": "constant.character.escape.lucene",
74
+ "match": "\\\\."
75
+ }
76
+ ]
77
+ }
78
+ ]
79
+ },
80
+ "numbers": {
81
+ "patterns": [
82
+ {
83
+ "name": "constant.numeric.lucene",
84
+ "match": "\\b\\d+(\\.\\d+)?([eE][+-]?\\d+)?\\b"
85
+ }
86
+ ]
87
+ },
88
+ "dates": {
89
+ "patterns": [
90
+ {
91
+ "name": "constant.other.date.lucene",
92
+ "match": "\\b\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}:\\d{2}(\\.\\d{3})?Z?)?\\b"
93
+ },
94
+ {
95
+ "name": "constant.other.date.lucene",
96
+ "match": "\\b\\d{1,2}/\\d{1,2}/\\d{4}\\b"
97
+ }
98
+ ]
99
+ },
100
+ "fields": {
101
+ "patterns": [
102
+ {
103
+ "name": "entity.name.function.lucene",
104
+ "match": "\\b[a-zA-Z_][a-zA-Z0-9_.-]*(?=\\s*[:><=])"
105
+ },
106
+ {
107
+ "name": "entity.name.function.lucene",
108
+ "match": "\"[^\"]+\"(?=\\s*[:><=])"
109
+ }
110
+ ]
111
+ },
112
+ "operators": {
113
+ "patterns": [
114
+ {
115
+ "name": "keyword.operator.comparison.lucene",
116
+ "match": ">=|<=|>|<|="
117
+ },
118
+ {
119
+ "name": "keyword.operator.logical.lucene",
120
+ "match": "&&|\\|\\||!"
121
+ },
122
+ {
123
+ "name": "keyword.operator.lucene",
124
+ "match": "[+\\-~^]|:"
125
+ }
126
+ ]
127
+ },
128
+ "keywords": {
129
+ "patterns": [
130
+ {
131
+ "name": "keyword.control.lucene",
132
+ "match": "\\b(AND|OR|NOT|TO)\\b"
133
+ }
134
+ ]
135
+ },
136
+ "ranges": {
137
+ "patterns": [
138
+ {
139
+ "name": "punctuation.definition.range.lucene",
140
+ "match": "[\\[\\]{}]"
141
+ }
142
+ ]
143
+ },
144
+ "wildcards": {
145
+ "patterns": [
146
+ {
147
+ "name": "constant.character.wildcard.lucene",
148
+ "match": "[*?]"
149
+ }
150
+ ]
151
+ },
152
+ "escapes": {
153
+ "patterns": [
154
+ {
155
+ "name": "constant.character.escape.lucene",
156
+ "match": "\\\\[\\\\+\\-!(){}\\[\\]^\"~*?:|&/]"
157
+ }
158
+ ]
159
+ }
160
+ }
161
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "compilerOptions": {
3
+ "module": "CommonJS",
4
+ "target": "ES2020",
5
+ "outDir": "dist",
6
+ "rootDir": "src",
7
+ "lib": ["ES2020", "DOM"],
8
+ "sourceMap": true,
9
+ "strict": true,
10
+ "composite": true,
11
+ "skipLibCheck": true,
12
+ "esModuleInterop": true,
13
+ "allowSyntheticDefaultImports": true,
14
+ "forceConsistentCasingInFileNames": true,
15
+ "moduleResolution": "node",
16
+ "resolveJsonModule": true,
17
+ "declaration": true,
18
+ "declarationMap": true
19
+ },
20
+ "include": ["src/**/*"],
21
+ "exclude": ["node_modules", "dist"],
22
+ "references": [
23
+ { "path": "../core" }
24
+ ]
25
+ }
@@ -0,0 +1 @@
1
+ {"fileNames":["../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.8.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/@types+vscode@1.101.0/node_modules/@types/vscode/index.d.ts","./src/types.ts","./src/providers/completionProvider.ts","./src/extension.ts"],"fileIdsList":[[47,49],[47,48]],"fileInfos":[{"version":"69684132aeb9b5642cbcd9e22dff7818ff0ee1aa831728af0ecf97d3364d5546","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"092c2bfe125ce69dbb1223c85d68d4d2397d7d8411867b5cc03cec902c233763","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"936e80ad36a2ee83fc3caf008e7c4c5afe45b3cf3d5c24408f039c1d47bdc1df","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"fef8cfad2e2dc5f5b3d97a6f4f2e92848eb1b88e897bb7318cef0e2820bceaab","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"32684dd2f58756643ba36e183a6753bf8eabe31f81d028116fe55db1aa361705","affectsGlobalScope":true,"impliedFormat":1},{"version":"8f29482c45ca82b13e641be832aea697f91ce52b0758d8805b0aee20245e0770","signature":"ea5f5fb5181c4d3252da3768ad1ccd1278799acda3841a022b685762f5b2b694"},{"version":"359b95153d8e71de773b5cabac97881c8a7baf1b89373c5dff21ed430e5f5005","signature":"9ac66e4054a1488e2f4b1f1e9cd1394b71cf0130e17d2739fd7720b6592c2141"},{"version":"1a7f4ff829b8050a286dc5c72bcb7ec09944c4e4cc6bf40b66d3bfcb7ca185e5","signature":"751d5905ed1e3151c270fb6abd2d5151dfb277dd2959a34d38ab59390d5891f6"}],"root":[[48,50]],"options":{"allowSyntheticDefaultImports":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"module":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":7},"referencedMap":[[50,1],[49,2]],"latestChangedDtsFile":"./dist/extension.d.ts","version":"5.8.3"}