There is an icon to refresh Gradle project which is very useful if auto-import is disabled:
When I hover over it, status bar says Force refresh all linked Gradle projects.
However, I cannot find any way to assign keyboard shortcuts for this button and also I don't see it in CTRLSHIFTA menu. Is there any way to invoke this refresh using just a keyboard?
I'm using IDEA 2016.3 EAP.
You can use "Refresh external project" (for currently selected) or "Refresh all external projects". These actions are available in the find actions menu (CtrlShiftA) and can also be assigned a shortcut in the keymap settings as there is no default assigned.
Note that the menu item when right-clicking a Gradle project in the tool menu is also labeled "refresh external project".
There is no option to assign shortcut to refresh just gradle projects.
However, there is an action "Refresh all external projects", which will trigger also refresh of gradle projects.
You can set the shortcut in
Preferences → Keymap → Refresh all external projects → Right click →
Add keyboard Shortcut
In newer versions of IntelliJ Idea, the name of this functionality has been changed to Reload All External Projects
Related
How can i disable expanding of kotlin and kotlin script file in intellij idea. its start happening in the version 2018.3 and i cannot find the option to disable it.
In the menu lies in the top-right corner of Project view, untick Show members.
Is there a keyboard shortcut for the "Refresh sbt project" button in the Build tab of IntelliJ IDEA?
It doesn't show up in search results in "Keymap" or Mac OS' "Help" menubar item.
If you rebind "Refresh all external projects" (under "External Build Systems" in "Keymap") it'll refresh.
But it may be that just binding "Refresh external project" is sufficient.
Since I need to refresh Gradle quite often I wish to use a shortcut for this. Under
Settings > Keymaps
I just find the Gradle Tool Windows.
I use IntellJ IDEA 13.1.
There's an action in the IDE to "Refresh all external projects" which should kick off a refresh for the Gradle project.
You can allocate this action with your own keybinding. Open Settings -> Keymap and type "refresh" in the search field. Now you should see some refresh actions and the "ExternalSystem.RefreshAllProjects" as well.
In the keymap setting, there's Sync Project with Gradle Files. Assign your own keymap for it.
Bringing you smoothly programming by directly using the hotkey to sync.
I am developing an Eclipse plugin which will operate in plugin-only mode - mainly special context menus for certain project natures. Is there a way to deploy the plugin into the current Eclipse runtime, so I can immediately test it there?
If no, how are developers supposed to test plugins which use Eclipse's file explorer?
In your Eclipse IDE, open "Run > Run Configurations..." Select Eclipse Application and create a new run configuration.
Then on the "Main" tab there will be a "Program to Run" section. Select the radio button "Run an application:"
Then in it's drop down menu, select "org.eclipse.ui.ide.workbench"
Now switch to the tab labeled "Plug-ins". Make sure the plug-in that you are building and want to test is selected. You may have to use the drop down labeled "Launch with:" and select "plug-ins selected below only" in order for the UI to let you select the plug-in your building.
Now, just to make sure this is all going to launch correctly, select the button, "Validate Plug-ins" If there are errors, close the message box and select the button, "Add Required Plug-ins" This will auto select all dependent plugins for this run configuration.
Now select the button "Run" and a new instance of Eclipse will launch with your plug-in installed in it.
When I am trying to use eclipse Helios for plug-in development,I am not getting any attributes beside generic in any new RCL option. I have gone through net and found to download the source code but there is no way to append the same in Helios. Please suggest
You can install Eclipse RCP Plug-in Developer Resources via Eclipse update site
The shortest way to do it is:
Download the helios version for RCP developers from the eclipse web site.
Open target platform from the preferences menu.
Click "add" to add a new target platform.
"Nothing" is chosen for default target platform creation. Click next
On the new window click on the locations tab.. Click add , on the pop up window click directory and browse the plugin directory of eclipse for RCP developers (This version of helios includes the necessary plugin sources inside) and click finish
On the "implicit dependencies" tab show all the plugins added (choose all plugins)
and then click finish and close the wizard window.
Finally choose the new target platform configuration you have just created.
Now you can see all the new attributes beside generics (related to the plugin)
Download the SDK plugins from:
http://download.eclipse.org/eclipse/updates/4.3/