sublimelsp / LSP-rust-analyzer

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

Handle the "Run" code lens #5

Closed rwols closed 3 years ago

rwols commented 3 years ago

rust-analyzer shows a code lens with title "Run" at the main function of the program. This is supposed to build & run the executable.

One idea would be to check if Terminus is installed and spawn a shell with that.

rwols commented 3 years ago

Same for "Debug", although that's probably harder because we also need the presence of a debugger.

There's also a "Test" code lens. (finally, some interesting code lenses ;) )

daggy1234 commented 3 years ago

10 attempts to solve this

rchl commented 3 years ago

Implemented through #10