Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VSCode extension forces focus to output panel during parsing #144

Closed
mitchellnemitz opened this issue Aug 14, 2017 · 4 comments
Closed

VSCode extension forces focus to output panel during parsing #144

mitchellnemitz opened this issue Aug 14, 2017 · 4 comments

Comments

@mitchellnemitz
Copy link

mitchellnemitz commented Aug 14, 2017

This is a VSCode Extension specific issue, and has nothing to do with the language server.

Description

I have a decently large project that takes about ~2 minutes for the language server to parse, and during that time the VSCode extension refuses to give up focus of the "output" panel. I would like to be able to use the integrated terminal during the first couple minutes of opening VSCode, but it seems that on every response from the language server the extension forces the focus back to the output panel instead of simply logging in the background.

Ideally the output from the language server would write in the background and possibly update a message in the status bar with the parsing progress instead of repeatedly taking focus.

The Crane project output utility seems to achieve this behaviour like so:

var outputConsole = window.createOutputChannel("PHP Language Server");
outputConsole.appendLine(`${message}`);

But from what I can tell, this extension simply console.log(...)'s everything, which is likely the source of the "bug" (admittedly just a frustrating inconvenience) I'm experiencing.

@felixfbecker
Copy link
Owner

I cannot reproduce this. The output panel doesn't get focused for me during parsing.

@anshulsahni
Copy link

This happens very regularly now and had to disable the extension to stop this annoying focussing of output panel while working.

@maxwellhibbert
Copy link

Happening to me too. Quite frustrating.

@lvl99
Copy link

lvl99 commented Dec 5, 2019

This is a real pain and constantly happens, driving me to the point of removing the extension!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants