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

Property files or resource bundles

$
0
0

1. How to remove all the duplicate enterpries in resoruce bundles, duplicate by key and not by content

2. How remove all the unused keys with values in property files.

 

It would be nice feature of Intellij to have these features related to refactoring of resource bundles.

Currently it intellij does hightly these in different colors, but it does not seem to have a way to eliminate all these with one command.


No view resolvers found

$
0
0

How do you correctly set up your servlet.xml so that the view resolver is detected by Intellij?

 

in web.xml i have a DispatcherServlet configured named 'spring' that is configured with the config file spring-servlet.xml

 

in spring-servlet.xml there is the following

 

    <context:component-scan base-package="my package"/>

    <mvc:annotation-driven />

 

    <bean id="internalResourceViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">

        <property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>

        <property name="prefix" value="/WEB-INF/htm/"/>

        <property name="suffix" value=".jsp"/>

    </bean>

 

 

Intellij detects that my controller is configured by that component scan, but does not see the view resolver so all of my ' new ModelAndView("foo")' show the message 'No view resolvers found. 

 

Are there any special requirements to configuring the view resolver to cause it to be detected by Intellij?

move typing cursor [|] to [] |. how ?

$
0
0

like, i am typing int[] a; .  then the cursor is in [|] and i have to move the cursor with arrow key . How can i move this with shourtcut like in eclipse 'tab' do this .

 

thanks in advance .

Flex and java web combined module from eclipse to idea

$
0
0

Hi all:

 

I have an old project implemented with flex and java web in eclipse.

Now,I want to import it to idea. But,

 

if I tried to import Eclipse project (module from external model->eclipse) Idea understands only java/web related stuff

if I tried to import FlashBulder (module from external model -> Flashbuilder) idea picks only flash related stuff.

 

It's the same question with link http://devnet.jetbrains.com/thread/437473. The answer suggested using two modules. But my modules share the same root.

why cant I add two facets(flex and java web) to the whole project?

 

It's essential for me  to debug the two parts together. Can anybody help?

 

p.s I'm working with idea 13 ultimate.

How to check cucumber-jvm version installed

$
0
0

Hi All,

 

How I can I check the cucumber-jvm version That I installed in IDEA (I am using 13.0.3)

 

 

Thanks

How to disable auto reload of project

$
0
0

I'm working on a project where some subfolders are edited by other users. This does not have any effect on what I'm working on. Except that Intellij constantly reminds me to reload the project to see the changes I don't care about.

 

It is not an option to avoid this by putting subfolders in seperate projects.

 

So is it possible to disable auto reload of a project or maybe limit it to detecting changes in som folders? I can't seem to find the options for this area.

RESTful web service development setup

$
0
0

Hi All,

I played around sometime with Jersey framework and IntelliJ community edition to start my web service development. Intially I faced some problem to identify some of the jars. Then I found the necessary jars and successfully setup the development environment. Just to share the learnings, I have recorded a video and put into Youtube.

 

If you want to learn some of the basics of development environment setup for RESTful Java with Jersey, you can find the content below... Let me know your feedback...

 

 

Thanks,

Tham

JSP highlighting/code suggestions not working

$
0
0

I have been using the community edition for a while and recently upgraded to the ultimate edition to work on a jsp project.

 

I am having trouble setting jsp up correctly, If I open an existing jsp file it is basically treated as text. I would like highlighting and code suggestions in a similar way to working on a java project.

 

When I go to create a new project, or a new file within an existing java project, I do not see JSP file as one of the options. How do I add this?  I am using Intellij IDEA Ultimate 13.1.4

 

Thanks for your help.


Terminal Colors

$
0
0

Love the idea of a built-in terminal in Idea, but unfortunately I can't see the text. With my color scheme I see white text on a white background. If I use the mouse, I can select the text and see it. I can't find any color options related to the terminal colors and some guesses haven't yielded any results. What are the names of the colors I need to change to get this work?

How to disable vertical dash line

$
0
0

Hi, I'm trying to disable the vertical dash line of the screenshot below. It's a little boring for me, I tryied out, but I can't find the way.

Can anybody tell me how to achieve that?

Thanks very much!

QQ图片20140819175621.jpg

org.jetbrains.annotations does not exist

$
0
0

Error:(114, 33) java: package org.jetbrains.annotations does not exist

 

I just updated to the JDK 1.8.0_20.  Ever since, IntelliJ cannot find

the annotations package.  Nothing I have tried makes it available.

What is the trick?

--

Roedy Green Canadian Mind Products http://mindprod.com

Errors using inadequate data are much less than those using no data at all.

~ Charles Babbage (born: 1791-12-26 died: 1871-10-18 at age: 79)

 

Geb support within IDEA?

$
0
0

The Geb documentation says that IDEA supports Geb via the Groovy plugin (http://www.gebish.org/manual/current/ide-and-typing.html#intellij_idea_support). In particular, it says IDEA "Understands content defined via the Content DSL for page objects". However, I'm not seeing this in IDEA 13.x or 14 EAP. Everything works and runs, but I get no code completion or hinting for any content DSL definitions defined in my Pages. Also, my content DSL references show with the "underlined" formatting used to indicate unknown/dynamic/runtime-only Groovy elements. Since the Geb docs specifically say it should provide this, I'm trying to figure out if I'm missing something, or if the Geb docs are just wrong about this.

 

Thanks,

 

Brian

Inspector still showing "unused declaration" results after it's switched off

$
0
0

I'm running IntelliJ IDEA 13.1.4 Ultimate under the 30 day trial.

 

I have many many public methods in classes that aren't presently being called and I don't want the "unused declaration" to be searched for during inspections.

 

I've disabled it by unchecking it in the inspections preferences and re-run the inspector, but it still finds these problems.  I've re-enabled it and re-disabled it and re-run the inspector mandy times.  I've tried restarting intellij too.

 

Is there another setting I need to switch off to disable these, or is this a bug?  Can anybody else turn this off with this version?

Feature requests for 2 shortcut buttons

$
0
0

Running IntelliJ 13 at the moment and I am looking for two features. Either I don't see it or its worth noting.

 

1) I would like a "revert" button on the "show diff" window. I don't want to see the comparison and close out that window just to get back to a screen with the "revert" button.

 

2) I would like a collapse button in the variables panel during a debug session. A slight pain when I dive through a tree of variables and then I have to collapse a node at a time.

 

Thanks

Opening IntelliJ always wants to clear the readable flag on one of my .iml files

$
0
0

I've got a Flex project file (let's call it main.iml) whose IML file defines a few Flex applications and contains several other modules.  Most of those modules are for SWC libraries.  However, one of them, let's call it other_app_module.iml, is for a semi-related application with its own SWF file.  As such, it is listed in the modules.xml file but none of the applications in main.xml depends on it.

 

Whenever I open main.iml, I get the following popup:

 

2014-07-03 15_56_46-Clipboard.png

 

(the obfuscated part is, of course, other_app_module.iml)

 

What's going on here, and how can I stop it?


modify mxml file and then run , but output html dosent refresh

$
0
0

Hi, I modified the mxml file ,just add a line(Alert.show("hello"));

And then, I pressed run.

A html file is opened at local disk. But my change doesnt appear.

why?

p.s. I am using idea ultimate 13.

The browser is the firefox.I have set it to get  new sources every time.

Import Java EE 7 Libs - Automated Download still for EE 6

$
0
0

Hi there,

 

i am currently in the process of updating my jboss to wildfly. While doing this i noticed i also have to update my Java EE libraries.

IntelliJ 13 offers me the option to download the required libs via alt+enter menu but it only downloads EE 6.

 

My question:

Is it possible to download the Java EE 7 libs via IntelliJ? And if not where could i find those to integrate into my project?

 

Thx in advance

How can I set environment variables for external tools?

$
0
0

I know that I can set environment variables for build configurations in Edit Configurations -> Defaults -> Applications, but I've set up some external tools I run before building some of my Flash Apps, and those environment variables don't seem to affect those tools.  Is there a place I can set up environment variables for external tools?

 

Ideally, I'd like to set env vars globally for an entire project, rather than having to set them separately for build configs and external tools, but I'll take what I can get.

Keyboard shortcut for 'down' in recent files popup?

$
0
0

Hi,

 

I have Control-N bound to "down", but when I hit Command-E to get the "Recent Files" popup, I have to use arrows to move up or down. Other popups, like Command-N to navigate to class, work as I'd like: I can use Control-N/P to move up and down.  Is there a way to get Control-N to move down in the Recent Files popup list?

 

I've probably asked this before... I feel I'm always forgetting these things as I switch from Xcode to IDEA.

 

Rob

Can't create default java project

$
0
0

Hi.

 

I've installed IntelliJ Idea now to develop some java things, but after configure jdk, jre and all the environment variables I can't create a default java project. See the print:

 

http://i.imgur.com/xi1XzzS.png

 

What's the problem with the SDK?

 

Message was edited by: Hector Iankovski

Viewing all 5661 articles
Browse latest View live


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