Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cli): make file in diagnostic clickable #1815

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Conversation

ematipico
Copy link
Member

Summary

Another QoL improvement. Now the files printed in a diagnostic are clickable. If biome is run from a terminal that is integrated in the IDE, the IDE will open that file in the specified row:column

Test Plan

The current tests should stay as is. I tested locally and it works like a charm: RustRover and VSCode

Unfortunately VSCode terminal isn't that good at underling the file, but if you hover it with the cursor, it get underlined.
Screenshot 2024-02-14 at 09 16 50

RustRover instead underlines it regardless.
Screenshot 2024-02-14 at 09 17 17

Copy link

netlify bot commented Feb 14, 2024

Deploy Preview for biomejs canceled.

Name Link
🔨 Latest commit f9682a1
🔍 Latest deploy log https://app.netlify.com/sites/biomejs/deploys/65cc901c4605330009af912f

@github-actions github-actions bot added A-Website Area: website A-Diagnostic Area: diagnostocis A-Changelog Area: changelog labels Feb 14, 2024
@ematipico ematipico requested review from a team February 14, 2024 09:17
@ematipico ematipico force-pushed the feat/clickable-files branch from 07e7e05 to f9682a1 Compare February 14, 2024 10:04
@ematipico ematipico merged commit e4dcff0 into main Feb 14, 2024
19 of 20 checks passed
@ematipico ematipico deleted the feat/clickable-files branch February 14, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Changelog Area: changelog A-Diagnostic Area: diagnostocis A-Website Area: website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants