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

var CommentContextKeys;
(function(CommentContextKeys) {
    CommentContextKeys.activeCursorHasCommentingRange = ( new RawContextKey("activeCursorHasCommentingRange", false, {
        description: ( localize(6913, "Whether the position at the active cursor has a commenting range")),
        type: "boolean"
    }));
    CommentContextKeys.activeCursorHasComment = ( new RawContextKey("activeCursorHasComment", false, {
        description: ( localize(6914, "Whether the position at the active cursor has a comment")),
        type: "boolean"
    }));
    CommentContextKeys.activeEditorHasCommentingRange = ( new RawContextKey("activeEditorHasCommentingRange", false, {
        description: ( localize(6915, "Whether the active editor has a commenting range")),
        type: "boolean"
    }));
    CommentContextKeys.WorkspaceHasCommenting = ( new RawContextKey("workspaceHasCommenting", false, {
        description: ( localize(
            6916,
            "Whether the open workspace has either comments or commenting ranges."
        )),
        type: "boolean"
    }));
    CommentContextKeys.commentThreadIsEmpty = ( new RawContextKey("commentThreadIsEmpty", false, {
        type: "boolean",
        description: ( localize(6917, "Set when the comment thread has no comments"))
    }));
    CommentContextKeys.commentIsEmpty = ( new RawContextKey("commentIsEmpty", false, {
        type: "boolean",
        description: ( localize(6918, "Set when the comment has no input"))
    }));
    CommentContextKeys.commentContext = ( new RawContextKey("comment", undefined, {
        type: "string",
        description: ( localize(6919, "The context value of the comment"))
    }));
    CommentContextKeys.commentThreadContext = ( new RawContextKey("commentThread", undefined, {
        type: "string",
        description: ( localize(6920, "The context value of the comment thread"))
    }));
    CommentContextKeys.commentControllerContext = ( new RawContextKey("commentController", undefined, {
        type: "string",
        description: ( localize(6921, "The comment controller id associated with a comment thread"))
    }));
    CommentContextKeys.commentFocused = ( new RawContextKey("commentFocused", false, {
        type: "boolean",
        description: ( localize(6922, "Set when the comment is focused"))
    }));
    CommentContextKeys.commentWidgetVisible = ( new RawContextKey("commentWidgetVisible", false, {
        type: "boolean",
        description: ( localize(6923, "Set when a comment widget is visible in the editor"))
    }));
    CommentContextKeys.commentingEnabled = ( new RawContextKey("commentingEnabled", true, {
        description: ( localize(6924, "Whether commenting functionality is enabled")),
        type: "boolean"
    }));
})(CommentContextKeys || (CommentContextKeys = {}));

export { CommentContextKeys };
