sublimelsp / LSP-rust-analyzer

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

Remove the run button #88

Closed Bowarc closed 1 year ago

Bowarc commented 1 year ago

Is there any option/way to disable/remove this 'run debug' button ? image It doesn't work (even with terminus) on my machine + i don't need nor want it

rchl commented 1 year ago

Out of curiosity, what does it say when you try it?

rchl commented 1 year ago

But I think it's the rust-analyzer.lens.run.enable option.

Bowarc commented 1 year ago

Out of curiosity, what does it say when you try it?

It opens a teminus tab, then displays 'error: couldn't determine self executable name'

Bowarc commented 1 year ago

But I think it's the rust-analyzer.lens.run.enable option.

Tyvm

rchl commented 1 year ago

Out of curiosity, what does it say when you try it?

It opens a teminus tab, then displays 'error: couldn't determine self executable name'

This is with the latest 1.2.0 version?

Bowarc commented 1 year ago

Out of curiosity, what does it say when you try it?

It opens a teminus tab, then displays 'error: couldn't determine self executable name'

This is with the latest 1.2.0 version?

Lsp: 1.21.0 Lsp-rust-analyzer: 1.2.0 Terminus: 0.3.27

predragnikolic commented 1 year ago

To hide the run debug button, you can do:

{
    "settings": {
        "rust-analyzer.lens.debug.enable": false,
    }
}
predragnikolic commented 1 year ago

We should probably disable it by default, because it doesn't work out of the box.

predragnikolic commented 1 year ago

The debug lens should do show like this when clicked: 2023-05-17-193304_1920x1200_scrot

Don't know if it can be achieved with the Debugger package.