-4

How do I add the codes, when I ask questions on stack overflow?. I tried to copy it from MyEclipse or type Ctrl + K according to its reminder but failed.

1
  • press enter twice then indent the lines by at least 4 spaces
    – morgan121
    Dec 19, 2018 at 5:06

2 Answers 2

4

Copy the Code from Code Editor. // .. Code Copied.

And then Paste the code in the question area. // .. Code Pasted.

Now Select the Entire Code. // .. All Code --> Selected.

And Press Ctrl + K

Then You will see that your Code is Converted from simple Text to Code Format.

0

When you press {} icon you will get enter code heredescription, Copy your code there

enter image description here

0

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