Skip to content
This repository has been archived by the owner on Apr 3, 2018. It is now read-only.

Don't force-show console on compile #63

Closed
aubade opened this issue Jun 14, 2014 · 9 comments
Closed

Don't force-show console on compile #63

aubade opened this issue Jun 14, 2014 · 9 comments

Comments

@aubade
Copy link

aubade commented Jun 14, 2014

DDT seems to forcibly show the console when the compiler is invoked (To the point where it will create a new console view if the current one has been closed) this is very annoying when the 'show on stdout/stderr' are disabled. It notably doesn't do this for actually running the program, however.

@mbierlee
Copy link

mbierlee commented Jul 3, 2014

I do not have this problem. I have only CDT and DDT installed in Eclipse Kepler SR2.

@bruno-medeiros
Copy link
Contributor

The 'show on stdout/stderr' option only applies to programs run from launch configurations (Run/Debug). It does not apply to the DUB console (ie, the DUB and compiler processes invoked from a project build).
The DUB console is hardcoded to activate the console view only when stderr is written to. An option could be added to configure this behavior, is this what you want?

@userxfce
Copy link
Contributor

I think the OP is right and, as a matter of fact, I encountered the same issue. What I find annoying, is that at every save, the dub builds the project (if "Build automatically" is selected), and this writes the output at the console. I think the correspondent CDT option would be: Window->Preferences->Build->Console->Bring console on top when building (if present). And, also, at the same level, Open console when building. I would like to have the same options for DDT's console, that is to disable the focus stealing by the build console.

The workaround that I found, is to minimize the console in its own vie. It still pops-up during the building (just after a Save is triggered), but it will disappear with a click somewhere else.

Wy this is annoying? I use several view in the lower part of Eclipse, for example a Terminal or a Search view. Each time when I save the source file, the Console view pops up and display the messages, thus hiding the current view.

I have no idea if this issue is the same as the OP reported, but it is the most similar that I found. I am on Luna.

@userxfce
Copy link
Contributor

I could provide some screen-shots displaying the problem, but I don't know how to attach those here.

@userxfce
Copy link
Contributor

The console pops up when there are building errors, which is unfortunately quite frequent because saving a file occurs more often than it is a valid D program.

@userxfce
Copy link
Contributor

I think it should be stressed out that I talk about the compile console, not about the running console. And I think the OP has the same in mind. Under Eclipse CDT, there is a menu "Console" under Preferences->C++->Build, and another one under Preferences->Run/Debug. It is the former one that I am concered about (there is no such option under Preferences->DDT).

By the way, should the Option Preferences->DDT be renamed to Preferences->D? (CDT uses C/C++)

@userxfce
Copy link
Contributor

And I think your interpretation:
"
The 'show on stdout/stderr' option only applies to programs run from launch configurations (Run/Debug). It does not apply to the DUB console (ie, the DUB and compiler processes invoked from a project build).
The DUB console is hardcoded to activate the console view only when stderr is written to. An option could be added to configure this behavior, is this what you want?
"
is entirely correct. For me, this is what I would like to have.

@userxfce
Copy link
Contributor

I think this could be closed now.

@userxfce
Copy link
Contributor

BTW, congratulations, it's always better and better.

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

No branches or pull requests

4 participants