openquest-vscode/client/src/constants.ts

19 lines
587 B
TypeScript

// TODO: Check if some of these things can be accessed trough legacy code
// since they are in `package.json`, which could be accessible somehow
/** Name of the VSCode extension namespace */
export const DISPLAY_NAME: string = "OpenQuest"
export const EXTENSION_NAME: string = "openquest"
export const LANGUAGE_ID: string = "quest"
export const SETTINGS_NAMESPACE: string = EXTENSION_NAME
export const SUPPORTED_EXTENSIONS = {
};
export const DOCUMENT_EXTENSION_PATTERN = "**/*.quest";
export const documentsPerExtensionInPath = (path) => `${path}/${DOCUMENT_EXTENSION_PATTERN}`;