For example, there is an error text in which the character position is indicated. How to go to this place in the module?
... in position 599
CodePudding user response:
With the Ctrl G or Ctrl P command you can also go to a column position on a line
Type: :line_nr:column_nr
Example: :15:50
Edit
If you want to go to offset 599 relative to start of file you can use extension Select By v1.11.0
With the command moveby.calculation you can set the cursor to an offset position. Use the following key binding:
{
"key": "ctrl i ctrl f", // or any other key binding
"when": "editorTextFocus",
"command": "moveby.calculation",
"args": {
"lineNrEx": "offset.line",
"charNrEx": "offset.character"
}
}
