Home

OFF-SOFT.net

OFF-SOFT.net

This site is support & information site of WEB,and Software. This site might help you that create software or Web Site…perhaps?[:]

ssmacro.insert Command

ssmacro.insert Command

This is input command to text editor that can use in ssmacro macro file. This command will input letters set in parameter to active text editor.

Parameter

  • characters string (This is insert letters. not set is error)
  • position [left|right|start|end] (This is insert position. not set or parameter error is cursor position or selected position)
    start is "vscode.window.activeTextEditors.election.start".
    end is "vscode.window.activeTextEditors.election.end".

Example

1st step, you should create a macro file( see the page about macro file format detail ).

[
    {
        "args":
        {
            "characters": "<end>",
            "position": "end"
        },
        "command": "ssmacro.insert"
    },
    {
        "args":
        {
            "characters": "<start>",
            "position": "start"
        },
        "command": "ssmacro.insert"
    }
]

2nd step, you will execute it macro file by ssmacro.run command.
executing image




  • はてなブックマークへ追加する
  • Facebookでシェアする
  • twitter でつぶやく
  • Google Plusでシェアする
  • Pocketでシェアする
ページトップへ