2

The list of help related to formatting information is slightly tangled, if the Stack Overflow team device a better inputting format just by shortcuts like in Eclipse Framework, then it would be a much pleasant experience. Is there any way that can be employed to achieve that?

17
  • Like what for instance? Give an example which irritates you. Commented Oct 29, 2012 at 11:20
  • suggestive help : when ever i am trying to add code (Indentation Required) or trying to follow specific format for links, i need to follow the said format to achieve. But in the case of Eclipse, if i want to add code, i can use the help of suggestive help. I am asking that kind of User Friendliness. Commented Oct 29, 2012 at 11:25
  • A combination of Shift + ctrl leads to set of suggestive help inputs in eclipse, as i am new to these kinds of sites, sometimes i am in need of such shortcuts. Commented Oct 29, 2012 at 11:27
  • Do you know about Ctrl + K?
    – Himanshu
    Commented Oct 29, 2012 at 11:28
  • I don't use Eclipse, so I don't know what it means. Please provide an example of input and desired output. Commented Oct 29, 2012 at 11:29
  • No, I Don't Know about Ctrl + k, can you explain about it. Commented Oct 29, 2012 at 11:37
  • @SriKrishna: CTRL+ K in an answer would indent all selected lines in 4 spaces, creating a code block. If an inline piece of text is selected, it is surrounded by ticks (like `so`). Commented Oct 29, 2012 at 11:48
  • @MadaraUchiha is correct, actually CTRL+K is a "hotkey" with exactly the same result as clicking the "Code Sample" icon in the editor. Commented Oct 29, 2012 at 11:50
  • hmm, that is well said, but still i am looking for hot keys to bypass writing other meta styling for formatting. Also how can i put some static image in the comment, i have found some info on displaying image through their links, but not static ones from my own computer. Commented Oct 29, 2012 at 12:00
  • @SriKrishna Also use @Reply so that someone can get notification when you reply.
    – Himanshu
    Commented Oct 29, 2012 at 12:02
  • To post images you need at least 10 reputation points it's meant as security measure against spammers. Commented Oct 29, 2012 at 12:13
  • @hims056 and @(Sha Wiz Dow Ard) Thanks for the info. Commented Oct 29, 2012 at 12:19
  • @MadaraUchiha Is this really a feature-request?
    – Himanshu
    Commented Oct 29, 2012 at 13:20
  • 1
    @MadaraUchiha I rolled back to [support]. The question isn't explicitly asking for a new feature, it asks if there's a way to format code. As it's phrased it reads more like a [support] question, and we don't want to further clutter the already very long list of pending [feature-requests] the developers have to go through, especially since this already exists, and the question was answered sufficiently (so, there's no point this reaches the devs)
    – yannis
    Commented Oct 30, 2012 at 6:02
  • 1

3 Answers 3

6

Is there any way that can be employed to achieve that?

Yes. Ctrl + K is the key by whom you can format your code as code.

enter image description here

You can also use <pre> tag for that. You can use backtick (`) for single line code. Also have a look at Markdown help

Note: You can test formatting on Formatting Sandbox

3
  • 2
    The preview should be enough for testing, but on more complicated stuff you're right, that's the use of the sandbox. :-) Commented Oct 29, 2012 at 12:20
  • include<stdio.h> main(){ printf("Nama"); } Commented Oct 29, 2012 at 12:23
  • yes i think i am understanding the formatting. Thanks all. Commented Oct 29, 2012 at 12:24
1

The Stack Exchange sites are using a rather simple editor called WMD editor, with some upgrades like support for image upload through imgur special account. (Available only for users with 10 reputation or more)

This editor is NOT Eclipse, it's not inspiring to be and there's no point making it as complex as this.

You have keyboard shortcuts for most available editor actions, using CTRL key plus some other key. Here is the full list.

The advanced help covers everything, if you have any suggestion to improve it go ahead and suggest with full details but just saying "it's not good please improve" is not really helpful to anyone.

0

The markdown editor has shortcuts for pretty much every button on the toolbar. Hover over it & you'll see the shortcut.

Beyond this, you need to be clear on what exactly is need to "be a much pleasant experience"

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .