PHP Storm browser "application type" (or "icon in task switcher")
I run ubuntu 20.04 GNOME 3.36.4 - Pressing Alt-Tab switch application, Alt-` switches between same type applications.
I use PHP Storm as an IDE, and when I run a browser from within the IDE (Run/Debug configurations), the browser (Chrome, in this case) opens up as a Jet Brains application, meaning I can switch between this browser and the IDE with Alt-`.
There could be other Chrome browsers open, but they will be switched only when I'm focused on a normal chrome window. This is really helpful when developing and having multiple browser windows open, for I can easily switch between the code and the relevant browser.
I installed Pop! OS 20.10 with GNOME 3.38. Now the child process browser (ran from within the IDE) is a normal chrome window (as other chrome windows, as a Chrome application type), which makes it harder to find the IDE's browser among other browsers.
I have no idea if this is controlled or done via GNOME, OS, or PHP Storm itself. I cannot recall anything special I did to make this happen. Anyone?
请先登录再写评论。
I have just checked how things work on PhpStorm 2020.3.1 and Ubuntu 18 and may confirm that the browser starts as a separate application. Is there any chance that you had a non-default configuration in "File | Settings | Tools | Web Browsers" previously?
Hi, thank you for the reply.
I did create a non-default Browser configuration, and I tried it again on my new system several times - no luck, still the Chrome application type instead of JetBrains. Is there a setting of some sort I need to change?
Basically, there are not so many configuration options available within the IDE itself and I was not able to reproduce that behaviour on my installation either. So, I believe, there was something non-default before. Or do you still have this installation available?
I do have it available and working as described. Should I upload some configuration files here?
Oh, you still have it available, that's good. The first thing that I would check is the old "File | Settings | Tools | Web Browsers > Chrome" settings, is there anything specific about it? Please check the path to the executable and if the custom user data directory is being used.
Also, how exactly did you install & launch the IDE in both cases? (manually, JB Toolbox, snaps)
The chrome executable is "google-chrome", and the data directory is a custom one I'm moving between accounts. It is set this way in both my installations.
Interesting point about the installation. In Ubuntu I installed using snap, and in POP! OS I didn't use snap, I think I installed manually, I need to check. Could this be the difference? snap isn't installed on POP OS by default, it uses flatpak/apt. I *can* install it, but not sure snap is the ideal installation for this OS. Do you have any clue about this? I need to check it.
Thank you for the response(s)! :)
*** EDIT ***
I installed with snap and it is working. great catch! thanks a lot.
It is a little bit surprising but I am happy to hear that Snap-based installation works exactly as you need, thank you for the update and have a fantastic weekend!