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

Python plugin and conda environment

$
0
0

Hi,

 

I am using Python plugin on IntelliJ 14 Ultimate with conda as my virtual env manager.

 

I have chosen the Python SDK under Project Structure to point to the correct env directory that I am using and I can run the Python program from the Terminal window inside IntelliJ within that particular virtual environment. However the editor is showing a lot of red squilly denoting compile errors especially for all the imported libraries that I have fetched into the environment through conda install or pip install.

 

Is there other settings that I need to do to be able to use the IDE appropriately?

 

Thanks,

Suriyanto


intelij tasks rtc plugin?

$
0
0

Hi..we currently about to move from bugzilla to rtc

And i was wondering is there a tasks plugin for it?

Intellj IDEA - Reference project

$
0
0

I have just started using Intellj IDEA for writing Javascript. For this I have created a 'Static web project'.

 

I have also been given another Javascript project (created in Intellj) which has a some classes and functions that I need to refer to.

 

So, my from project I need a way to reference another project (created in the same IDE). Goal is that I can use the classes and function from this other project and leverage IDE's features like auto complete.

 

Is it possible to do this? I won't be making changes to the project that needs to be referenced.

How to import Hybrid android app as two different modules?

$
0
0

Hello,

    I'm a former Eclipse user in the process of migrating to IDEA.  I'm using Cordova to develop hybrid apps.  To put this simply, I have a directory and a subdirectory within it I would like to add as two seperate modules.  My goal is to have one module be where I do my web-based development and the other where I work with the Java parts.

 

My current understanding of IDEA is that if I just used the parent directory of my app, I wouldn't be able to do Java builds correctly as all the source files would be in a subdirectory within the module.  Also, the directory structure needs to remain intact so that my web-based framework (Sencha Touch) will be able to successfully perform builds.

 

  Any help would be appreciated!

2 main programs - how do I do that?

$
0
0

I have taught myself Java somewhat in isolation and somewhat to my disadvantage.

 

I have an application in IDEA that has two main programs for very different functions.

 

But each main uses many of the same classes.

 

I have one src tree. Maven project. When I build the artifact I hand edit the MAINFEST file and change the main class.  I know this is very bad. And I somethings forget.  At 61 I forget stuff.

 

What would be the right way to restruture this project into something that is better suited for the above?

 

thanks

 

eric p

I'm unable to import a file template

$
0
0

I exported a simple file template (one that I will expand ultimately for use by my students) and imported it to another laptop with IDEA.

Although the file template does appear to be in the exported jar, when I try to import, file templates are not a choice.

Needless to say, after import, file template does not show up.

 

Any ideas would be appreciated. I've attached the settings jarfile in case that's helpful. The file template I want is called Assignment.

 

Thanks,

D

Mercurial: Check for incoming and outgoing changesets. Where do I see the UI?

$
0
0

Hi!

 

I've enabled the "Check for incoming and outgoing changesets" option in my Settings->Version Control->Mercurial

And I see periodical log records:

hg.exe incoming
hg.exe outgoing

in Version Control(tool window)->Console(tab).

But where can I find the UI that would show this info in Intellij Idea?

Basic JavaFX example produces warnings upon exit

$
0
0

I thought I'd try the JavaFX example and so created a new program based on that template and just ran it. When I quit it, JetBrains displayed the lines below in the console. Some funky async activity?

 

------


Java has been detached already, but someone is still trying to use it at -[GlassMenu menuWillOpen:]:/HUDSON/workspace/8u45-wk/label/macosx-universal-30/rt/modules/graphics/src/main/native-glass/mac/GlassMenu.m:171
Java has been detached already, but someone is still trying to use it at -[GlassMenu validateMenuItem:]:/HUDSON/workspace/8u45-wk/label/macosx-universal-30/rt/modules/graphics/src/main/native-glass/mac/GlassMenu.m:194
Java has been detached already, but someone is still trying to use it at -[GlassMenu validateMenuItem:]:/HUDSON/workspace/8u45-wk/label/macosx-universal-30/rt/modules/graphics/src/main/native-glass/mac/GlassMenu.m:194
Java has been detached already, but someone is still trying to use it at -[GlassMenu validateMenuItem:]:/HUDSON/workspace/8u45-wk/label/macosx-universal-30/rt/modules/graphics/src/main/native-glass/mac/GlassMenu.m:194
Java has been detached already, but someone is still trying to use it at -[GlassMenu validateMenuItem:]:/HUDSON/workspace/8u45-wk/label/macosx-universal-30/rt/modules/graphics/src/main/native-glass/mac/GlassMenu.m:194
Java has been detached already, but someone is still trying to use it at -[GlassMenu menuDidClose:]:/HUDSON/workspace/8u45-wk/label/macosx-universal-30/rt/modules/graphics/src/main/native-glass/mac/GlassMenu.m:181

 

Process finished with exit code 0


New Macro for External Tools / Create Pull Request from IntelliJ

$
0
0

Hello there

 

I would like to create a pull request from IDE. For that I configured an external tool that calls my browser to open the URL for creating a pull request (in my case stash).

 

To make life even more easy I would like to transmit the current branch in IntelliJ as a parameter to the given URL. Since there is no macro for that available I would like to know how I could achive that?

 

The URL is like

 

https://URL_TO_STASH/PROJECT/pull-requests?create&targetBranch=refs%2Fheads%2Fdevelop&sourceBranch=refs%2Fheads%2Ffeature%2F$$$myBranchName$$$

 

