Authors:
aefimov
sbolz
Apache

Eclipse Mode

Products: IntelliJ IDEA

Vendor: Alexey Efimov

Email: N/A

Website: N/A

SourceCode: EclipseMode_3822.zip

Description:

Enable Eclipse features in IntelliJ IDEA such as incremental compilation.
Downloads: 6736
Rating:
Participated in rating: 13
Version Since Build Until Build File/URL Size (Kb) Date Details
0.1.1. 80.9000. 123.1. Download 30.38 2008-11-29 20:44:23 details
. .
1 update is hidden show all updates

Comments:

123>
Vampire
2013-08-11 17:09:15
Hi, there, how about an update for IDEA 12?
.
davija
Rated:
2013-02-14 22:29:26
I would have given it a 5, but I really do not like the crazy auto-display of the messages window after every compile done from a brief moment of hesitation. If they can fix that, I would gladly re-install and continue to use this plugin. I just can't handle my screen re-drawing every few seconds and re-adjusting the windows I have (it also changes the location of the current cursor as a result of this too, causing further errors).
.
pcornelissen
Rated:
2013-01-20 14:17:44
I don't have a messagebox appearing. Maybe check your configuration? The plugin makes it so much faster to do tdd :-)
.
GarfieldKlon
Rated:
2012-01-25 16:58:23
Message window always pop ups, very annoying.
.
tde
2011-12-14 13:09:17
I uploaded a working version that contains Valerii's modifications on http://plugins.intellij.net/plugin/?idea&id=6643
.
iamgoddog
2011-10-13 03:56:18
Hi guys, are there any plans on updating this plugin for IDEA 10.x?

A simple and useful feature. Shame to lose it :(
.
valerii.makieienko
2011-09-05 00:46:04
Hi developers of the plugin, I would like to suggest change to implementation which will solve the errors with idea 10 and higher.
In class org.intellij.trinkets.eclipseMode.incrementalCompiler.SaveListener

method private void executeMake(VirtualFileEvent event) - should be changed and method void executeMakeInUIThread(VirtualFileEvent event) should be added as follows:

private void executeMake(final VirtualFileEvent event) {
final Project project = ProjectUtil.guessProjectForFile(event.getFile());
ProgressManager.getInstance().run(new Task.Backgroundable(project, AnalysisScopeBundle.message("analyzing.project"), true) {
public void run(@NotNull ProgressIndicator indicator) {
executeMakeInUIThread(event);
}
});
}

private void executeMakeInUIThread(VirtualFileEvent event) {
EclipseMode eclipseMode = EclipseMode.getInstance();
if (event.isFromSave() && eclipseMode.getSettings().INCREMENTAL_COMPILATION_ENABLED) {
Project[] projects = ProjectManager.getInstance().getOpenProjects();
for (final Project project : projects) {
if (project.isInitialized() && !project.isDisposed() &&
project.isOpen() && !project.isDefault()) {
final ProjectFileIndex projectFileIndex = ProjectRootManager.getInstance(project).getFileIndex();
final Module module = projectFileIndex.getModuleForFile(event.getFile());
if (module != null) {
final CompilerManager compilerManager = CompilerManager.getInstance(project);
if (!compilerManager.isCompilationActive() &&
!compilerManager.isExcludedFromCompilation(event.getFile()) &&
!compilerManager.isUpToDate(new ModuleCompileScope(module, false))) {
// Changed file found in module. Make it.
UIUtil.invokeAndWaitIfNeeded(new Runnable() {
public void run() {
compilerManager.make(module, null);
}
});
}
}
}
}
}
}

I am not sure if such version will work with older versions of idea, should I fork your project to "Eclipse Mode for idea 9 and 10"?
.
Anonymous
2011-06-03 09:54:27
Same error in 10.5
.
Anonymous
2011-05-07 09:48:31
I'm also using intellij 10 ultimate and I'm running into the same assertion error.
.
Anonymous
2011-03-27 20:12:07
Getting the following exception in IntelliJ 10 Ultimate:

null
java.lang.AssertionError
at com.intellij.openapi.project.DumbServiceImpl.waitForSmartMode(DumbServiceImpl.java:253)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:1809)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:1226)
at com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:736)
at com.intellij.compiler.impl.CompileDriver.access$300(CompileDriver.java:92)
at com.intellij.compiler.impl.CompileDriver$5.run(CompileDriver.java:219)
at com.intellij.compiler.progress.CompilerTask.run(CompilerTask.java:156)
at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:474)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.run(ProgressManagerImpl.java:434)
at com.intellij.openapi.progress.Task.queue(Task.java:65)
at com.intellij.compiler.progress.CompilerTask.start(CompilerTask.java:357)
at com.intellij.compiler.impl.CompileDriver.isUpToDate(CompileDriver.java:213)
at com.intellij.compiler.CompilerManagerImpl.isUpToDate(CompilerManagerImpl.java:249)
at org.intellij.trinkets.eclipseMode.incrementalCompiler.SaveListener.executeMake(SaveListener.java:58)
at org.intellij.trinkets.eclipseMode.incrementalCompiler.SaveListener.contentsChanged(SaveListener.java:24)
.
Anonymous
2010-12-15 23:23:56
The plugin works perfectly with IDEA 10.

After the first launch of IDEA close it, extract the plugin to the ..\plugins-directory, launch IDEA again an inside the Settings you can select and activate the Plugin.

To test it, just produce an error in a correct class-file (type something stupid) and press strg+s to save the class-file. The compiler will immediately be activated and you see the result (which is an compiling error) in the console window from IDEA.
.
Anonymous
Rated:
2010-12-15 20:29:45
It looks like EclipseMode has top working after IntelliJ 10 :-(.

.
Anonymous
Rated:
2010-12-02 13:43:47
Not working on 10, getting the assertion error that was already posted here
.
Anonymous
2010-11-13 23:14:44
I'm sure it'd be great if it worked with 9.0.4
.
Anonymous
2010-10-18 10:26:36
Unfortunately ,it's not compatible with idea9.03
.
123>