When I click on a file in the project view, it shows me a dropdown listing all the methods in the file.
I don't want that - I just want it to display the file on the main window.
How do I accomplish this?
Right click on the Project title bar or click Show Options Menu cog, and deselect Show Members:
If this option is on, the files in the tree that contain classes turn
into nodes. When such node is unfolded, the contained classes with
their fields, methods, and other members of the selected item are
shown.
Related
Intellij java editor: how to keep two files for editing? For example, editing file foo.java and bar.java. When selecting foo.jar from the drop down list, the tab for bar.java disappear. When selecting bar.jar from the drop down list, the tab for foo.java disappear. How to make both tabs(foo.java and bar.java) visible at the same time?
You can split the editor horizontally or vertically from the editor tab context menu to make multiple tabs visible at the same time.
In my eclipse plugin I have specified my custom navigator using the CNF (Common Navigator Framework). I got everything working except the context menu.
I have created a new viewer-extension for it in which I define a popup-Menu with the respective groups (I overtook all of the groups from the project explorer) and it does get displayed and everything I want to appear in it, does appear.
However there are a bunch of things that appear in it that I don't want to appear.
As an example there is the Run As... option in the context menu which I don't want as I have nothing to run anyway. I tried using the Plugin-Menu-Spy in order to find where this menuItem is being contributed but it won't give me any information about it.
I found out that when setting allowsPlatformContributions = false in my popUp-Extension the unwanted menuItems disappear but so do the Import and Export menus which I do want to have.
So how can I remove the Run As... menuItem from my navigator's context menu? Is there some kind of filter I can apply to it?
I'm quite confused when it comes to file templates in IntelliJ. Basically, when I right click anything and hover my mouse over to New, I can see the usual file templates like Java Class, HTML File and so on. I downloaded Scala plugin and I can see Scala templates (Scala Class, Scala Object, etc.) if I go to Edit File Templates, but I can't actually use/see them in the New menu. Is there a way to modify what I see in the New menu? I'd like to be able to create Scala classes.
Go to Settings -> Menus and Toolbars
There you will see many type of menus. You need edit the menu you want the files to be displayed. Most Probably "Project View Popup Menu".
Click on "Add After" button on right. There you choose the file form plug-ins or other category to be displayed.
I added "Show Bytecode" to meny well it does not make sense here. You can add files from scala plugin like that.
You can restore to Defaults if you mess up easily by clicking on
"Restore All Defaults" button.
In IntelliJ, when I'm looking at my code and have the Structure pane open listing all the classes, methods and member variables, it would be nice if IntelliJ could automatically highlight the name of the method that my cursor is located in within the code window. As it stands, I have to manually scroll to the start of the method to figure out the name and then look in the Structure pane to figure out where it is located when I need to navigate back to it when I scroll my code window.
The toolbar of the Structure pane has a button called "Autoscroll from source". Pushing it will give you the behavior you want.
I want to add a new module to the top bar menu at openerp.
I don't know what exactly the name is, but it placed at the top of the openerp (next to the people who login). By default, the top bar menu contains Messaging, Sales, Project, Knowledge, Reporting, Settings.
I want to add my new module to that menu bar. Can I? And how can?
Yoas Loing
You have to do nothing to define new menu on top, just define your menu item and do not give any parent of this menu, and define at least on child below this menu,
Hope this help