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