Skip to content

command to open file at line number #3106

Closed
@bpmct

Description

@bpmct

suggested by @jkaster

Currently a file can be opened in an existing window: #1994

VS Code itself supports opening a file with line number with the -g (goto?) flag (see microsoft/vscode#39891):

code -g file.txt:4
# works :)

code-server -r -g file.txt:4
# error Unknown option -g

It would probably make sense to reuse this schema.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew user visible feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions