sublimelsp / LSP-rust-analyzer

Convenience package for rust-analyzer
MIT License
69 stars 11 forks source link

Clicking "Run test" should re-run the test if Terminus already open #86

Closed rchl closed 1 year ago

rchl commented 1 year ago

Clicking "run test" code lens opens Terminus panel and runs the test but clicking it again when Terminus panel is open doesn't do anything.

Clicking "run test" while Terminus is open should re-run the test in the same panel. Or if we can't do that, then we should close the existing panel and re-open it.

rchl commented 1 year ago

This is actually a bug in LSP (or core even).

rchl commented 1 year ago

Created https://github.com/sublimehq/sublime_text/issues/5805

rwols commented 1 year ago

I guess we could use make_command_link from LSP.core.views ?

rchl commented 1 year ago

Nice, did not recall that we made a workaround for this specific issue.