And $$$myBranchName$$$ shall be the current branch.

 

Anybody an idea?

 

Greetings

Stefan

GitHub issues do not show in tasks

$
0
0

Hey everyone,

I'm trying to integrate IntelliJ's Task Management plugin with GitHub issues with little success.

I have a test GitHub project, into which I added some issues.

I configured the plugin with the GitHub server, but when I open the tasks drop down I don't see any tasks...

At one point it showed me only one of the 3 issues I had and now that I closed it I see none of the remaining 2.

I tried it with and without the tasks cache option, and also tried lowering the timeout to 1 minute in order to make sure it's not a sync issue.

 

Am I missing anything?

 

Thanks,

Guy

Adobe ADL freezing on simple errors

$
0
0

Hi, I'm currently evaulating IntelliJ IDEA for Adobe AIR development and have noticed the ADL simulator consistently crashes when an actionscript error occurs. The type of errors would be casued by  trying to load an incorrectly referenced external file for example.. I know this may not be inherintly a problem with IntelliJ IDEA however I can run identical code in Flash Builder 4.6 and 4.7 without ADL freezing, so I'm just interested if anyone else has run into a similar issue?

 

Cheers

Java code execution timing

$
0
0

HI All,

How to capture java code execution time ? I'm learning  Java and solving some heavy match exercises. However except solving them  and improving my JAva programming skills I would like to start making  the code more efficient in terms of execution time.

I tried out  some Profiler plug-ins but non of them works or those that seems to do  the job are not free.I know I can add appropriate time class but really  no plugin for that showing more than just overall time?

 

Can anyone help ?

 

Thanks in advance

Evo

Is it possible to track time with Idea Community & Youtrack?

$
0
0

Hello

 

We are using IntelliJ Idea Community Edition [which is awesome] integrated with Jira [which is awesome too!] using Atlassian Connector.

However buggy, it allows us to track time spent over issues, which is fantastic and saves us a lot of hussle.

Unfortunately Atlassian decided to drop support for the connector, bummer.

Now we have to find a replacement for our working system and to be honest I would rather change bug tracker then IDE.

I was wondering if it's possible to use Jetbrain's youtrack connected with Idea CE to track time spent on issues?

I know I can do it using my Ultimate edition, but it seems CE lacks the time tracking functionality, but maybe you have a plugin for youtrack I was unable to find?

It's just a bit too much to spend for licenses just to enable this feature [all of our work is possible using CE].

 

Thanks

Krystian

IntelliJ IDEA does not detect classpath library jar file

$
0
0

I am attempting to add an external jar to my module's build path. I've added the jar as a module dependency and as a library, and the compiler is still unable to find the jar. I'm using intelliJ 14.1. I have verified that the jar is intact and not corrupt.

 

BwxRE.jpg

 

HKFAK.jpg

Keyboard shortcut for Apply Changes in Changes View

$
0
0

In the Changes View, is there a keyboard shortcut for Apply Changes?

 

Is there one for Ignore Changes?

 

Is it possible to select text in one side of the Changes View, and then apply all of the changs from that selection (but not changes outside the selection)?

 

If the last is possible, how does it handle changes that are only partially in the selected text?  The two possible cases are:

 

  1. change partially before the selected text
  2. change partially after the selected text
Thanks.

Displaying branch next to project name in Project pane

$
0
0

How can I get the active branch to display next to the project name in the Project Pane? Eclipse does this, though I do not know how to configure this within IntelliJ. Any help is very much appreciated!

docker plugin - no connection

$
0
0

Hi,

 

I can connect to a dockerhost viaTCP and see and manage all the images and containers, but when I disconnect and try to connect after some time (next morning), I get an error message (see attached file).

I disconnect before leaving IntelliJ.

 

I have to stop all containers, restart dockerhost ("sudo restart docker"), restart the containers and then I can connect again.

 

Using docker plugin 1.1.0 and IntelliJ 141.1010.

 

Any suggestions?

Importing Gradle project - getting JAVA_HOME not defined yet

$
0
0

Intellij Idea 14.1.4

Mac OS X Yosemite 10.10.3

 

From the IDE:

Import Project ->

(Chosen directory to import) ->

Import project from external model, Gradle ->

Gradle Home: /usr/local/Cellar/gradle/2.4/libexec

Gradle JVM: Use JAVA_HOME (not defined yet)

 

From shell:

> echo $JAVA_HOME

 

/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home

(defined in .profile: export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)"

 

What am I missing;

temp.png

Thanks

Is it possible to use IDEA source formatter from e.g. Gradle?

$
0
0

Would it be possible to use IDEA source formatter outside of IDEA, from e.g. Gradle?

 

That would be awesome!

Antlib taskdef in IDEA

$
0
0

I need to work with .7z files in an Ant build I write and run in IDEA. To do that, I've installed Apache Compress Antlib in Ant's lib directory, and added this to the relevant build target:

<taskdef resource="org/apache/ant/compress/antlib.xml" />


The <sevenz> task I need works fine in the build, but IDEA highlights it and the <taskdef> line above as errors in my build file. Clearly Ant has loaded the library and its taskdefs, but IDEA's parser doesn't see them for some reason.

 

Is there something I need to do to fix this? Or is it a bug?

 

Thanks.

Viewing all 5661 articles
Browse latest View live