diff --git a/package.json b/package.json index 3bed0a24b..a8b84c2fc 100644 --- a/package.json +++ b/package.json @@ -284,7 +284,7 @@ "default": false, "description": "Display reference counts above top level blocks and attributes." }, - "terraform.validation.earlyValidation": { + "terraform.validation.enableEnhancedValidation": { "scope": "window", "type": "boolean", "default": true, diff --git a/src/settings.ts b/src/settings.ts index 68762feb5..905e2ef5d 100644 --- a/src/settings.ts +++ b/src/settings.ts @@ -30,7 +30,7 @@ export interface ExperimentalFeatures { } export interface ValidationOptions { - earlyValidation: boolean; + enableEnhancedValidation: boolean; } export function getInitializationOptions() { @@ -40,7 +40,7 @@ export function getInitializationOptions() { we tackle #791 */ const validation = config('terraform').get('validation', { - earlyValidation: true, + enableEnhancedValidation: true, }); const terraform = config('terraform').get('languageServer.terraform', { path: '',