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

Polymer 1.0 support in IDEA

$
0
0

Are there plans to update Polymer and Web Components plugin with support for Polymer 1.0? Any timeframes?

 

Kind regards,

Boris


Update dependency in pom.xml, new JAR appears in External Libraries, but no longer included in WEB-INF/lib

$
0
0

Why does this work:

 

<dependency>
    <groupId>org.primefaces</groupId>
    <artifactId>primefaces</artifactId>
    <version>5.0</version>
</dependency>


but this does not:

<dependency>
    <groupId>org.primefaces</groupId>
    <artifactId>primefaces</artifactId>
    <version>5.1</version>
</dependency>

and this does not either:

<dependency>
    <groupId>org.primefaces</groupId>
    <artifactId>primefaces</artifactId>
    <version>5.2</version>
</dependency>

All I did was update the version number.  I can see the new JAR in External Libraries e.g.

Maven: org.primfaces:primfaces:5.2
|
|---primfaces-5.2.jar


However, Intellij does not copy the new JAR into WEB-INF/lib when I deploy.  All I did was change one thing: the version number.  Same problem happens when I upgrade Primefaces Extensions and atmosphere dependencies in the same POM -- the new JAR files do not appear in WEB-INF/lib.

Disable popup which appears below when you use shortcut

$
0
0

Hi,

 

Does anyone know how to disable popup which appears when you use shortcut key.  I have attached a screenshot of the popup.

 

Thanks in advance.

 

~Abhi

Maven does not show up as a build tool in intellij

Unable to use Groovy 2.4.3

$
0
0

Is there a maximum Groovy version that you can use in plugin development?

 

When including Groovy 2.4.3 in my build.gradle, Intellij gives me this error:

 

"groovy-all is loaded in version 2.4.3 and you are trying to load version 2.3.9"

 

I'm using Intellij 14.

war file created as -plain-output

Could not execute build using Gradle installation/distribution

$
0
0

Hello all, I have been developing Android app with Intellij IDEA on Mac. Currently I need to also work on PC but I have difficulties in setting up a project in Intellij IDEA on PC (Windows 7). I can't get passed the error message saying:

 

Error:Android Gradle Build Target: org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.

 

or if I set it to my local gradle installation, it says:

 

Error:Android Gradle Build Target: org.gradle.tooling.GradleConnectionException: Could not execute build using Gradle installation 'C:\Program Files\gradle-2.4'.

 

Tried few solutions offered by people who got similar problems and solved theirs, but it won't solve mine.

 

Even a simple new project setup won't get passed this error. Anything that I missed?

 

Details of my setups:

 

  • OS: Windows 7 64Bit
  • Intellij IDEA 14.1.3
  • JDK 1.8.0_40
  • I also installed Gradle locally in order to try solving this issue

 

Tried invalidate caches/restart, deleted .gradle folder, turn on/off "Use auto-import", alternating "Use default gradle wrapper", "User customizable gradle wrapper", "Use local gradle distribution". None of them works.

 

settings.gradle at the root of my project folder:

 

include ':app'

build.gradle at the root of my project folder:

 

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.1.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}

 

build.gradle at my app folder

 

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.1.1'
    }
}
apply plugin: 'com.android.application'

repositories {
    jcenter()
}

android {
    compileSdkVersion 21
    buildToolsVersion "21.1.1"

    defaultConfig {
        applicationId "com.flake.myapplication2.app"
        minSdkVersion 9
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_6
        targetCompatibility JavaVersion.VERSION_1_6
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:21.0.2'
}

 

I also see some messages "dependencies cannot be applied to groovy.lang.Closure" if that's related.

 

Thank you for your help.

"Changed files" scope for "todos" is missing test files

$
0
0

Hey,

I noticed that the Changed Files scope in the todo list does not show the todos that are written inside test files, even when the test files are changed (Or in my case, new).

Attached screenshot.


Interrupt or kill thread currently being suspended at breakpoint.

$
0
0

Hello,

 

I would like to know if there is a way to kill or exit the currently debugged thread, thereby stopping it from continuing.

 

This way I can examine complex code behavior,  without for example a current database transaction actually mutating a database. (If possible with respect to the transaction boundaries ofcourse)

 

 

Best wishes,

 

 

Faizal

Find Next for Speed Search? Finding nested (collapsed) items with it?

$
0
0

Hi everyone,

 

When I use Speed Search, is there a way to jump to the next (previous) text occurence?

Also, when I'm searching the Project Structure view, is there a way to make Speed Search also search through collapsed/nested items?

 

Kind regards,

 

Christian

How to add angularJs support to existing project (maven, war)

$
0
0

I have an empty maven/war project and want to angularjs support. how to do this? (i installed nodjs and anguarjs plugin already)

 

what are the pros and cons between the 3 documented ways to get angular (manuall, npm/bower, intellij)?

Websphere remote debugging and SOAP connection

$
0
0

Hello,

 

I'm new to Websphere remote debugging. In IDEA 14 I created a run/debug configuration. On Tab Startup/Connection at Debug I know how to set the Debug port and where I have to set the same port in Websphere.

However when I start I get a SOAP error.

On Tab Server there is the "Server Connection" area where a SOAP port of 8880 is set as the default value. This port is also configured in my Websphere server. However, if I click on "Test connection" I get a "Cannot connect" error message. I tried a lot filling the other input fields with actual values for Cell, Node, Server. All with no success. I have no idea at all about what to input into the User/Password field.

 

Can you help?

 

BTW, I can set up remote debugging using the generic "JSR45 Compatible Server" plugin. Here you just configure the correct debugging port as described above and it works.

So what is the extra value of the Websphere plugin anyway? I assume IDEA can do some remote administration through SOAP. What what for?

 

 

Best regards

 

Michael

Autosync web-app on application server

$
0
0

i am new to intelliJ i just switched from eclipse to try it (my company bought licenses for all). I am working on 2 modules one is JavaEE 7 (jpa, jax-rs...) the other is a AngularJS app. All is working fine so far: i have added an application server (jboss/wildfly) and added run configuration i deployed both war files on it. The server is local/stand-alone.

My problem is: How to get files in IntelliJ into sync with server? On Eclipse i just save and Eclipse sync automatically  ("republish...synced"). How to achieve this in IntelliJ? At the moment my frist priority is to sync the Angular app (just html,js,css files). But to be able to sync classes would be nice.

So how to set it up and how to trigger sync? I there an autosync?

 

 

thanks in advance

Code Cleanup absolutely incomplete

$
0
0

The "Code Cleanup" feature is supposed to be finished, right?

 

It was described in this blog entry nearly a year ago:

http://blog.jetbrains.com/idea/2014/07/try-intellij-idea-14-eap-138-1283-4-with-code-cleanup-android-studio-beta-features-and-more/

 

Today I tried it for the first time ever, and found that most of the inspections I would like to quick-fix automatically are not even present in the selectable inspections.

 

I already filed issues for adding "final" at local variables and missing "@Override" annotations.

Just now I learnwed, that not even unused imports can be fixed.

 

To me it seems the whole feature is a first draft, but not "done done".

 

Could you please go over the complete list of inspections and add all that have a single, failsafe quickfix to the list of code cleanup inspections?

 

Or should I really do this for you and create a separate issue in YouTrack for each single inspection?

Git Access using SmartCard PKCS11 token

$
0
0

I am trying to configure the intellij Git Access using SmartCard token which support pkcs11 standards.currently we are using the git from Command line with pkcs11 token using the ssh-agent and ssh-add -s /usr/lib/opensc-pkcs11.so commands. for the global configuration, it can work from ~/.ssh/config or /etc/ssh/ssh_config and add the following line to config file

 

Host *
PKCS11Provider  /usr/lib/opensc-pkcs11.so
IdentitiesOnly  yes
IdentityFile    /tmp/null

 

Git is working simply by running the following command


[6/12/2015 3:11:19 AM] Sanaullah:  git clone git@10.0.1.224:ams.git
Cloning into 'ams'...
Enter PIN for 'SmartCard-HSM (UserPIN)':

 

is there a way we can configure the token in Intellij?

 

Regards,

Sanaullah


Troubleshooting slow performance when typing

$
0
0

Hi

 

I've been using Android Studio for about a month now and today, kinda all of the sudden it started performing really slowly. When I'm typing in AS the fan spins up and performance slows down. Keystrokes aren't displayed for almost a second sometimes. I have about 40 sub-projects in my gradle build and it has been this way for weeks now. I did update to the latest stable version on Monday, so I'm on 1.2.2. I was an Intellij user at my previous job so I don't have my notes on how I reconfigured my system to handle these kinds of issues (they're in the old inbox at former company).

 

