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

flex framework locales failing

$
0
0

in the module compiler settins i have the needed locales checked. and the locales are present in the apache flex sdk. but the dateformatter only returns English months and days of the week no matter what language code I give it.


Strange behavior of editor (selecting text, responding to mouse)

$
0
0

When I click in my text, my IDEA editor (Scala plugin) selects an entire document, a paragraph, a line, a character, or nothing, apparently at random. This is hugely frustrating when editing a document.

 

Also, when I click a menu, it will drop down and pop back up repeatedly, and sometimes select an item at random.

 

When debugging, pressing the button for 'step over' can step over anywhere from 0 to 4 lines of code.

 

Poltergeists? How to kill them?

 

Eric

[SOLVED] Ctrl + V and Ctrl + C doesn't work in intellij IDEA 14.0.2

$
0
0
I  can't copy and paste code in Intellij. I've been googling  for a couple  hours now. Every forum where there is a solution does not  work.
Ctrl + X works.
Ctrl + Z works.
Ctrl + V does not work.
Ctrl + C does not work

I'm using the latest version of Intellij Idea (14.0.2), I'm running  linux lite

Here is what happens when I right click:

http://qph.is.quoracdn.net/main-qimg-d9a1d409da50d0ed2e20eca55a0dcc7d?convert_to_webp=true

I looked in setting and found keymap then typed copy in the search bar and this is what came up:

http://qph.is.quoracdn.net/main-qimg-019f75af3850bbad6400be672a6215dc?convert_to_webp=true

 

Please help

Preview sprite icons?

$
0
0

Is there a feature/plugin that could preview a sprite icon defined in css rules (background url & position defined). Similar to the color previews in the gutter.

 

Busy refactoring some old CSS files and finding it very difficult knowing what rule applies to what icon when they're packed into sprites.

Intellij Terminal and Vim Colors

$
0
0

Hi,

 

This may sound silly, but often I find myself using the built-in SSH terminal to edit configs on a remote server while working on a project. For some reason, when I launch vim to do these edits, the colors are all jacked up. I was thinking that this may be related to the colors set for the terminal. I was able to edit the terminal colors themselves, but this seems to have done nothing for the vim colors. Running vim from an external tool (such as iTerm) still looks fine.

 

Anyone know what I'm missing here? This is supposed to be the solarized theme.

 

Screen Shot 2014-07-22 at 9.35.08 AM.png

 

For comparison, this is what it looks like in iTerm

 

Screen Shot 2014-07-22 at 9.40.24 AM.png

 

Added iTerm screenshot.

Using the simulator with a stage resolution greater than your desktop resolution.

$
0
0

Hi, I'm testing an Android app, and the resolution I'm using is 2560x1600, the issue is, the simulator width and height are of only 1920x1200, my current maximum resolution.

 

Is there any way to move or scale the full size of the emulator so I can see everything on screen?, otherwise it would be very hard to test it.

 

Thanks.

Can command line inspection results be imported to SonarQube?

$
0
0

Does anyone know of a SonarQube plugin that imports the XML files generated by a command line code inspection run?  I want to feed SonarQube these inspection results.

 

Thanks,

 

-Keith

IntelliJ 14.0.2 hangs indexing

$
0
0

Hi,

 

IntelliJ missed me during the vacations and now that I came back it decided to hang while indexing. I'm on OSX 10.9.5 using IntelliJ 14.0.2. I cleaned up caches and index folders and it still keeps hanging. I have to force quit Intellij and when it comes back up it starts to index and when it seems to be done it hangs. Cannot break the loop and I need to work so workarounds or a fix is much appreciated.

 

Attached is the log of IntelliJ. Some relevant parts seem to be:

 

2015-01-05 17:11:01,541 [  77383]   INFO - j.util.indexing.MapReduceIndex - java.lang.RuntimeException: com.intellij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted /Users/gato/Library/Caches/IntelliJIdea14/index/filetypes/filetypes_inputs

com.intellij.util.indexing.StorageException: java.lang.RuntimeException: com.intellij.util.io.PersistentEnumeratorBase$CorruptedException: PersistentEnumerator storage corrupted /Users/gato/Library/Caches/IntelliJIdea14/index/filetypes/filetypes_inputs

     at com.intellij.util.indexing.MapReduceIndex.updateWithMap(MapReduceIndex.java:668)

     at com.intellij.util.indexing.MapReduceIndex$7$1.run(MapReduceIndex.java:501)

     at com.intellij.openapi.progress.impl.ProgressManagerImpl.a(ProgressManagerImpl.java:281)

     at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)

     at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:147)

     at com.intellij.util.indexing.MapReduceIndex$7.compute(MapReduceIndex.java:497)

     at com.intellij.util.indexing.MapReduceIndex$7.compute(MapReduceIndex.java:493)

...

     ... 56 more

Caused by: java.lang.IllegalStateException: Index corrupted

     at com.intellij.util.io.IntToIntBtree$BtreeIndexNodeView.hashIndex(IntToIntBtree.java:1100)

     at com.intellij.util.io.IntToIntBtree$BtreeIndexNodeView.search(IntToIntBtree.java:399)

     at com.intellij.util.io.IntToIntBtree$BtreeIndexNodeView.locate(IntToIntBtree.java:986)

     at com.intellij.util.io.IntToIntBtree$BtreeIndexNodeView.access$000(IntToIntBtree.java:382)

     at com.intellij.util.io.IntToIntBtree.get(IntToIntBtree.java:180)

     at com.intellij.util.io.PersistentBTreeEnumerator.getNonnegativeValue(PersistentBTreeEnumerator.java:313)

 

and

 

2015-01-05 17:13:58,636 [ 254478]   INFO - ellij.vfs.persistent.FSRecords - Contents:81920 of 782563286, reuses:31441 of 182554465 for 7550

2015-01-05 17:13:59,753 [ 255595]   INFO - ework.TestFileStructureManager - JsTestDriver: Creating TestFileStructurePack for 1165abca3dff4d27d50f6885ff88af02.js took 81.17 ms

2015-01-05 17:14:00,594 [ 256436]   INFO - ework.TestFileStructureManager - JsTestDriver: Creating TestFileStructurePack for function_test.js took 51.20 ms

2015-01-05 17:14:45,751 [ 301593]   INFO - ellij.vfs.persistent.FSRecords - Contents:98304 of 925137904, reuses:38620 of 221155993 for 8699

2015-01-05 17:15:23,569 [ 339411]   INFO - ework.TestFileStructureManager - JsTestDriver: Creating TestFileStructurePack for es53-guest-frame.js took 76.72 ms

2015-01-05 17:15:26,484 [ 342326]   INFO - ework.TestFileStructureManager - JsTestDriver: Creating TestFileStructurePack for es53-taming-frame.js took 55.79 ms

2015-01-05 17:15:27,476 [ 343318]   INFO - ellij.vfs.persistent.FSRecords - Contents:114688 of 1061414976, reuses:41444 of 264059132 for 9807

2015-01-05 17:15:56,206 [ 372048]   INFO - ellij.vfs.persistent.FSRecords - Contents:131072 of 1095998700, reuses:42534 of 265854283 for 10064

2015-01-05 17:16:06,824 [ 382666]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 180881 ms

2015-01-05 17:16:07,578 [ 383420]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 294824 ms

2015-01-05 17:16:07,807 [ 383649]   INFO - unicator.p2p.UserMonitorThread - Force finding users

2015-01-05 17:16:08,182 [ 384024]  ERROR - pplication.impl.LaterInvocator - null

java.lang.NullPointerException

     at com.intellij.spring.facet.SpringConfigurationCheckStartupActivity$SpringConfigurationCheckTask.onSuccess(SpringConfigurationCheckStartupActivity.java:216)

     at com.intellij.openapi.progress.impl.ProgressManagerImpl$9$2.run(ProgressManagerImpl.java:557)

     at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:318)

     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)

     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)

     at java.awt.EventQueue.access$400(EventQueue.java:82)

     at java.awt.EventQueue$2.run(EventQueue.java:676)

     at java.awt.EventQueue$2.run(EventQueue.java:674)

     at java.security.AccessController.doPrivileged(Native Method)

     at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)

     at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)

     at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:748)

     at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:577)

     at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:384)

     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)

     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)

     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)

     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)

     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)

     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

2015-01-05 17:16:08,183 [ 384025]  ERROR - pplication.impl.LaterInvocator - IntelliJ IDEA 14.0.2  Build #IU-139.659.2

2015-01-05 17:16:08,183 [ 384025]  ERROR - pplication.impl.LaterInvocator - JDK: 1.6.0_65

2015-01-05 17:16:08,183 [ 384025]  ERROR - pplication.impl.LaterInvocator - VM: Java HotSpot(TM) 64-Bit Server VM

2015-01-05 17:16:08,183 [ 384025]  ERROR - pplication.impl.LaterInvocator - Vendor: Apple Inc.

2015-01-05 17:16:08,183 [ 384025]  ERROR - pplication.impl.LaterInvocator - OS: Mac OS X

2015-01-05 17:16:08,183 [ 384025]  ERROR - pplication.impl.LaterInvocator - Last Action: GotoClass

2015-01-05 17:16:09,062 [ 384904]   INFO - or.jabber.impl.JabberTransport - Jabber connected

2015-01-05 17:16:11,271 [ 387113]   INFO - indexing.UnindexedFilesUpdater - Indexable files iterated in 2805 ms

2015-01-05 17:16:11,271 [ 387113]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update started: 13576 files to update

2015-01-05 17:16:12,645 [ 388487]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update done in 1374 ms

2015-01-05 17:24:15,448 [ 871290]   INFO - ellij.concurrency.JobScheduler - 50 ms execution limit failed for: com.intellij.openapi.wm.impl.status.MemoryUsagePanel$2@1f2a8096; elapsed time was 4290ms

Thanks for your help,
Gaston

Cannot start new project with Gosu module..

$
0
0

Hi , I'm using Intellij IDE 14.0.2 with Gosu plugin (V3.7) installed, in Ubuntu 14.

However it failed to start a new Gosu project yielding an alert : com.intellij.diagnostic.PluginException: USE_COMPILE_SERVER [Plugin: com.guidewire.gosu]

I have no idea why this happens..

I tried it in Windows OS and running good with Intellij IDE 12 with Gosu plugin (v3.7), is it possible that V14 has come issues within?

I've appened some screenshots here..

Thanks in advance!

Running a main method issue

$
0
0

Trying to run main() in some class show the java usage instead of running

 

Environment:

  • Windows
  • Intellij IDEA 12
  • JDK 1.7

 

Thanks

"Application descriptor not found" when adding a parameter to the emulator.

$
0
0

I'm trying to add a -scale parameter to the emulator, since the screen size of the Android device I'm emulating is greater than my PC's one, and I can't test properly.

 

So I found this link: http://imagine.kicbak.com/blog/?p=45

 

It seemed like the pefect solution, however, when I try to run it it says: "C:\Users\MyName\Documents\Air SDK\bin\adl.exe" -profile extendedMobileDevice -screensize 1600x2560:1600x2560 -XversionPlatform AND -scale 2 C:\Users\MyName\IdeaProjects\MyProject\out\production\MyProject\Main-app.xml C:\Users\MyName\IdeaProjects\MyProject\out\production\MyProject

application descriptor not found

 

Any ideas why would this happen?.

Stupid side effect: overly aggressive import optimization

$
0
0

So I have a small class, and I went to add a comment at the top of the

class.

 

I type the /** to start the comment, the entire class goes into the

comment, IDEA discovers that it doesn't need to import anything, removes

ALL of the imports, then when I put in the close comment, everything is

red because nothing is being imported.

 

Sorry, but that is a whole lot of badness and needs to be fixed.

 

Frequent "Project Files Changed" message ever since upgrading to 14

$
0
0

Hello,

Ever since I've upgraded to version 14, I get frequent intermittent popup messages that prevent me from using the IDE until I either dismiss the popup or reload my project. This has happened with both python and CFML projects. The message says:

 

"Project Files Changed

 

Project components were changed externally and cannot be reloaded:

 

RunManager

 

Would you like to reload project?"

 

Screenshot is attached.

 

Any info on how this can be remedied would be appreciated

 

thanks,

Tony

Idea-IC-90.96 Linux: Change Java Version?

$
0
0

When I run bin/idea.sh, I get this dialog:

 

The JDK version is 1.7.0_60

IDEA reqruies JDK 1.5 or 1.6

 

Any way to fix this? (The only thing I could find in the FAQ was for Macintosh, and I don't have a .plist file anywhere)

How to execute an external tool and insert output to current file?

$
0
0

Currently, when you execute an external tool, the output is put in console.

Can I somehow put the output to current file, instead of console?

just like how this command works in vim:

:read !pwd

Thank you!

Leo Jay


Strange behavior of editor (selecting text, responding to mouse)

$
0
0

When I click in my text, my IDEA editor (Scala plugin) selects an entire document, a paragraph, a line, a character, or nothing, apparently at random. This is hugely frustrating when editing a document.

 

Also, when I click a menu, it will drop down and pop back up repeatedly, and sometimes select an item at random.

 

When debugging, pressing the button for 'step over' can step over anywhere from 0 to 4 lines of code.

 

Poltergeists? How to kill them?

 

Eric

Intellij Terminal and Vim Colors

$
0
0

Hi,

 

This may sound silly, but often I find myself using the built-in SSH terminal to edit configs on a remote server while working on a project. For some reason, when I launch vim to do these edits, the colors are all jacked up. I was thinking that this may be related to the colors set for the terminal. I was able to edit the terminal colors themselves, but this seems to have done nothing for the vim colors. Running vim from an external tool (such as iTerm) still looks fine.

 

Anyone know what I'm missing here? This is supposed to be the solarized theme.

 

Screen Shot 2014-07-22 at 9.35.08 AM.png

 

For comparison, this is what it looks like in iTerm

 

Screen Shot 2014-07-22 at 9.40.24 AM.png

 

Added iTerm screenshot.

Educational Edition features in the IntelliJ Platform?

$
0
0

Is there any one from JetBrains who can give us some info on the posible integration of new PyCharm Educational Edition features (Course authoring, course following and all that kind of cool things) into IntelliJ Platform (I mean integration made by the company).

Preview sprite icons?

$
0
0

Is there a feature/plugin that could preview a sprite icon defined in css rules (background url & position defined). Similar to the color previews in the gutter.

 

Busy refactoring some old CSS files and finding it very difficult knowing what rule applies to what icon when they're packed into sprites.

Remove all PHPDoc Blocks from File

$
0
0

Hello,

 

oft I need to remove all PHPDoc Blocks from a File. (Because they are wrong, and Update is not alway a good solution.

 

Is it possible to do that easy with IntelliJ?

 

If it is not possible, it would be a good feature.

 

cu

Viewing all 5481 articles
Browse latest View live