If you want your code to display nicely within our forums surround it with [code] and [/code] tags. We enabled that today. Stefan Klensch gets the crown of being the Uebercoder, that tested it out right away. He even found a weakness with Code insert. (We are working on getting that fixed)
He also raised the question whether the code type: ABAP vs. Java is recognized. So far it is not. The interpreter was created for Java, but the spacing and indentation is correct in both cases.
The choice is between making it bland and taking all font changes out or to live with some minor imperfections. So far we have chosen the minor imperfections.
Here is Stefan’s answer:
If the coloring for EOL comments (it works for javadoc comments, I’ve forgotten to mention) is a problem, just leave that feature out, highlight the keywords and provide the correct spacing (like it’s done already). This should be sufficient for everybody, the code is readable, that’s enough anyway.
If it’s possible and easy to implement, provide a button for the formatting tags, like it’s done for bold formatting.
If it’s configurable and an ABAP formatter already available, use specific code formatting (Java, ABAP) for the forums, which are “dedicated” to a specific language.
Good idea and nice feature anyway!
The button will come with the next release. I post this here to broaden the discussion.
Bonus Meme: Page 23 Sentence 5 “I tried to portray this as organic, as a sort of psychological process.” The Felt Hat Joseph Beuys A Life Told. Lucrezia De Domizio Durini. 🙂
1. Grab the nearest book.
2. Open the book to page 23.
3. Find the fifth sentence.
4. Post the text of the sentence in your journal, blog or an email and pass it along with these instructions.