Skip to content

Support trailing colon in --goto #186173

@m-ou-se

Description

@m-ou-se

It'd be useful if code --goto file:1:2: works with a trailing comma.

This'd be useful because many tools add a comma after file[:line[:col]]. For example:

Clang:

src/main.rs:1:1: error: unknown type name 'fn'

Gcc:

src/main.rs:1:1: error: unknown type name ‘fn’

Ld:

ld:src/main.rs: file format not recognized; treating as linker script

Bash:

src/main.rs: line 1: syntax error near unexpected token `('

Awk:

awk: src/main.rs:1: (FILENAME=- FNR=1) fatal: function `main' not defined

Make:

src/main.rs:1: *** missing separator.  Stop.

And so on.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeededworkbench-cliVS Code Command line issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions