navinpeiris / jsca2js

Utility to convert JSON in Appcelerator's JSCA format to JavaScript
74 stars 24 forks source link

'file size exceeds configured limit' issue in PhpStorm 8 #15

Open benvium opened 9 years ago

benvium commented 9 years ago

I followed this tutorial which led me here: http://navinpeiris.com/2011/10/17/appcelerator-titanium-javascript-code-completion-in-intellij/

Everything worked great except documentation was not appearing in the popup window. Opening the titanium-mobile-alloy-3.4.0.js file gave this error:

screen shot 2015-02-08 at 21 16 28

I wonder if it's worth splitting (a) finding a way around this limit or (b) splitting the js file into parts?

What do you think?

benvium commented 9 years ago

I found a workaround!

Summary:

cd /Applications/PhpStorm.app/Contents/bin/
cp idea.properties idea.properties.bak
nano idea.properties

Edit the line:

idea.max.intellisense.filesize=2500

To read:

idea.max.intellisense.filesize=5000

.. restart and bingo! Documentation appears and the message goes away :-)

Based on info at https://intellij-support.jetbrains.com/entries/23395793-Configuring-JVM-options-and-platform-properties

caspahouzer commented 8 years ago

Wow! Great. Thanks for that!

natgho-reidin commented 7 years ago

I need this solution, and I solved that answer. But be carefull, incrementations should be 2500 and 2500*X forms. For example: 5000,10000 etc.