Re: Making IntelliJ sit still
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Tue, 07 Mar 2006 19:08:15 GMT
"Boris Gorjan" <borigor@xxxxxxxxxxx> wrote in message news:M2kPf.732$oj5.258022@xxxxxxxxxxxxxxxx
Oliver Wong wrote:"Boris Gorjan" <borigor@xxxxxxxxxxx> wrote in message news:eWbPf.719$oj5.255659@xxxxxxxxxxxxxxxx
I have s similar problem in Eclipse. For example: open project loses "focus". Even if only one project is open and only one file is in the editor view. One selects console view and all of a sudden one cannot, for example, "clean" the project without reselecting it. And the list goes on. Is there a way around that?
For what it's worth, I was not able to reproduce this behaviour, so it may be a bug that is somehow being triggered by your particular environment. I've tried various ways of selecting the console view (clicking on it, using keyboard shortcuts, using drop down menus, etc.), and in all cases, I could always select to "clean" the project.
- Oliver
OK, try this:
0. Make sure that you have "Clean project selected below" radi button selected from Project -> Clean dialog.
1. Open one single project.
2. Open one single .java file in an editor view.
3. Shift focus to Taskbar (or something else so that Eclipse stays at least partially visible).
4. Shift focus back to Eclipse by clicking on Console view.
5. From the menu, select Project -> Clean.
6. Notice that your project is not selected (checked) anymore.
Even if you have several .java files, from several projects opened simultaneously (which could be an excuse for inconsistency described above),
after the focus shift, one editor view stays in front, that is it's tab is special. Strictly speaking, it doesn't have focus (it's not blue), but it's the ... well, the one in use (it's white, not gray like the rest of them). So I think the "current" project should be the one that this special tab belongs to.
Okay, I understand now. Previously I thought you mean the "Project -> Clean" menu was greyed out or something, but what you mean is that Eclipse won't automatically add a checkmark to what is, in you opinion, the obvious choice for which project that should be cleaned.
It looks like the behaviour of which checkbox is check depends on which editor or project has focus. If you have several projects open, and you click on them in the navigator, then select the "clean" menu, the most recently clicked project will be checked.
If you have several editors open, each one editing a file from a different project, and you switch between those editors, then when you choose "clean", it will automatically check the project of the file of the editor you last clicked on.
So imagine you have projects A, B and C, and you have editors open for files from each (A.a, B.b and C.c). Click on project A, then click on editor B.b. Notice that in the navigator view, project A is still selected (unless you asked Eclipse to link the navigator to the editor). Now go to "clean". It automatically checks project "B", because that's the editor you were looking at, even thought project "A" was the one that was selected in the navigator.
To me, it sounds like this is "intended" behaviour, so I doubt there's a way to turn this off. You migght be able to submit a RFE (Request For Enhancement) to add in an option to change this behaviour, perhaps.
- Oliver
.
- References:
- Making IntelliJ sit still
- From: Roedy Green
- Re: Making IntelliJ sit still
- From: Boris Gorjan
- Re: Making IntelliJ sit still
- From: Oliver Wong
- Re: Making IntelliJ sit still
- From: Boris Gorjan
- Making IntelliJ sit still
- Prev by Date: Re: Making IntelliJ sit still
- Next by Date: Re: Problem with java.io.File and Multi - Threads
- Previous by thread: Re: Making IntelliJ sit still
- Next by thread: Re: Making IntelliJ sit still
- Index(es):