Quantcast
Channel: Active questions tagged code-formatting - Meta Stack Overflow
Viewing all articles
Browse latest Browse all 182

Is there a way to indent a chunk of code? [duplicate]

$
0
0

When formatting a question, I usually copy and paste the code that I want examined. But it is somewhat cumbersome to have to indent every line of code by 4 spaces, is there a more efficient way of doing this?

For example, in some programming languages, one can highlight any code in a program and then press the tab key to indent the entire thing. Is there a similar feature in SO?

If not, I think this would be a pretty neat feature to facilitate the formatting of a question.


Viewing all articles
Browse latest Browse all 182

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>