Linked Questions

11 votes
1 answer
435 views

Using Code Snippet's JavaScript Tidy option to indent code of other languages

I've been using the JavaScript Tidy option in the Code Snippet popup to edit and indent code in Java posts. I far as I know it works perfectly fine with Java. Is it OK to do so? What other languages ...
Roshana Pitigala's user avatar
48 votes
2 answers
1k views

Auto indent new line within a code block

When you type a code, and you press enter, the new line should be filled with x*4 spaces or x tabs. It's not that comfortable to copy tabs/spaces from the previous line, or paste the code to notepad, ...
klenium's user avatar
  • 2,597
37 votes
0 answers
334 views

Code Snippet as a formatting tool

Since the Stack Snippet is being misused, let us make it a feature! My proposal is to add a dropdown to select the language, and let people paste their code inside to format the code. The language ...
nhahtdh's user avatar
  • 56.8k
18 votes
1 answer
367 views

Usability bug: “enter code here” may remain after clicking {} button

When editing a SO question or answer, a prominent {} button allows beginners to discover the possibility of formatting text as code. When some lines are selected, these lines are instantly formatted ...
Pascal Cuoq's user avatar
  • 80.2k
5 votes
2 answers
137 views

Add export-to-IDE functionality to Code Snippet editor

@ThomasOrozco recently posted asking for more feedback about Code and Stack Snippets: If you have more general feedback regarding Stack Snippets, or suggestions, please consider making it a ...
durron597's user avatar
  • 32.3k
2 votes
0 answers
42 views

Format the word automatically if the cursor is on the word

Most of the times I find that I've to code-ify a word. My natural instinct having experience in word processors is to do a Ctrl+K with the cursor on the word. But I'm met with "enter code here". This ...
Amit Joki's user avatar
  • 59.2k

15 30 50 per page
1
2