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

htgfdhfd


ytryert

hfdhgfsdgh

usd79.com

$
0
0

usd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.comusd79.com

 

---

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

 

Using SBT plugins with 14.1 Community Edition

$
0
0

Hi!

 

I transitioned from Eclipse for Scala/SBT/Github development and I am estatic! I will probably never go back.

 

I need to use certain SBT plugins from the SBT console, in particular the sbt-assembly plugin. I have set them up properly and they work from a terminal window. However, I am wondering if it is possible to make the SBT console in Idea work with them. I haven't been able to at this point.

 

If anyone could point me to the right place for this, I would be grateful.

 

Thanks,

Hadil G. Sabbagh, Ph. D.

Breaking out some directories as separate projects, in IDEA and source control

$
0
0

I have an app that's existed for a long time as a single monolithic project. It's being refactored into a main app plus a series of add-ons that I want to make into separate IDEA projects, each with their own source files, build process, and build output.

 

However, for technical reasons, the source files for add-ons need to be in directories inside the main app. (The build output for add-ons is just a zip, that when installed, results in the source files being in the same location as I have them in the main project tree.)

 

The main reason to split this into separate projects is that I'm heading towards open-sourcing the whole thing, and while initially I'll be the primary maintainer of the main project and possibly some specific add-ons, it needs to be possible for add-ons to be created and maintained by members of the user community.

 

Conceptually, what I want to do is exclude the directory where these add-ons are from the main project, and create new projects for each directory inside there, but as far as I know, IDEA projects can't contain other

 

I'd need to do the same thing at the VCS level (currently local SVN, will probably switch to Git in order to move it to GitHub), and I suspect nest projects aren't possible there either.

 

Am I right about the things I think aren't doable? Are there ways to accomplish some equivalents?

 

Hope this makes sense, ask if anything's not clear, and thanks in advance for any help.

toArray(IntFunction) in Stream cannot be applied

$
0
0

Searched around and I could not find a good answer to this question.

 

Intellij IDEA 14.1.4 is giving me red underline error on code that compiles and runs fine.

 

Stream.concat(Arrays.stream(new String[] {"a", "b", "c"}), Arrays.stream(new String[] {"x", "y", "z"}))                .toArray(String[]::new);

 

Basically, any time you use the Object[]::new IntFunction Intellij balks on it.

 

Intellij recognizes this format.

 

Stream.concat(Arrays.stream(new String[] {"a", "b", "c"}), Arrays.stream(new String[] {"x", "y", "z"}))                .toArray(size -> new String[size]);

 

 

Is there some setting I am missing or does intellij not recognize the new style IntFunction yet?

Configuring IntelliJ 14 to debug an externally deployed Glassfish app

$
0
0

Hi All IntelliJ IDEA experts,

 

I seek help (if possible please with screenshots) on how to configure

IntelliJ IDEA 14 to just debug a Glassfish 3.1 EAR and WAR

App deployed externally. I mean mvn build and deploy via Glassfish

Admin console and only debug from IntelliJ .

 

I go to set a local debug config in Glassfish and it insists on

deployment of artifacts (which I do not want to do via IntelliJ)

 

Reason for not deploying via IntelliJ is that 2 WAR files  depend on

EAR to be deployed before hand and currently I think IntelliJ does not let you

juggle the deployment order and sorts deployment artifacts by namewise in the

natural sort order (A limitation)

 

Please help with externally configured artifacts based debug configuration help!


In IntellijIdea start Tomcat as administrator windows

$
0
0
  1. I need to run Tomcat in IntellijIdea as administrator because in Windows 8, I cannot acces to my static files on external storage disk e: on my computer,I tried run as admin Intellijdea and open acces rights to directory

IDEA 14 PHP Smart Enter Issue

$
0
0

Hello Folks,

 

 

I had expierienced some issues by using IDEAs Smart Enter in PHP, with the PHP Plugin. When trying to CtrlShiftEnter in a line before a block closing "}", it takes the "}" to the current line, and sometimes setting the semicolon on the wrong place.

 

Here are some cases, you can test:

 

