mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-76142: Gradle support - cannot update IDEA projects once one of build.gradle files changes
Gradle tool window is shown all the time when 'gradle' plugin is enabled (used to be hidden because there were no content)
This commit is contained in:
@@ -15,7 +15,7 @@ import org.jetbrains.plugins.gradle.ui.GradleIcons;
|
||||
import org.jetbrains.plugins.gradle.util.GradleBundle;
|
||||
|
||||
/**
|
||||
* // TODO den add doc
|
||||
* Encapsulates initialisation routine of the gradle integration.
|
||||
*
|
||||
* @author Denis Zhdanov
|
||||
* @since 11/3/11 4:01 PM
|
||||
@@ -42,10 +42,6 @@ public class GradleBootstrap extends AbstractProjectComponent {
|
||||
}
|
||||
|
||||
private void initToolWindow() {
|
||||
// TODO den don't show tool window if no gradle project is associated with the current project.
|
||||
if (!Boolean.getBoolean("gradle.show.tool.window")) {
|
||||
return;
|
||||
}
|
||||
final ToolWindowManagerEx manager = ToolWindowManagerEx.getInstanceEx(myProject);
|
||||
ToolWindow toolWindow = manager.registerToolWindow(GRADLE_TOOL_WINDOW_ID, false, ToolWindowAnchor.RIGHT);
|
||||
toolWindow.setIcon(GradleIcons.GRADLE_ICON);
|
||||
|
||||
Reference in New Issue
Block a user