Just a suggestion...

Could the plain text help (you'll see it on the right of the screen when creating or replying to posts) allow square brackets to be used literally and not as a token for introducing urls into posts?

For example:

int[] x = new int[arraySize]

is awkward to read. Some square bracket usage in code snippets look ok but many others don't.

6 comments
Comment actions Permalink

Hello,

Could the plain text help allow square brackets to be used literally
and not as a token for introducing urls into posts.


Do you mean the forum post editor?

You could use the community newsgroups directly instead of posting through
the Web mirror. Try this link: news://news.intellij.net/23910382.69071214984794208.JavaMail.jive@app4.labs.intellij.net
. This way the posts will be submitted as is, without any additional formatting.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”




0
Comment actions Permalink

Serge,

It is the forum post editor I'm referring to.

0
Comment actions Permalink

You can use code tags to mark the code region:


Just place (that is, with braces) before and after piece of code.

0
Comment actions Permalink

Ilya,

I'm obviously having a bad start to the day so you'll have to explain that to me. In the Plain Text Help I can see what's available for bold, italics and so on, but I can't see anything listed that introduces 'code'. I've scrolled up and down the edit message page and I can't see anything listed. I could not really understand how you achieved your edit so could you give me a step-by-step walkthrough? Perhaps once I've had a cup of coffee the synapses in my brain may start to function. Oh no! I'm already on my third cup and they are still mis-firing. :)

0
Comment actions Permalink

Peter, try typing something like this into the editor:

(code)foo = bar;(code)

using curly braces instead of parens and it should come out looking like:

0
Comment actions Permalink

Aha! I think the penny has finally dropped. Thanks Jeremy, the snippet below looks much better.

0

Please sign in to leave a comment.