-
Notifications
You must be signed in to change notification settings - Fork 338
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
Bsp errors in status #5726
Bsp errors in status #5726
Conversation
3373773
to
04938f5
Compare
04938f5
to
95dd81a
Compare
c080bef
to
bc92724
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Updating state in ConnectionBspStatus
could use some docs, but mostly looks good.
metals/src/main/scala/scala/meta/internal/metals/doctor/Doctor.scala
Outdated
Show resolved
Hide resolved
metals/src/main/scala/scala/meta/internal/metals/doctor/Doctor.scala
Outdated
Show resolved
Hide resolved
mtags-shared/src/main/scala/scala/meta/internal/metals/ReportContext.scala
Show resolved
Hide resolved
mtags-shared/src/main/scala/scala/meta/internal/metals/ReportContext.scala
Outdated
Show resolved
Hide resolved
metals/src/main/scala/scala/meta/internal/bsp/ConnectionBspStatus.scala
Outdated
Show resolved
Hide resolved
metals/src/main/scala/scala/meta/internal/bsp/ConnectionBspStatus.scala
Outdated
Show resolved
Hide resolved
metals/src/main/scala/scala/meta/internal/bsp/ConnectionBspStatus.scala
Outdated
Show resolved
Hide resolved
metals/src/main/scala/scala/meta/internal/bsp/ConnectionBspStatus.scala
Outdated
Show resolved
Hide resolved
b2002b7
to
c406ddc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
"warn", | ||
show = true, | ||
tooltip = message.trimTo(TOOLTIP_MAX_LENGTH), | ||
command = ServerCommands.RunDoctor.id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a follow up, would it be possible (probably on vs-code side) to make doctor open on the part with error reports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, that sounds like a good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also open them in that case, currently they are folded.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, I mostly have some questions to make sure I understand everything.
metals/src/main/scala/scala/meta/internal/bsp/ConnectionBspStatus.scala
Outdated
Show resolved
Hide resolved
metals/src/main/scala/scala/meta/internal/metals/MetalsLspService.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
resolves: #5692