I have a significant JavaScript file (approximately 6 MB) that includes library API and documentation as shown below:
/**
* Function doc
*/
library.class.func=function(something){};
/**
* Function 2 doc
*/
library.class.func2=function(something){};
My issue is that I need to utilize this file for code auto-completion in NetBeans 8.0. While I am aware that NetBeans may cease scanning files larger than 1 MB, the behavior seems inconsistent. Sometimes it stops scanning a 350 KB file while other times it may work for a 400 KB file. It's perplexing.
To remedy this, I created a simple Python script to split the JavaScript file into smaller chunks. Surprisingly, it only works when the file is split into approximately 300 KB chunks (based on my experimental findings).
However, managing 20 different files is incredibly cumbersome. In an age where humans are venturing into space and sending code to rovers on Mars, it's frustrating that NetBeans struggles with a 6 MB file. Is there a way to configure NetBeans to scan larger JavaScript files (up to 10 MB), or should I consider switching IDEs?