I'm on XUbuntu Linux 15.04, the machine is a fast Quad Core i7. I'm using OpenJDK 8 as my JVM for AS. I've set studio.vmoptions as follows:

-server

-Xms256m

-Xmx1024m

-XX:MaxPermSize=250m

-XX:ReservedCodeCacheSize=150m

-XX:+UseConcMarkSweepGC

-XX:SoftRefLRUPolicyMSPerMB=50

-ea

-Djna.nosys=true

-Djna.boot.library.path=

 

-Djna.debug_load=true

-Djna.debug_load.jna=true

-Dsun.io.useCanonCaches=false

-Djava.net.preferIPv4Stack=true

-Dawt.useSystemAAFontSettings=lcd

Just out of curiosity. This is a farily large Android project. Is Intellij better suited for these kinds of systems than Android Studio? Currently AS seems to be meeting our needs (thought some Gradle things could be better). We don't have big database issues yet and our development is just in Java and Groovy at this point. I guess I'm just wondering if continuing to use the free version of AS is going to cause us to hit a big roadblock in the future.

 

Thanks, Derek

Creating and editing Postfix completion templates.

$
0
0

Is the ability to add, remove, and/or edit postfix completion templates in Intellij 14?

 

Searching for this answer has been rather difficult so I assume we cannot.

I simply wish to make a .souw to expand a string, etc to a output.println("blah blah"); much like how str.sout would translate to System.out.println("blah blah");

output is my usual Writer object name to write to a text file. I cannot find anything on this. Even searching "postfix completion" in the discussion board comes up with 0 results.

 

Thank you.

Why would Tomcat servlet's ContextDestroyed not be called when running in debugger?

$
0
0

I am running IntelliJ version 14.1.3 build 141.1010 on a MacBook Pro.  I have a web app that the IDE deploys as an exploded war to a local instance of Tomcat that the IDE launches.

 

After launch contextListener.contextInitialized and everything else except the servlet's contextListener.contextDestroyed method is called as expected.  I've tried bringing down the server using both the debugger stop button and the Application Servers stop button but neither approach appears to differ in any way with regards to what steps are being taken during shutdown.  

 

What is the proper way to launch and terminate the Tomcat instance from within IntelliJ so that the server's contextDestroyed method is called and can be stepped through using the debugger?

 

Thanks

Mark

Darcula tab highlight visibility

$
0
0

I want to make the focused editor tab to stand out more from the other ones in Darcula theme. At the moment the difference between the focused file tab and the rest of the file tabs is very small and it's hard to see in which file I am judging only from tabs. Is there a setting/plugin to achieve this?

Change color for autocompletion items

$
0
0

I'm using jdk8 with language level for 7.

 

When using autocompletion, with the default theme, I can see the classes that are from 8. In the example is FunctionalInterface that is red.

When using the darcula theme, all the item are in the same color.

 

Where do I change this for darcula theme?

 

IntelliJ 141.1531.2 OSX

JDK8

Viewing all 5661 articles
Browse latest View live


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