Skip to content

Accept a trailing colon in --goto format.#186174

Merged
bpasero merged 2 commits intomicrosoft:mainfrom
m-ou-se:goto-colon
Jun 30, 2023
Merged

Accept a trailing colon in --goto format.#186174
bpasero merged 2 commits intomicrosoft:mainfrom
m-ou-se:goto-colon

Conversation

@m-ou-se
Copy link
Contributor

@m-ou-se m-ou-se commented Jun 26, 2023

Fixes #186173

See #186173 for motivation.

Only the validation code needs modification, as the parsing code already works fine with a trailing colon.

This is useful because many tools add a comma after file[:line[:col]].
@Amanieu
Copy link

Amanieu commented Jun 26, 2023

This should also be accepted for code navigation with Ctrl+P.

@meganrogge meganrogge assigned bpasero and unassigned meganrogge Jun 26, 2023
@bpasero bpasero modified the milestones: Backlog, July 2023 Jun 27, 2023
@bpasero bpasero enabled auto-merge (squash) June 30, 2023 09:37
@bpasero bpasero merged commit afef1ab into microsoft:main Jun 30, 2023
@m-ou-se m-ou-se deleted the goto-colon branch June 30, 2023 09:45
@github-actions github-actions bot locked and limited conversation to collaborators Aug 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support trailing colon in --goto

6 participants