Merge #1536
1536: Add "Run" lens for binary runnables r=matklad a=SomeoneToIgnore Add an easy way to launch the different `main` methods from VS Code: Before:  After:  I've decided to omit the ️`▶️` symbol (as done for benches) since it looks a bit weird to me, but here's the version with it, just to compare:  Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
This commit is contained in:
commit
c7ceea82a5
1 changed files with 1 additions and 1 deletions
|
|
@ -695,7 +695,7 @@ pub fn handle_code_lens(
|
|||
let title = match &runnable.kind {
|
||||
RunnableKind::Test { .. } | RunnableKind::TestMod { .. } => Some("▶️Run Test"),
|
||||
RunnableKind::Bench { .. } => Some("Run Bench"),
|
||||
_ => None,
|
||||
RunnableKind::Bin => Some("️Run"),
|
||||
};
|
||||
|
||||
if let Some(title) = title {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue