Skip to content

Commit e90d39d

Browse files
committed
Model editor: use JSON format by default
1 parent b8983dc commit e90d39d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎extensions/ql-vscode/src/model-editor/modeled-method-fs.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import type { CodeQLCliServer } from "../codeql-cli/cli";
1616
import { pathsEqual } from "../common/files";
1717
import type { QueryLanguage } from "../common/query-language";
1818

19-
export const DEFAULT_EXTENSION_FORMAT_FOR_NEW_FILES = ExtensionFormat.Yaml;
19+
export const DEFAULT_EXTENSION_FORMAT_FOR_NEW_FILES = ExtensionFormat.Json;
2020
export const GENERATED_MODELS_EXTENSIONLESS_SUFFIX = ".model.generated";
2121
const GENERATED_MODELS_SUFFIXES = [
2222
`${GENERATED_MODELS_EXTENSIONLESS_SUFFIX}.yml`,

0 commit comments

Comments
 (0)