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

Is There a Bug?

$
0
0

Hi

I modified my iml, saved it and ran it. Everything was okay, until I ran it without saving. When I returned to the iml, it was back to it's original state, with all my edits gone.

Is this a bug, or am I not supposed to touch my iml?


Documentation download

$
0
0

I've just bought Intellij and going offline foe a while so I want to access the help offline. I can't see any way to download help and I don't see any content oin the help directory of my Intellij download.

 

Is this possible?

How do I integerate Visual Studio Online (a.k.a., TFS Online) with IntelliJ 14.1.4 ?

$
0
0

I regularly use Visual Studio Online (unfortunately mis-named by Microsoft - it should really be named "TFS Online" because that's what it really is) as my version control system (VCS) with Visual Studio 2013 and Visual Studio 2015 from several computers with no trouble (i.e., can add new projects, check-in, check-out, create shelve sets, etc.).

 

However, I cannot figure out the correct values to plug into IntelliJ 14.1.4 Ultimate's dialog that appears when I traverse VCS / TFS / Edit Configuration... / Add ...

 

I don't want to expose my true URI that I use to connect to Visual Studio Online, but assume for the sake of this question that it is abc.visualstudio.com/DefaultCollection and that, when I view it from inside Visual Studio, I see a top-level folder named TrainingAndDemos with all my "projects" underneath.

 

After I click the Add ... button in the IntelliJ dialog, I'm presented a modal popup form with the following boxes (some of which remain disabled until I change the Auth: dropdown listbox).

 

Address:

Auth: choices are NTLM (system credentials), NTLM or Alternate.

User name:

Domain:

Password:

[] save password checkbox

 

I have tried various combinations of Address (with and without http: or https: prefix), Auth, User Name and, of course, password, but always get the following error, no mater what combination of entries I type into that dialog:


Host contacted, but no TFS service found.

 

Is there some place with a detailed, step-by-step example I can follow?  I've search your site, but cannot find that type of information.

App Not Looking Right In FullScreen

$
0
0

I ran a test with an as3 example, but it is not working correctly in fullScreen mode.

Not in FullScreen

nonFullScreen.png

FullScreen

FullScreen.png

How can I get this fixed to work in fullscreen also?

First time setting up - invalid haxe toolkit for module xyz

$
0
0

Hi everyone !

 

I was following tutorial here to make the initial setup : http://jasonsturges.com/2014/11/28/openfl-and-haxe-in-intellij-14/

The problem is when I try to run the project I get error "Invalid Haxe toolkit for module"...

 

So instead of trying random things, I wanted to ask here few questions that could help me narrow down the problem.

 

Inside of Project Settings -> Project -  is it okay if I chose no SDK and then I set the SDK for module ? Reason is that when I am setting up SDK in Project, it doesn't allow me to select SDK from Desktop folders, after selecting the folder, and choosing it, the sdk doesn't appear in list. Only the default one in usr/lib folder appears after being selected. I tried adding Haxe folder from Desktop there, but it still didn't work after I selected it...

 

But it seems all works fine in Modules.

Inside of Modules folder, I have Compile with set to OpenFL , .xml file is chosen, and for Flex SDK for Flash app debugging I have selected [none] since this is Haxe, and not AS3.

Inside of Dependencies Haxe 3.1.3. is selected, and I also tried checking Library 1.7.5, but it didn't change anything...

 

Any idea what to do ?  I would really like to use this on my Macbook, and so far I didn't find good IDE , this one seems good so far... Thanks !

Has anybody figured out to make ruby language level actually work reliably

$
0
0

I've been having problems getting idea to use ruby language level 2.x for over year. In some projects it works, in others it does not. In all my projects I am using a ruby jdk with language level 2.x. But in some of the projects idea just not care. The docs show setting the ruby language level in the settings langauges/frameworks, but ruby does not appear there.

 

I have (if I recall) been able to create a project from scratch and get the language level to take, but never when importing a directory into a project.

 

Is there some magic incarnation that can make an existing project use the specified language level?

Freezes when using "Find Usages"

$
0
0

Hello,

I've been having these freezes lately. They definitely happened more than once when I tried to find usages of some class or method, I'm not sure if I experienced it in other cases as well.

Attached is the freeze folder I found under ~/.IntelliJIdea14/system/log/threadDumps-20150716-140102-IU-141.1532.

I'm using IDEA 14.1.4.

 

Thanks,

Guy

Maven dependency changes - how do I force IntelliJ to check all Java imports across all my project's classes are still ok?

$
0
0

Hi all,

 

We chagned a maven dependency for our project. The version number changed from 1.x.y to 2.n.m, because of breaking changes (e.g. packages being renamed).

 

How can I make sure IntelliJ goes through all classes in the project and checks if it can still find all imports, highlighting all those it can't find anymore, the second the de[endency is loaded?

 

At the moment, we have to open every class manually, and check, at whcih point IntelliJ will mark it as broken if there are any issues. What we'd like is that faulty classes are highlighted in the Project Viewer with a red squigly underline as soon as maven has loaded the new dependency in...

 

Is there an option for that?

 

Kind regards,

 

Christian


External Tools report format

$
0
0

Hi all,

 

In IntelliJ, we can set up External Tools to run, and they can return their output in a format that IntelliJ can parse, to display messages, complete with line numbers, file names, and links.

 

Does anyone know where to find the documentation for that output file format, i.e. what structure IntelliJ expects? Is it XML, JSON, or something else? Is there a schema?

 

Brgrds,

 

Christian

problem with deployment to weblogic

$
0
0

Hi,

 

I configure weblogic server in inltellij but I can not deploy any artifact to the weblogic because "Server is not connected. Deploy is not available".

I have ubuntu 14.04 and intellij 14.1.4.

Any ideas ?


Regards,

Arek

Generating Getters & Setters Question

$
0
0

Hello -

 

Using Idea 14.1.4 and Ctrl-Return (on a MAC) invokes generating Getters & Setters.  I have already made changes so the variable name in the setter adds the word "Value" as a suffix.

 

For example:

 

private Integer itemCount;

public Integer getItemCount() {
    return itemCount;
}

public void setItemCount( Integer itemCountValue ) {
    itemCount = itemCountValue;
}

So my question:  Is there a way to configure IntelliJ so the variable name in the Setter is just "value"?  For example:

 

public void setItemCount( Integer value ) {
    itemCount = value;
}

 

Thanks!

How to modify source code for external libraries

$
0
0

Hi,

I am using the spark machine learning libraries as an external library within Intellij IDEA, and I am going through the source code but I cannot modify the source code.

It is read-only. How can I make changes to the source code of these external libraries? please help!

 

Thanks

How to disable ""This file is indended with.." inspection message?

$
0
0

Hello,

 

Does anyone know how to disable the message that pops up such as "This file is indented with tabs instead of 4 spaces"? When I click on the 'show settings' link,  under Code Style I see that 'Detect and use existing file indents for editing' is checked, and I really like this feature. Then under 'Inspections' settings, I see a listing called General -> Problematic whitespace, which seems like it should be the one responsible however it is unchecked and the message continues to pop up whenever I open a source code file that isn't in the 'preferred' format.

 

I'm seeing this in Webstorm 10.0.4, however I figured it was a general IntelliJ feature so thought it best to ask here.

 

Thanks,

Rich

Intellij Community HEAD@master not autosaving?

$
0
0

Has anyone noticed in HEAD@master builds of IntelliJ Community that autosave on focus lost no longer seems to happen?  I'm running on OSX running Idea under Java 8.

 

I've not yet pinned it down to if its the JDK at fault, or IntelliJ, nothing appears to be in the logs for errors specifically about files/editors...

IntelliJ not finding local import directories

$
0
0

I have a project in Google Go, with imports under /src/. When I type in an import, autocomplete will come up, but then turn red because it "Cannot resolve directory".

 

$GOPATH and $GOROOT are set, using appengine 1.9.23 and Go 1.4.2. Any help/insight would be appreciated!


error while starting gwt debugger

$
0
0

Hi,

While starting gwt debugger, I'm getting following error:

00:12:37.499 [WARN] Server class 'javax.el.BeanELResolver' could not be found in the web app, but was found on the system classpath

00:12:37.507 [WARN] Server class 'com.google.gwt.dev.shell.jetty.JDBCUnloader' could not be found in the web app, but was found on the system classpath

 

login page is opening but I cant login to the ui. Though while running locally, ui login is happening.

 

Any idea why I'm getting this error?

 

Thanks

auto-format not formatting in play framework template

$
0
0

Hi All. I'm a new Scala and new Play 2.0 user on IDEA 14.1.4 Ultimate & Scala Plugin 1.5.2., and I have an issue where IDEA is not correctly formatting a play template file in my opinion. To recreate: Make a new Scala + Play 2.x project, let it initialize the sbt stuff, and replace 'app > views > index.scala.html' with this unformatted code:

 

@(message: String)

@main("Welcome to Play") {

@play20.welcome(message)

$(function() {
console.log("$");
});

}
Run 'Code > Reformat Code...' On my setup this only indents lines 3-4, but I expect it to indent more like this:
@(message: String)
@main("Welcome to Play") {
    @play20.welcome(message)
    $(function() {
        console.log("$");
    });

}

Any help would be awesome!

matt

---

Original message URL: https://devnet.jetbrains.com/message/5548104#5548104

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?

IDEA allows me to (incorrectly) import test classes from another module

$
0
0

Hi,

 

I have a multi-project gradle project (written in scala 2.11). Most projects depend on one or more of the other projects, for example:

 

sample-data-repository/build.gradle:

compile project(":sample-data-model")

 

Normally this would mean that all the classes in src/main/scala of sample-data-model are available on the classpath of sample-data-repository (both runtime and in tests).

 

However, IDEA's auto-completion and syntax checker seem to think that also the classes in src/test/scalaof sample-data-model are available on the classpath of tests in sample-data-repository. For example, it will happily allow me to take some test class in sample-data-repository (e.g. PersonDmoRepositoryIT) and add a line that references a test class in sample-data-model (e.g. JsonModelSerializerIT). It autocompletes, there are no red lines, it compiles flawlessly, and IDEA will even run the test.

 

On the command line, however, gradle test will fail, complaining that:

... PersonDmoRepositoryIT.scala:16: error: not found: type JsonModelSerializerIT

  val x: JsonModelSerializerIT = new JsonModelSerializerIT

I would say that command line gradle is correct. The test classes of one module shouldn't be on the classpath of another module, not at runtime, not even during a unit test.
I find it hard to say why this is going wrong. Does it have something to do with configuration of the gradle plugin, scala compile server, ...?
I'm using IDEA 14.1.4 community edition, fresh out of the box (no configuration changes from the default, except a different font). I added the scala & gradle plugins after importing the project (as prompted by IDEA). The IDEA project was generated by gradle using gradle idea.
Any ideas?
Yours,
Jasper
P.S. The project I'm working on is on https://github.com/jasperavisser/octowight-example

How do I integerate Visual Studio Online (a.k.a., TFS Online) with IntelliJ 14.1.4 ?

$
0
0

I regularly use Visual Studio Online (unfortunately mis-named by Microsoft - it should really be named "TFS Online" because that's what it really is) as my version control system (VCS) with Visual Studio 2013 and Visual Studio 2015 from several computers with no trouble (i.e., can add new projects, check-in, check-out, create shelve sets, etc.).

 

However, I cannot figure out the correct values to plug into IntelliJ 14.1.4 Ultimate's dialog that appears when I traverse VCS / TFS / Edit Configuration... / Add ...

 

I don't want to expose my true URI that I use to connect to Visual Studio Online, but assume for the sake of this question that it is abc.visualstudio.com/DefaultCollection and that, when I view it from inside Visual Studio, I see a top-level folder named TrainingAndDemos with all my "projects" underneath.

 

After I click the Add ... button in the IntelliJ dialog, I'm presented a modal popup form with the following boxes (some of which remain disabled until I change the Auth: dropdown listbox).

 

Address:

Auth: choices are NTLM (system credentials), NTLM or Alternate.

User name:

Domain:

Password:

[] save password checkbox

 

I have tried various combinations of Address (with and without http: or https: prefix), Auth, User Name and, of course, password, but always get the following error, no mater what combination of entries I type into that dialog:


Host contacted, but no TFS service found.

 

Is there some place with a detailed, step-by-step example I can follow?  I've search your site, but cannot find that type of information.

Viewing all 5661 articles
Browse latest View live


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