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

"Focus tool window" checkbox is not inherently selected from "Configuration template" #10860

Open
Maksim20023 opened this issue Sep 11, 2023 · 0 comments

Comments

@Maksim20023
Copy link
Collaborator

Environment

  • IntelliJ Rust plugin version: 0.4.200.5421.-232
  • IDE name and version: CLion 2023.2.1 CL-232.9559.58
  • Operating system: OS Linux(amd64) v6.2.0-31-generic,

Problem description

I'm trying to Run configuration without showing the Build window (and showing Run after).
My default Cargo configuration template had the "Activate tool window" checkbox selected, and it was okay for me with it if it would not cause the Build window to show up. I found that if I deselect the "Activate tool window" checkbox and select the "Focus tool window" checkbox, it helps not to show the Build window and show (and focus, while I don't need it) the Run window. It helped to fix the problem, but I needed to manually deselect and select those checkboxes for each new configuration. So, I tried to change this in the appropriate "Configuration template". But it seems it's not working for some reason for the "Focus tool window" checkbox. I selected it in the "Configuration template", but it became unselected in a new configuration. Note the "Activate tool window" checkbox correctly inherits its value from the "Configuration template".
![](Screenshot from 2023-09-04 18-26-10.png){width=70%}

![](Screenshot from 2023-09-04 18-29-17.png){width=70%}
(Note, I deleted the working directory path before taking screenshots; it doesn't relate to the problem)

It would be good somehow to Run with the Buid step chosen before launch, but without Build window showed up, only Run after.

Logs (visible to JetBrains only): https://uploads.jetbrains.com/browse#2023_09_04_26i5qxa3Jb7FmRThfk7sBf

CL-232.9559.58, JRE 17.0.8+7-b1000.8x64 JetBrains s.r.o., OS Linux(amd64) v6.2.0-31-generic, screens 3840.0x2160.0

Steps to reproduce

  • Go to File | New project setup | Run configuration templates
  • Select Cargo template
  • Check the Focus tool windows checkbox
  • Create a new Rust project
  • Go to Run/Debug configuration
  • Create new Cargo configuration
  • Observe unchecked Focus tool windows

Originally posted here: CPP - 34983

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

1 participant