Skip to content

Commit

Permalink
Send test & mock files to the language server
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanck authored and ansgarm committed Sep 11, 2024
1 parent 17d39fe commit b753374
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ const documentSelector: DocumentSelector = [
{ scheme: 'file', language: 'terraform-vars' },
{ scheme: 'file', language: 'terraform-stack' },
{ scheme: 'file', language: 'terraform-deploy' },
{ scheme: 'file', language: 'terraform-test' },
{ scheme: 'file', language: 'terraform-mock' },
];
const outputChannel = vscode.window.createOutputChannel(brand);
const tfcOutputChannel = vscode.window.createOutputChannel('HCP Terraform');
Expand Down Expand Up @@ -84,6 +86,8 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
vscode.workspace.createFileSystemWatcher('**/*.tfvars'),
vscode.workspace.createFileSystemWatcher('**/*.tfstack.hcl'),
vscode.workspace.createFileSystemWatcher('**/*.tfdeploy.hcl'),
vscode.workspace.createFileSystemWatcher('**/*.tftest.hcl'),
vscode.workspace.createFileSystemWatcher('**/*.tfmock.hcl'),
],
},
diagnosticCollectionName: 'HashiCorpTerraform',
Expand Down

0 comments on commit b753374

Please sign in to comment.