Home > Net >  Formating Visual Studio Column Jump
Formating Visual Studio Column Jump

Time:09-26

I'd like to edit my Visual Studio Code.

When I write my symbols on my keyboard to VSC, they'll get written Column by Column on the current Row.
\ Line of Code Column.
(Ln , Col )

Extensions: "enter image description here Edit2: I have tryed the Find and Transform Extension pointed by Mark. Thank you for your time!

When i press the given Hotkey, It does marks the previous chars. but it doesn't start at column 50. It marks at end of line. I only like to move the cursor to column 50 and surpress the end of line. enter image description here

CodePudding user response:

does this key binding work

  {
    "key": "ctrl i ctrl m",  // or any other key binding
    "when": "editorTextFocus",
    "command": "moveby.calculation",
    "args": {
      "charNrEx": "50"
    }
  }

Or use Ctrl G and type lineNr:charNr

CodePudding user response:

At the risk of not fully understanding the question, if what you want to do is pad any line to the 50th column with spaces, you can try this approach.

  1. Install the extension pad line to 50th column with spaces

    It'll work on multiple lines too if each line has a cursor on it

  • Related