Quantcast
Channel: JetBrains Developer Community : All Content - IntelliJ IDEA Users
Viewing all 5481 articles
Browse latest View live

Keymap for IntelliJ IDEA using same keys as resharper?

$
0
0

Hi there,

 

Coming from a Visual Studio background and being used to resharper, I noticed you can use IDEA keymaps for vs and resharper but you can't use Resharper mappings in IDEA as far as I know.

 

Is there something being planed ?

 

I did find this, resharper.rar

 

https://github.com/hhariri/Tidbits

 

which gives some mappings for IDEA from resharper but it appears to be out of date.

 

I did play with the idea of moving my keymappings for resharper to use Intellij IDEA which there is an option but resharper seems so much natural...

 

Is this keymap going to be included in the future?

 

Thanks


Auto-Complete sort logic... how to make it "dumber"?

$
0
0

I am doing things such as cmd+N to find and open a class by typing its name, and find the excessively clever logic in how results are sorted a source of aggravation.

 

Specifically, the drop-down box makes it easier to select classes whose name match my input less strongly than other candidates

 

For instance, if I have classes named FooBar34 and Foo34, but when I hit cmd+N and type "Foo3", it lists Foo34 and FooBar34, but has FooBar34 highlighted.  How can I get IDEA to always prefer those candidates that actually match my input by the simplest test -- that their initial sequence matches my input exactly?

 

tone

Search files in folders (+)

$
0
0

Hi,

 

I have a feature request: (small extension)

This funktion to find files (<ctrl>+<n>) is great.

I still miss a setting, that full folder is included in this seach indeed only file names.

May I am only blind to find this. But when not, It would be nice it come in a few next Update/Version.

(I do not know about the effort for this feature...)

 

gz Desian

How can I choose which class version to use when debugging?

$
0
0

I have Idea project where several modules are open. Inside I have several versions of some lib which classes I need to debug. Several versions exists because some of the are used in other applications, open in my project, or may be in the same application I use two versions of one library. The question is: how can I choose which version of my class is shown while debugging the code? It looks like Idea chooses the version of lib just in the order they are placed in the workplace. I have deleted some lib's version from my project and I went on debugging with another version. Idea cannot grasp the version number I REALLY use in my code.

 

So the question is : how can I say to Idea which lib to use while debugging?

Can I use the free version of IntelliJ IDEA to work with JBoss AS7?

$
0
0

Can I use the free version of IntelliJ IDEA to work with JBoss AS7?

 

I would like to deploy and debug my Spring MVC and Spring Projects from IntelliJ with Jboss AS7.. Can this be done in the FREE version

RubyMine Plugin 2 RoR Modules disables Rake Tasks? Is there a fix?

$
0
0

We're using IDEA 12 with the RubyMine plugin for our RoR application development. Everything has been going great thus far with one RoR module and multiple web modules; however when we add a second RoR module to our project (i.e /app1 && /app2), all of the pre-definied Rake tasks we've loaded for either no longer are recognized. They are still there, we can use them via command line; but no longer accessable via the rake task menu within the IDE.

 

I've searched the bugs and forums for a fix to this but not sure if there is one or if anyone else has ran across.

 

Any help is appreciated. Thanks,

 

- Tom

Get psiFile from toolWindow

$
0
0

Hi,

 

I'm pretty new at this so maybe this is a basic question - sorry about that.

I created my own tool window and i'd like to parse all annotations from the current opened class.

In order to do this i need to get the PSI class in my tool window code. How can i do this? I already have the editor, can i get psifile from an editor? how?

 

Thanks

 

---

Original message URL: http://devnet.jetbrains.net/message/5478446#5478446

 

Grails support ?

$
0
0

Hi,

 

I'm asking myself about the grails support in idea.

 

In youtrack:

 

 

So can you give us more visibility on the support of grails and can you please update the bug list?

 

Thanks in advance,

 

Gaetan


Configurable Spring bean class via PropertyPlaceholderConfigurer

$
0
0

IntelliJ IDEA Ultimate                                                                                                 

12.0.3                                                                                                                  

IU-123.155                                                                                                              

 

 

