E
E
egor2302019-10-19 10:36:07
Visual Studio Code
egor230, 2019-10-19 10:36:07

Visual studio code, beautiful editor, only missing the "Post", "Insert" button, found the extension how to add them?

I decided to try visual studio, a beautiful editor, but the "Share", "Insert" buttons are missing, I found an extension how to add them https://marketplace.visualstudio.com...false#overview, but there were problems with the installation. Instructions are given, but I don't know how to follow them. How to register them in a file to customize these buttons?

Настройки расширения
Например: settings.json
 
"quickMenuBuilder.menus": [
    {
        "label": "Text Menu",
        "items": [
            {
                "name": "To Upper case",
                "command": "editor.action.transformToUppercase"
            },
            {
                "name": "To Lower case",
                "command": "editor.action.transformToLowercase"
            },
            {
                "name": "Comment Line",
                "description": "Switch comment lines",
                "command": "editor.action.commentLine"
            },
            {
                "name": "Indent Sub Menu",
                "command": "quickMenuBuilder.openQuickMenu",
                "args": "Sub Menu Test"
            }
        ]
    },
    {
        "label": "Sub Menu Test",
        "items": [
            {
                "name": "Indent To Tabs",
                "command": "editor.action.indentationToTabs"
            },
            {
                "name": "Indent To Spaces",
                "command": "editor.action.indentationToSpaces"
            }
        ]
    }
]
Например: keybindings.json
 
{
    "key": "ctrl+alt+t",
    "command": "quickMenuBuilder.openQuickMenu",
    "args": "Text Menu",
    "when": "editorTextFocus"
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question