We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b50faf commit 8f59e1eCopy full SHA for 8f59e1e
src/extension.ts
@@ -115,6 +115,12 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
115
const initializationOptions = getInitializationOptions();
116
const clientOptions: LanguageClientOptions = {
117
documentSelector: documentSelector,
118
+ synchronize: {
119
+ fileEvents: [
120
+ vscode.workspace.createFileSystemWatcher('**/*.tf'),
121
+ vscode.workspace.createFileSystemWatcher('**/*.tfvars'),
122
+ ],
123
+ },
124
initializationOptions: initializationOptions,
125
initializationFailedHandler: (error) => {
126
reporter.sendTelemetryException(error);
0 commit comments