File tree Expand file tree Collapse file tree 4 files changed +33
-0
lines changed Expand file tree Collapse file tree 4 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 144
144
"dark" : " assets/icons/terraform_stacks.svg" ,
145
145
"light" : " assets/icons/terraform_stacks.svg"
146
146
}
147
+ },
148
+ {
149
+ "id" : " terraform-search" ,
150
+ "aliases" : [
151
+ " Terraform Search"
152
+ ],
153
+ "extensions" : [
154
+ " .tfquery.hcl"
155
+ ],
156
+ "configuration" : " ./language-configuration.json" ,
157
+ "icon" : {
158
+ "dark" : " assets/icons/terraform_search.svg" ,
159
+ "light" : " assets/icons/terraform_search.svg"
160
+ }
147
161
},
148
162
{
149
163
"id" : " json" ,
182
196
"language" : " terraform-mock" ,
183
197
"scopeName" : " source.hcl" ,
184
198
"path" : " ./syntaxes/hcl.tmGrammar.json"
199
+ },
200
+ {
201
+ "language" : " terraform-search" ,
202
+ "scopeName" : " source.hcl" ,
203
+ "path" : " ./syntaxes/hcl.tmGrammar.json"
185
204
}
186
205
],
187
206
"semanticTokenTypes" : [
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ const documentSelector: DocumentSelector = [
46
46
{ scheme : 'file' , language : 'terraform-deploy' } ,
47
47
{ scheme : 'file' , language : 'terraform-test' } ,
48
48
{ scheme : 'file' , language : 'terraform-mock' } ,
49
+ { scheme : 'file' , language : 'terraform-search' } ,
49
50
] ;
50
51
const outputChannel = vscode . window . createOutputChannel ( brand ) ;
51
52
const tfcOutputChannel = vscode . window . createOutputChannel ( 'HCP Terraform' ) ;
@@ -94,6 +95,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
94
95
vscode . workspace . createFileSystemWatcher ( '**/*.tfdeploy.hcl' ) ,
95
96
vscode . workspace . createFileSystemWatcher ( '**/*.tftest.hcl' ) ,
96
97
vscode . workspace . createFileSystemWatcher ( '**/*.tfmock.hcl' ) ,
98
+ vscode . workspace . createFileSystemWatcher ( '**/*.tfquery.hcl' ) ,
97
99
] ,
98
100
} ,
99
101
diagnosticCollectionName : 'HashiCorpTerraform' ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const lsStatus = vscode.languages.createLanguageStatusItem('terraform-ls.status'
12
12
{ language : 'terraform-deploy' } ,
13
13
{ language : 'terraform-test' } ,
14
14
{ language : 'terraform-mock' } ,
15
+ { language : 'terraform-search' } ,
15
16
] ) ;
16
17
lsStatus . name = 'Terraform LS' ;
17
18
lsStatus . detail = 'Terraform LS' ;
You can’t perform that action at this time.
0 commit comments