Eclipse Editor Scalability
Join the DZone community and get the full member experience.
Join For Free
in eclipse opening a large file might cause the following dialog:
what does this mean? well, eclipse does a lot behind the scenes with source files. and this includes eclipse indexer , outline view or syntax coloring.
the drawback of all these great features is: it does not make the eclipse framework faster. the eclipse ide with its java foundation is in my view the best ide in the world, but unfortunately not the fastest. that’s why the eclipse community has implemented settings to keep things within boundaries, and the above dialog is one of this.
as eclipse tends to get slower and to use more memory for very large files, that dialog warns me about this. i can change the settings pressing the ‘ configure scalability settings… ‘ hyperlink in above dialog which will open the settings:
the same settings are available with the menu window > preferences > c/c++ > editor > scalability too. i can configure if i do want that dialog (i usually switch it off), this is the same setting as the check-box on the first dialog. i can change the line number settings to warn me about really big files only.
the warning dialog typically shows up if i open one of the header files containing all the peripheral register declarations, or during debugging if i step into library code.
if performance is a concern, it does not hurt to turn on the scalability mode:
this turns off features which might slow down eclipse. and there is a price for performance: less functionality.
happy scaling
Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments