Skip to content

VSCode's custom keyword support #85

Description

@jdesrosiers

VSCode has some custom keywords that it supports. We want to support these custom keywords as much as is reasonable to ease transition for people who want to move over.

If you want to work on implementing support for one of these keywords, the first step is the create a new issue specifically for that keyword and link it to this one.

https://github.com/microsoft/vscode-json-languageservice/blob/2ff90f8f5e8e2399c5f78c7f7bdee92a4774fbe8/src/jsonSchema.ts#L75-L90

	// VSCode extensions


	defaultSnippets?: { label?: string; description?: string; markdownDescription?: string; body?: any; bodyText?: string; }[]; // VSCode extension: body: a object that will be converted to a JSON string. bodyText: text with \t and \n
	errorMessage?: string; // VSCode extension
	patternErrorMessage?: string; // VSCode extension
	deprecationMessage?: string; // VSCode extension
	enumDescriptions?: string[]; // VSCode extension
	enumSortTexts?: string[]; // VSCode extension
	enumDetails?: string[]; // VSCode extension
	markdownEnumDescriptions?: string[]; // VSCode extension
	markdownDescription?: string; // VSCode extension
	doNotSuggest?: boolean; // VSCode extension
	suggestSortText?: string;  // VSCode extension
	allowComments?: boolean; // VSCode extension
	allowTrailingCommas?: boolean; // VSCode extension
	completionDetail?: string; // VSCode extension

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions