
import { localize } from '../../../../nls.js';
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';

const ctxIsMergeEditor = ( new RawContextKey("isMergeEditor", false, {
    type: "boolean",
    description: ( localize(11692, "The editor is a merge editor"))
}));
const ctxIsMergeResultEditor = ( new RawContextKey("isMergeResultEditor", false, {
    type: "boolean",
    description: ( localize(11693, "The editor is a the result editor of a merge editor."))
}));
const ctxMergeEditorLayout = ( new RawContextKey("mergeEditorLayout", "mixed", {
    type: "string",
    description: ( localize(11694, "The layout mode of a merge editor"))
}));
const ctxMergeEditorShowBase = ( new RawContextKey("mergeEditorShowBase", false, {
    type: "boolean",
    description: ( localize(11695, "If the merge editor shows the base version"))
}));
const ctxMergeEditorShowBaseAtTop = ( new RawContextKey("mergeEditorShowBaseAtTop", false, {
    type: "boolean",
    description: ( localize(11696, "If base should be shown at the top"))
}));
const ctxMergeEditorShowNonConflictingChanges = ( new RawContextKey("mergeEditorShowNonConflictingChanges", false, {
    type: "boolean",
    description: ( localize(11697, "If the merge editor shows non-conflicting changes"))
}));
const ctxMergeBaseUri = ( new RawContextKey("mergeEditorBaseUri", "", {
    type: "string",
    description: ( localize(11698, "The uri of the baser of a merge editor"))
}));
const ctxMergeResultUri = ( new RawContextKey("mergeEditorResultUri", "", {
    type: "string",
    description: ( localize(11699, "The uri of the result of a merge editor"))
}));
const StorageCloseWithConflicts = "mergeEditorCloseWithConflicts";

export { StorageCloseWithConflicts, ctxIsMergeEditor, ctxIsMergeResultEditor, ctxMergeBaseUri, ctxMergeEditorLayout, ctxMergeEditorShowBase, ctxMergeEditorShowBaseAtTop, ctxMergeEditorShowNonConflictingChanges, ctxMergeResultUri };