class Test{    public $a = true;    public function execute()    {        if ($this->a) {            $this->alternate()|            //some comment        }    }     public function alternate()    {           }} 

 

The "|" is my cursor. Smart Enter transforms it to that:

[...] public function execute(){    if ($this->a) {        $this->alternate(        //some comment        );}} 
[...] 

 

 

Or:

 

public function execute(){    if ($this->a) {        $this->alternate()|    }} 

 

becomes

 

public function execute(){    if ($this->a) {        $this->alternate();}} 

 

 

and so on...

 

 

any way of fixing the Smart Enter behavior?

aspectj compiler dosn't work for single class compile

$
0
0

hello, i'm facing this problem: my project compile succesfully with ajc if i do full rebuild but if a compile a single class which use aspects (some Roo aspects and some custom one) the ajc compiler fails because the weaving of the related aspect doesn't trigger.

in the compiler output i see many of this warning:

 

Warning:ajc: this affected type is not exposed to the weaver: it.kion.dol.model.didattica.ComponenteAF [Xlint:typeNotExposedToWeaver]

 

the annoying thing is that the entire project compile always trigger the weaving of all aspects and it takes long time because of the project size.

 

anyone has suggestions?

 

i'm using a licensed version of idea 14.1.4 with the official aspecj and spring aop plugins and with this ajc configuration (i already played with the delegate to javac check)

 

ajc.png

gfdxgfdx

Backspace deletes the space and the line instead of only the space

$
0
0

I write for example:

 

public class X {

  int i;

 

After the semicolon I press ENTER and the new line is automatically indented, which is fine. The problem is that if I press backspace, I expect the space to be deleted, but instead the entire line is deleted. Any way to change this behaviour?

 

Thanks!

Sharing project between IntelliJ and Android Studio

$
0
0

Hi,

 

I have an IntelliJ license and I'd like to use Intellij to work on an android project which was created for Android Studio and which has its project files imported into git.

 

I'm currently using IntelliJ 15 EAP and while it nicely opens the Android Studio project, it also changes the .iml file, .idea/gradle.xml and .idea/misc.xml. Obviously I'm reluctant to commit these changes as that might break Android Studio or it might just be plain annoying as I'm sure Android Studio would just change it back.

 

This means that I can't have a clean working copy.

 

What do you suggest?

 

* also use Android Studio (Why? I already have Intellij)

* downgrade to non-EAP intellij (what happens when Android Studio updates)

* exclude the files in question from revision control (seems unwise especially for the .iml file).

 

What should I do?

 

Philip

Smart completion for interface implementation should respect parameter naming convention

$
0
0

When IntelliJ smart completion implements an inteface with a single method (Java 7), it uses the generic derived parameter name from the interface signature. I expect it to suggest a parameter name based on the generic type already available, formatted according to my specified code style for parameters, and have it editable in place.

 

Example:

 

public interface Func1<T, R> extends Function {

    R call(T t);

}

 

 

When I type to begin implementing it for type signature Func1<ValueHolder, Boolean>

 

_o.filter(new

 

It completets to:

 

_o.filter(new Func1<ValueHolder, Boolean>() {

    @Override

    public Boolean call(ValueHolder t) {

        return null;

    }

})

 

Instead of "t", I expect it to be "inValueHolder", infered from the generic type, and formatted accoriding to my rule for parameter names (prefix with "in").

 

I find the current behavior disruptive, exactly when I expect to use smart completion to move fast with verbose code, because I have to stop, navigate and rename the parameter before proceeding, to comply with Checkstyle rules.

 

---

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

 


Help. Lost work of many days

$
0
0

Please help me. I lost the work of many days.

I was looking at the local history, to detect what was changes that made a bug ocur, but by mistake i presed the revert button (i should ask confirmation when you are going to change 50 files) and the IDE froze. I had to force quit the application. My surprise came latter when i noted that the local history was completely cleared. So i lost all the changes and i have no idea how to recover it.

 

Please i need your help.

Thanks

"No flow configuration found, please check Spring setup" - Error from "Spring WebFlow Setup" inspection

$
0
0

Similar to https://devnet.jetbrains.com/message/5504346 I'm seeing this error on all my flow config files.

 

"No flow configuration found, please check Spring setup"

 

I've tried deleting the Spring facet and re-creating it, tried deleting the project and re-importing it, but haven't had any success.

 

SpringFacet.PNG

 

I've attached the webflowConfig.xml that's included in the Spring Application Context.

 

 

Using IntelliJ Ultimate 14.1.4, Build #IU-141.1532, Spring 4.2.1.RELEASE, Spring WebFlow 2.4.2.RELEASE

 

 

Any ideas on what I'm doing wrong?

 

Thanks,

Arun

XSLTProcessor output cut by half

$
0
0

Hi, everyone

 

I have a unsolvable problem (of course, from my point of view).

 

I always get XSLTProcessor.transformToFragment output reduced in half in comparison to the input size.

 

E.g. I have 200 entries as the response of webservice in XML file, which is been transformed into table with a header. And these 200 entries result in a table that has always 100 + 1(header) rows.

I have tried to slice input XML file into two with 100 input entries and got 50+1 rows.

It's a client side transformation. I use JavaScript, Jquery, Chrome for debug and there is no difference if I debbug or just run code.

 

Here is an example of input xml http://dokuwiki.samo.ru/doku.php?id=onlinest:api:searchtour:prices. XSL file attached

Overriding user.name in file idea64.vmoptions when value contains spaces

$
0
0

How can I override property user.name in file idea64.vmoptions with a value that contains spaces?

 

Example:

 

-Duser.name=John Doe

 

Tried / doesn't work:

 

-Duser.name="John Doe"

-Duser.name=John\ Doe

-Duser.name="\"John Doe\""

... and more combinations, but none worked ...

 

Maybe there is another way to accomplish what I need:

 

Actually I'm trying to override the global settings for the username which is used in templates and/or autocompletion. For example in java sources the autocompletion may help to fill out @author fields ...

Set BigDecimal value in Debug/Variables window?

$
0
0
I'm looking for the syntax to set a BigDecimal value from "null" to a BigDecimal value for testing.   If I use "new BigDecimal("1.1")"  I get "Cannot find constructor" from Intellij.  If I use "BigDecimal.valueOf(1.1) I get "Cannot find local variable BigDecimal."   Seems like this should work.Using IE 15 Ultimate EAP edition.   Would downgrading to 14.x solve this?
Viewing all 5661 articles
Browse latest View live


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