Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all 5661 articles
Browse latest View live

How often new features from AS are merged to Intellij IDEA

$
0
0

Hi, I am using Intellij IDEA for Android Development.

 

So I am wondering how often new features from Android Studio are merged to Intellij IDEA?

 

And where I can check which AS features are available in certain Intellij IDEA version?


Packaging JavaFX for Windows from Mac

$
0
0

Hello, I am trying to package a javaFX application for windows from my mac.

I can generate dmg, but can't generate msi or exe.

I use artifact.

Is there any plugin to add or configuration to set to package this application for windows from intellij15 ?

Best regards

Groovyc and ivy

$
0
0

Hi,

 

I'm fairly new to groovy. I'm unable to grok how to get it working seamlessly in Intellij...

 

I get this:

 

Error:Groovyc: Cannot @Grab without Ivy, please add it to your module dependencies (NoClassDefFoundError: org/apache/ivy/core/settings/IvySettings)

 

when I build my project. I've downloaded and added ivy 2.4.0 to my project, but I still get the above.

 

I'm on OSX 10.10.5 and Intellij ultimate 14.1.5, using Java 8.

 

Any advice?

 

Paul

Bug in generate / override methods from inner interfaces when interfaces have same most specific name

$
0
0

On IntelliJ Idea 15.0.1

(but was observed in 14 too)

 

1. Create a new project P.

2. Decompress the attached archive to P's src directory.

 

Description:

The file does not compile because the interfaces (declared inside a class) are not implemented.

 

Either action A:

  1. Fix

  2. Code -> Implement Methods

  3. Code -> Override Methods

 

gives a list that does not contain all the methods to be overridden/implemented.

After implementing the suggested methods in the pop-up of the above  actions A, the error is obviously still detected, but there is no way to  automatically generate the methods stubs because Intellij sees no methods to implement.

You have to do it by hand.


Diagnosis:

If one of the two inner interfaces (I1.Inter or I2.Inter) is changed, e.g. I2.Face, the bug does not manifest.

The problem seems therefore to come from having two interfaces having the same  most specific name, albeit being inside two different classes (therefore  different). Some hashing clash?

.ideaLibSources and .idea-build directories under %USERPROFILE%

$
0
0

Hi guys,

I am using IntelliJ IDEA 15.0.1 with Scala plugin in my corporate Windows 7 Enterprise laptop with the following overridden settings in idea.properties:

 

idea.config.path=/Tools/idea-settings/config

idea.system.path=/Tools/idea-settings/system

 

Thanks to these settings, all the IntelliJ settings go into C:\Tools\idea-settings directory, so I have managed to store more than 800MB of data in another directory than my %USERPROFILE% dir.

 

Issue 1: But still, when I click download sources for some jars it is being downloaded into %USERPROFILE%\.ideaLibSources directory which I do not want at all.

 

Issue 2: Also when first time IntelliJ compiles a scala project it creates %USERPROFILE%\.idea-build\scala-compiler-interfaces directory with compiler-interface jar files for each scala version I have.

 

How can I override these "sources download" and "idea build" directories?

Intellij Stuck Uninstalling Adobe AIR Apk File on Android Device

$
0
0

This was working fine before on this device (Samsung Galaxy S4), but now it juwst hangs on the "Uninstalling [Project Name]" part.

 

It works fine on the emulator, and even in other android devices it is working fine. I truied looking through the phone to manually delete the app file, but it is not there! I also tryied changing the name of the apk file and some other things in the descriptor xml, but that hasn't seemed to help at all. :/

 

Can someone please help?

What is going on and how do I fix it?

 

Screenshot_091015_120914_PM.jpg

how to add android to Tools?

$
0
0

hi,

 

i am strugling with that for the last couple of hours.

i cant add android to the tools menu, the sdk manager is disable, android device manager is gray as well.

 

i have installed java sdk,android sdk and install all the packages, change system variables.

nothing is working.

 

plz help!

 

thanks

rony

Find in Path results - screen corruption with OpenJDK

$
0
0

Hi,

 

Not sure if this is a bug in IntelliJ or in OpenJDK.

 

I'm running v15.0.1, build 143-382 on Debian 'testing'. When I run it using OpenJDK 1.7.0_91 or 1.8.0_72-internal (both installed from the 'testing' repo packages), the Find in Path results get corrupted on the screen when you move the focus aroud the results items, either by clicking or using the keyboard arrows. Sometimes a row in that view becomes blank, sometimes it gets partially overwritten with text from other rows. It's as if the redraw on focus changes is messed up somehow. Attached is a screenshot that shows an example of the corruption.

 

This does NOT happen when I run it with Oracle JDKs 1.7.0_79 or 1.8.0_66.

 

Just thought I'd post this here, as I haven't found any info about this issue by searching the bugs and forums or by googling.


Indexing on focus

$
0
0

After upgrading to IDEA15CE on MacOS, I find that if I switch to another app then switch back to IDEA, it's indexing and the UI is blocked and I have to wait like a minute for it to finish. Is there any way to set indexing so it runs in the background and doesn't block the UI, or to prevent it ?

Opening .form file in GUI designer using intellij

$
0
0

I was developing a java application in which i created a new GUI Form and used the graphical interface to design the form but after everything was working and i quit Intellij idea 14 and then came back the GUI was gone and the form was only editable and viewed in XML. Why? How can i get back the GUI designer with drag and drop form building?

Groovy build very slow

$
0
0

Hi

 

I have a Groovy project with a one simple groovy script:

 

 

