Based on my earlier comments I'd say between 120-140, I have little preference to the exact number in that range
Anybody object?
mkalb - feel free to pick a number in that range and add the config. Other than the import style I'm not sure if there are any base IntelliJ tweaks to make. Other than maybe 4 spaces for tabs if that isn't a default already.
Speaking of, do we have a style capturing tabs instead of spaces? I've forgotten (and am at work)
The first post mentions that Java6 is the target version. Is this still the case?
Btw: is there a condensed version (maybe a Wiki page) of all code conventions and in how they differ from the original Sun styling?
eclipse has a nice example code snippet that shows all currently applied formatting rules. This makes it easy to see all rules in one view ..
I think write access is pretty widely available. I just added you and Josharias to the official Contributor group on GitHub so you should be able to create a new page and edit it all in yourself. I'll be happy to do a review - that's a lot easier than the initial write-up with limited time availability. Immortius probably would be up for that too sometime
blocks quite useful to make long(ish) heterogeneous classes more readable. I.e. attached is a screenshot of how TerasologyEngine.java looks like after a bit of reorganizing to better understand it. Is this any useful? Allowed? Frowned upon? Are there other, preferred ways to divide a file into logical sections of more tightly related parts?
Is that specific to IntelliJ though ? That might be the biggest issue in adding these sorts of meta-tags - unless there is a type supported across all three major IDEs, or maybe even more editors.
I know I've had this discussion before with someone, but no idea where.
Basic conclusion was no code folding - see http://blog.codinghorror.com/the-problem-with-code-folding/ for some reasons. Essentially it bloats code, and hides code smells - if you have 6 different sections of methods that handle 6 different things, perhaps you should actually have 6 classes? If you can only make sense of them within a named region, perhaps the method names need improvement?
Additionally, there's no common standard in Java for code fold structure, so we cannot maintain cross-IDE support.
IntelliJ already supports a fair bit of code folding for methods, blocks, anonymous inner classes and one line methods. I think we should stick with that.
Afaik, eclipse doesn't support the editor-fold tag - at least not out-of-the-box. There's support for code folding of methods, classes and comment sections, though.
I would go for more javadoc and fold it in the IDE where appropriate.