The 'class' attribute of my Spring beans are configurable via a PropertyPlaceholderConfigurer.  IDEA 12 is finding the fully qualified class names in the properties file and substituting them into the Spring application context file but it highlights the bean properties of each bean red and complains it 'Cannont resolve property'.  It doesn't see that the class does have the correct setter defined.  The issue goes away if I hardcode the class attributes of each Spring bean.             

 

This worked in IntelliJ IDEA 11.                                                                                        

 

 

How do I do this in IntelliJ, I know how to do it in Eclipse

$
0
0

How do I do this in IntelliJ, I know how to do it in Eclipse.

 

I need to copy code from one SVN repo to some other SVN repo.

 

in eclipse I do a checkout from SVN and then a discount from subversion, then a import into new repo..

Grails dependencies - download sources

$
0
0

Hi.

Is there any way to instruct IDEA to attach the sources for libraries that are defined in the Grails BuildConfig.groovy?

The libraries themselves get put into a "library package" called "Grails User Libraries (projectname)" but they only have the class jars. It would be very helpful if they had the source jars as well.

Kind regards,
Stefan Freyr.

Make IntelliJ 11 treat aui:script the same as script

$
0
0

Hey All,

 

I feel like this should be so simple, but it's eluding me!

 

I'm trying to make:

 

<aui:script use="xxx,yyy,zzz">

   function a() {

      alert('test');

   }

</aui:script>

 

highlight and self indent EXACTLY like:

 

 

<script>

   function a() {

      alert('test');

   }

</script>

 

I tried duplicating the script part in the language injections settings in 11.1 ultimate, and adding aui as a prefix but it didn't work.

 

Is there any way to do this?

 

Thanks!!

Maven EJB Project will not deploy on WebLogic (IDEA 11)

$
0
0

I am trying to get my EJB project to deploy in WebLogic, and it just won't work. I have:

  • IDEA 11.x
  • Maven 2.x
  • Java EE 5
  • Windows

My Maven projects are very plain. There is nothing special here. And the IDEA project is generated from the Maven Pom files. I have not modified anything.

 

Here is my Project Info:

. --> root


./ZIE2KLServiceBean -> Maven project. Packing = EJB. Creates a .Jar file.
./ZIE2KLServiceEAR -> Maven project. Packing = EAR. Creates an .Ear file.

When I import the project it creates 4 Artifacts that can be deployed:

  • ZIE2KLServiceBean:ejb
  • ZIE2KLServiceBean:ejb exploded
  • ZIE2KLServiceEar:ear
  • ZIE2KLServiceEar:ear exploded

For Run/Debug Configurations, I have created one Weblogic 10 Configuration. If I mark *no* artifacts to depoy, then this instance starts up and runs just fine. If I deploy the .ear manually then the application is loaded and running. But I cannot get a depoyment to work from the IDE.

Question #1 - Which Artifact should I be deploying? What is the simplest possible thing I could do here?

If I mark the "ear" or "ear exploded" artifacts to be deployed, then I get IDEA errors:

Error copying 'C:\Users\b028559\workspace\newbld\zie2klService\ZIE2KLServiceBean\target\ZIE2KLServiceBean-2.5.1-SNAPSHOT\META-INF\persistence.xml' to 'C:\Users\b028559\workspace\newbld\zie2klService\ZIE2KLServiceEAR\target\ZIE2KLServiceEAR-2.5.1-SNAPSHOT\ZIE2KLServiceBean-2.5.1-SNAPSHOT.jar\META-INF\persistence.xml'.: C:\Users\b028559\workspace\newbld\zie2klService\ZIE2KLServiceEAR\target\ZIE2KLServiceEAR-2.5.1-SNAPSHOT\ZIE2KLServiceBean-2.5.1-SNAPSHOT.jar\META-INF\persistence.xml (The system cannot find the path specified)

The .ear file has a  .jar file within it, and IDEA is trying to copy files into a directory that doesn't exist.

If I try to deploy just the ejb artifact then that is broken as well. In that case WebLogic starts but nothing is deployed. In the Run window, I see the EJB listed under the Deployment panel, but the icon says "Server is not connected. Press 'Deploy' to start deployment". But pressing deploy does nothing. From the WLS admin console, there is nothing deployed.

Question #2 - What am I supposed to do here? How can I move forward.

I even tried this with a sample project I found here: http://code.google.com/p/ejb3-maven/

The only way I got anything to work was this:

  1. Create a new Artifact by hand
  2. Create folders in the Artifact called xxx.jar and yyy.jar
  3. Have IDEA copy the artifacts files into the directories that are named like Jar files
  4. Configure WLS to hot load the application from the Artifact output directory

Please tell me this is not the only way to make this work, because for a more complex project this is unworkable.

P.S. We are evaluating IntelliJ IDEA this sprint for our insurance company. WLS integration is the only thing holding us back at this point, and it is a show stopper.

How to run console Application ?

$
0
0

How to run console Application ?

 

System.out.println("Hello World");

 

i can compile it but i can't run (i didn't find any output)

 

Grails View doesn't include GrailsPlugin.groovy

$
0
0

Is there a way in IDEA 11 to have the GrailsPlugin.groovy file to show in the Grails View Tool Window?  I can get to it by navigating to the Project tool.  However, I would like for it to be available in the Grails View just like the application.properties file.

 

Bryan


Problems creating Play 2 projects and modules in Intellij 12

$
0
0

Seeing this page on confluence http://confluence.jetbrains.net/display/IntelliJIDEA/Play+Framework+2.0,I thought that there is out-of-the-box support for creating Play 2 projects in IDEA 12.

 

However, I've been unable to do so. Here is what happened:

 

If I am creating a new module with an existing project opened, I don't see the input field for the Play 2 home directory.

Input:

Module name: play

Result:

"Invalid Play 2.0 dir, cannot find /framework/skeletons/scala-skel"

 

 

If I am creating a new project with a Play 2 module, I can specify Play 2 home directory, but whilst the project is being created, there is an error when creating the Play module like:

 

Input:

Project name: practice

Module name: play

Play 2 path: /home/user/applications/play-2.0.4

Otherwise settings default.

 

Result:

 

"Error adding module to the project: /home/user/ideaProjects/practice/play/.idea_modules/play.iml (No such file or directory)

I was expecting the play.iml to be looked for in the directory /home/user/ideaProjects/practice/play since this is where it is actually located.

Project then loads without anything in it.

 

 

Both seem to be typical scenarios to me and yet they don't work.

 

I have found a workaround when creating a new project though:

If you use the same name for both the project and the module, the project is created as expected!

How do I change code completion UI colors?

$
0
0

I use custom dark look n feel (JTattoo HiFi) Seems like IntelliJ IDEA ignores the background properties, and so it looks like this:

 

http://img.keraj.net/983760952.jpg

Probably it requires some additional looknfeel property to set the background color fos this certain component.

If it's just property, then I could set it myself directly in the look and feel code.

Or can I just change it somewhere in the settings?

How to add AS3 library project as module to an application project?

$
0
0

Hi!

 

I have an AS3 application that uses an AS3 library (which is also a separate IntelliJ project, etc), and I want to step-thru-debug this library while in use in (while running) the application.  In IntelliJ 11, I could easily add the library as a module to the parent application, BUT, this doesn't seem to work as expected in IntelliJ 12...

 

Urrrrrr, how do you do this? This should be easy, right?

 

Thanks!

adq

Ask about Community Edition License

$
0
0

Hi,

 

I have one question about Intellij Idea Community Edition License ! It is free and open-source - ok, but I wondered if I can use it in company (and not for my personnal use) to develop Android commercials products without the Ultimate License ? I read the license but I am not sure if it's ok or not for non personnal use. And is there some license obligations with Apache License 2.0 if I use it only to develop (no touch at the source code)?

 

Thanks for answers !

 

Akayh.

 

PS : English is not my native language, sorry for mistakes.

IDETalk?

$
0
0

Is anyone using IDETalk?  I been trying to set it up to talk to other members but its telling me it cant connect

Viewing all 5481 articles
Browse latest View live