@Grab('mysql:mysql-connector-java:5.1.31')
@GrabConfig(systemClassLoader=true)
import groovy.sql.Sql

def sql = Sql.newInstance("jdbc:mysql://localhost:3306/test", "test","test", "com.mysql.jdbc.Driver")

sql.eachRow("select * from test where idtest = 1", { test ->
    println test.idtest + ' ' + test.testcol
})

 

I've added the mysql connector jar to the External Libraries (this took me a long time to figure out, and not convinced this is the best way to do it).

 

To build and run takes over 1min 30secs. 

 

I've increased the heap space but it didn't improve things.

 

What do I need to do to improve performance?

 

Thanks

Andrew

IntelliJ 15 "bad enclosing method attribute for class" compilation problem

$
0
0

Since we moved to IntelliJ 15 we have serious complication problem.

 

The error message is:

 

Error:java: cannot access wf.core.base.prm.data_properties.ExplicitDataPropertyItem$1

  bad class file: F:\views2\BoazMainRMA18_p\Qsnap\Qrelease\iclass-Q+A\production\Core\wf\core\base\prm\data_properties\ExplicitDataPropertyItem$1.class

    bad enclosing method attribute for class wf.core.base.prm.data_properties.ExplicitDataPropertyItem$1

    Please remove or make sure it appears in the correct subdirectory of the classpath.

 

If we go and delete the relevant .class fiile it will be re-generated and compilations passes

But soon the same problem will appear again.

 

The relevant code is:

 

 

return keyW.createUnknownWrapperDelagatee(() -> {
    T result = logic.get(context, new DependenciesHandler() {
        @Override
        public <TD> void addDependency(final RODataProperty<TD> dataProperty) {
            registerOnExternalItem(context, dataProperty);
        }

        @Override
        public <TD> void addDependency(TKey<TD> key) {
            registerOnExternalItem(context, key);
        }
    });
    //logic.releaseDependenciesHandler();
    return result;
});

 

 

It might be related to the fact  that anonymous is created in lambda - but I'm not sure.

 

Thx

Boaz

High DPI Support on Linux in IntelliJ 15.0.1 (idea-IU-143.382.35)

$
0
0

So I used IntellJ 14 with the vm options -Dis.hidpi=true. According the the following blog post, IntelliJ 15 has native high dpi support for UHD/4k monitors:

 

http://blog.jetbrains.com/idea/2015/07/intellij-idea-15-eap-comes-with-true-hidpi-support-for-windows-and-linux/

 

So I booted up IntelliJ 15 today and everything is super tiny again. I don't see anything in settings for either "dpi" or "scaling." So the automatic high-dpi obviously isn't working. How do I set it manually? How is IntelliJ supose to auot-detect it? I'm on Gentoo Linux running the i3 window manager.

Hotkey for toggling code folding?

$
0
0

Is there a plugin or other customization for IntelliJ, so that I can set a hotkey to *toggle* the fold state of a region? I can do this in Vim and Emacs, but I can't find an equivalent hotkey for IntelliJ.

EventLog: Project Data Sources - Model format version 2.1 is too old (2.3 or more required)

$
0
0

Since few days I got this error.

 

Any ideas, what this is?

 

Windows 7 64bit

IntelliJ EAP 143.1015.7

 

Jörg


`Resolve Workspace artifacts` does not work

$
0
0

I am using IDEA 14.1.5, and I have a multiple module maven project, and the web module depend on the other jar module, the web module can not run as expected, the project can be found here:

 

https://github.com/keesvandieren/intellij-tomcat7-run-workspace-resolution

 

Then I found that I can use the `Resolve Workspace artifacts` in idea by google, however it does not work,I have taken the screenshot ,you can check the attachment.

Hotkey for toggling code folding?

$
0
0

Is there a plugin or other customization for IntelliJ, so that I can set a hotkey to *toggle* the fold state of a region? I can do this in Vim and Emacs, but I can't find an equivalent hotkey for IntelliJ.

IntelliJ not recognising ?: operator and _csrf in Thymeleaf

$
0
0

Hi there!

 

I recently started using IntelliJ for a web project that uses Thymeleaf, and the latest version does not seem to recognise the ? : operator and the _csrf tokens in forms (I've attached screenshots for both errors).

 

Does anyone know why this happens and how can I fix it?

 

Thanks!

 

Gonzalo.

.ideaLibSources and .idea-build directories under %USERPROFILE%

$
0
0

Hi guys,

I am using IntelliJ IDEA 15.0.1 with Scala plugin in my corporate Windows 7 Enterprise laptop with the following overridden settings in idea.properties:

 

idea.config.path=/Tools/idea-settings/config

idea.system.path=/Tools/idea-settings/system

 

Thanks to these settings, all the IntelliJ settings go into C:\Tools\idea-settings directory, so I have managed to store more than 800MB of data in another directory than my %USERPROFILE% dir.

 

Issue 1: But still, when I click download sources for some jars it is being downloaded into %USERPROFILE%\.ideaLibSources directory which I do not want at all.

 

Issue 2: Also when first time IntelliJ compiles a scala project it creates %USERPROFILE%\.idea-build\scala-compiler-interfaces directory with compiler-interface jar files for each scala version I have.

 

How can I override these "sources download" and "idea build" directories?

Annotation processor run from the wrong directory

$
0
0

I configured IDEA to run an annotation processor but that processor is being run from the directory ".IntelliJIdea15\system\compile-server\. " instead of the module's own directory, which causes the processor to fail since it expects to find things in the project's own directory.

 

How can I tell IDEA to run the annotation processor from the module's directory?

Viewing all 5661 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>