Is there a way to extend the “Open Call Hierarchy” function to the whole working set or workspace? (i.e. across multiple projects)
This would be very handy when searching for deprecated methods and dependencies.
By default Open Call Hierarchy searches in workspace. Click on down arrow in Call Hierarchy view to see Search In... and Search Scope options.
Guide to find down arrow:
In the Call Hierarchy view window from the right there are Maximize, Minimize and View Menu. View Menu is represented by a triangle pointing down and that is what you need to click.
Related
I'm writing an Eclipse RCP 3 application. The application contains a menu on the left and the working view on the right. When the application starts the two viewparts are splitting the screen in two parts. Now I'm searching for a way to set the width of the menu so that it not use the full half part of the screen.
I have already done some tests with ISizeProvider but without any luck. What is the easiest way to set a default width on a viewpart?
I can't find anything in the Eclipse source that actually uses the ISizeProvider so it looks like it may have been dropped for Eclipse 4.
If you want to set the relative sizes of views you put then in a Perspective and use the perspective layout factory to set the proportions of the window use by each view.
I started all over again with the mailexample in Eclipse. Now I hava it and without any need to code something.
I know in eclipse there is a way to view a object's methods in the sidebar.
You are referring to the Outline view.
It should be displayed by default in the Java perspective (which I assume you are using), but if you don't see it, you can display it from Window->Show View->Outline.
Could somebody tell me if it is possibile to open two instances of the same project in Intellj IDEA or can I for example have two windows with opened different project files with attached project explorer.
I asking for that because I have two monitors and it will be more efficient to navigate on each windows separately.
For now I must drag tab from root window and drop to another window which it is annoying and unhandy.
This is not possible. IntelliJ IDEA has a one project one window paradigm.
Some suggestions, in order of best to worst, that may help:
The navigation bar (Alt+Home or ⌥⇱ {Option Home}) can be used in place of the project tool window. You can use it either in pop-up mode or anchored mode (View > Navigation Bar). When a file is opened via the navigation bar, it opens in the window that has focus. The nav bar is ultimately a horizontal project window. Check the help documents for how to easily navigate through the nav bar. Once you get use to it, you may find you never use the project tool window again.
Have you tried floating the project window and placing it on the edge of one of the monitors so it sites between the two editor windows? While you would still need to drag file to the second editor window, it might prove easier.
You could create a second project with the all the same modules as the first project (just being sure to save the second project's .idea configuration directory in a different location). But this would require keeping two project configurations in sync, and you would need to make sure the "synchronize files on frame activation" setting is on. In the end, I think that is far more hassle then it is worth.
Hope that helps.
(FYI, I may be new to StackOverflow, but I'm a ten year passionate and evangelical IntelliJ IDEA user.)
I wonder if it is possible, to hide some packages (or directories) from the netbeans package view window.
Currently, I am working on a project, which has many projects, but I only know some of them.
I like the list view, so just collapsing it to a tree is not what I'm searching for.
Thanks in advance!
You can't hide only some packages of some project, you've got opened. You can only show/hide whole projects. If you don't want to have so many projects opened in your current perspective, just click with you RMB to that project and click Close. Then press select it with LMB and press Delete. Just be sure NOT to check Delete files also on local disc, otherwise, you permanently lost your files!!!
I'm a c# / visual Studio developer. I'm porting some of my WP7 apps to Android and I have gotten pretty used to Eclipse. I've read some "differences" documents but still have a couple burnning questions . . .
in VS I drag a button to the surface and assign a method name for onclick and it generates the method outline for me in my source file. I can't see how to do this in Eclipse - can I?
in Vs if I put my cursor over a variable or method name I get a dropdown that has a "Go to" option and a "find all references" option. these are really handy. Can I do that in Eclipse?
You're developing Android projects in Eclipse, so I will base my answers on that. I also guess you installed the Android Developer Pack plugin.
In the ADT plugin for Java, you can open a layout.xml and see its "Graphical Layout". You can drag UI components there, but it won't generate you code for handling events.
For the second question, in Eclipse you have to right-click on the variable or method and go to the "References" menu. Or you can learn the keyboard shortcuts and it becomes easier.
Typing onclick and then pressing Ctrl+Space should open up a list of default functions you can override. Double-clicking or pressing Enter on one will bring it up in the editor (I usually type "on" before pressing Ctrl+Space, whenever I'm not sure about everything that can be done in a class.)
Right-clicking a variable will open up a context sensitive menu where you may view the variable's declaration (F3) or type hierarchy (F4); lower down the list is the References menu where you can view all the references to that variable in the workspace (Ctrl+Shift+G) or beyond.
You can also rename most variables by right clicking and choosing Refactor > Rename..., something I started using pretty early.