vscode-rust icon indicating copy to clipboard operation
vscode-rust copied to clipboard

Output window shows up when RLS crashes

Open kryptan opened this issue 8 years ago • 5 comments

Version of VSCode: 1.13.1 Version of the extension: 0.4.2 OS: Win10

Description: When RLS crashes window with its output appears. This is very annoying, is there a way to disable this behavior?

kryptan avatar Jun 24 '17 22:06 kryptan

Apparently there is an option to disable this but it doesn't work. I have this in my settings.json:

    // Rust Language Server configuration
    "rust.rls": {
        "revealOutputChannelOn": "never",
        "useRustfmt": false
    },

but it doesn't help.

kryptan avatar Jun 24 '17 22:06 kryptan

I don't think it should be disabled. It may cause some misunderstanding when developers expect something to work when it doesn't.

Developers, what do you think about it?

KalitaAlexey avatar Jun 25 '17 05:06 KalitaAlexey

There should be a way to hide it (semi-)permanently, probably for the rest of the session. It's good to know when something goes wrong, but if you have code that keeps causing crashes or a configuration issue you don't want to fix right now you end up just not closing it, eating up screen real-estate and causing distracting "movement" as text scrolls by.

gmorenz avatar Jun 28 '17 22:06 gmorenz

I'm going to add a new parameter, "rust.rls.revealOutputChannelOnCrash" which will either true or false. true by default.

KalitaAlexey avatar Jun 29 '17 07:06 KalitaAlexey

Yeah this is very confusing and annoying as "rust.showOutput": false, explicitly says "don't show output" which is expected to work including on RLS failures (which are very often right now).

So you're just trying to type something or hovering over code and all of sudden Output window jumps out and covers your code, distracting from the context.

RReverser avatar Jul 14 '17 12:07 RReverser