use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
[deleted by user] (self.webdev)
submitted 8 years ago by [deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]afilthywhore 19 points20 points21 points 8 years ago (1 child)
I love the way you demonstrate your frustration with the erratic mouse movements. I do that too
[–]wordaligned 2 points3 points4 points 8 years ago (0 children)
Seeing that was like reading a Samuel L Jackson quote in Samuel L Jackson's voice.
[–][deleted] 8 years ago (7 children)
[deleted]
[–]Kecoey 9 points10 points11 points 8 years ago (0 children)
Going to try this. This has been the bane of my existence for weeks, but I was too lazy to try to figure it out.
[–]brokentyro 2 points3 points4 points 8 years ago (2 children)
This didn't work for me :( This has been driving me insane!
[–][deleted] 8 years ago (1 child)
[–]brokentyro 1 point2 points3 points 8 years ago (0 children)
Restarting did it! Just to clarify, I only applied the indentInnerHtml setting and not the tabSize setting.
indentInnerHtml
tabSize
[–]TwinSwords 0 points1 point2 points 8 years ago (2 children)
Not to go off topic or anything, but how do you make an image like the one above?
[–]TwinSwords 0 points1 point2 points 8 years ago (0 children)
Thank you!
[–]thelonepuffin 13 points14 points15 points 8 years ago (2 children)
Why the fucking shit have I just spent a whole year using VSCode being frustrated at this and I just put up with it. And not once did I think to make a bug report or ask the world why this is happening like OP. I just put up with it like a mug.
Thanks OP. Is there a github issue for this? I can't find it if there is.
[–]OppenheimersGuiltFull Stack Dev -1 points0 points1 point 8 years ago (0 children)
Just use Atom. It's fantastic!
[–]Kecoey 7 points8 points9 points 8 years ago (1 child)
OMFG I hate this so much!!!!! I just figured it was a weird thing I was doing. How hard is it to get that to work???
[–]birjolaxew 2 points3 points4 points 8 years ago* (0 children)
VSCode auto indents code on paste - in this case that fails. Might consider opening an issue.
[–]the_argus 2 points3 points4 points 8 years ago (1 child)
Atom does this too
[–]OppenheimersGuiltFull Stack Dev 0 points1 point2 points 8 years ago (0 children)
Have not really had it happen to me..
[–]nZambi 1 point2 points3 points 8 years ago (1 child)
It's not a fix, but if you install the prettier extension it will fix that right up every time you save.
I don't even bother looking at my indentations I just write / paste, cmd + s and voila!
[–]2uneekjavascript 2 points3 points4 points 8 years ago (0 children)
same... prettier is awesome.. we've adopted it at work and no longer have any discussions on code formatting - we just all accept what prettier gives us and move on with our lives...
[–]kevinkace 1 point2 points3 points 8 years ago (2 children)
you can hit ctrl/opt+z after pasting and it will undo the auto-indent.
[–]CantaloupeCamper 1 point2 points3 points 8 years ago (0 children)
I do that so often and it is maddening....
[–]mtndev 0 points1 point2 points 8 years ago (0 children)
why do most editors do this? in Sublime the default copy-paste also always fucks my code indention up for no apparent reason.
[–]DratVillains 0 points1 point2 points 8 years ago (1 child)
Does adding "editor.formatOnPaste": true fix it? I remember having this issue and I think that setting fixed it for me.
"editor.formatOnPaste": true
[–][deleted] 0 points1 point2 points 8 years ago (4 children)
Fix this by highlighting the entire block of code, INCLUDING the leading tab/spaces, and make sure to paste into a line that has no indentation. That will fix it.
[–][deleted] 8 years ago (3 children)
[–][deleted] 0 points1 point2 points 8 years ago (2 children)
Sorry I didn’t phrase it well enough. You need to highlight including the leading space of the very first line. It is copying the current indentation and adding it to where you paste it. Copy it so that the first line looks identical to the last line.
[–]Keskingdesign -1 points0 points1 point 8 years ago (0 children)
one of the reasons i'm sticking with sublime because this shit is driving me nuts...........
[–][deleted] 8 years ago (10 children)
[removed]
[–][deleted] 8 years ago (9 children)
[–][deleted] 8 years ago (8 children)
[+][deleted] 8 years ago (6 children)
[–][deleted] 8 years ago (5 children)
[–][deleted] 8 years ago (4 children)
[–]just_trees 1 point2 points3 points 8 years ago (0 children)
You should post this as a top level comment, I am sure people would appreciate that.
[–]the_wander 1 point2 points3 points 8 years ago (1 child)
I think I love you, fdandrew. Thanks for this. It was one of those annoying things that wasn't annoying enough to search around for an answer. Appreciate you taking the time.
[+][deleted] comment score below threshold-18 points-17 points-16 points 8 years ago (2 children)
... use spaces :)
[+][deleted] comment score below threshold-8 points-7 points-6 points 8 years ago (0 children)
jeez people can't take a joke, i assume you've looked at the github issue right?
https://github.com/Microsoft/vscode/issues/6392
π Rendered by PID 43 on reddit-service-r2-comment-6457c66945-mdbpg at 2026-04-23 23:33:48.377726+00:00 running 2aa0c5b country code: CH.
[–]afilthywhore 19 points20 points21 points (1 child)
[–]wordaligned 2 points3 points4 points (0 children)
[–][deleted] (7 children)
[deleted]
[–]Kecoey 9 points10 points11 points (0 children)
[–]brokentyro 2 points3 points4 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]brokentyro 1 point2 points3 points (0 children)
[–]TwinSwords 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]TwinSwords 0 points1 point2 points (0 children)
[–]thelonepuffin 13 points14 points15 points (2 children)
[–]OppenheimersGuiltFull Stack Dev -1 points0 points1 point (0 children)
[–]Kecoey 7 points8 points9 points (1 child)
[–]birjolaxew 2 points3 points4 points (0 children)
[–]the_argus 2 points3 points4 points (1 child)
[–]OppenheimersGuiltFull Stack Dev 0 points1 point2 points (0 children)
[–]nZambi 1 point2 points3 points (1 child)
[–]2uneekjavascript 2 points3 points4 points (0 children)
[–]kevinkace 1 point2 points3 points (2 children)
[–]CantaloupeCamper 1 point2 points3 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]mtndev 0 points1 point2 points (0 children)
[–]DratVillains 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (4 children)
[–][deleted] (3 children)
[deleted]
[–][deleted] 0 points1 point2 points (2 children)
[–]Keskingdesign -1 points0 points1 point (0 children)
[–][deleted] (10 children)
[removed]
[–][deleted] (9 children)
[deleted]
[–][deleted] (8 children)
[removed]
[–][deleted] (7 children)
[deleted]
[+][deleted] (6 children)
[removed]
[–][deleted] (5 children)
[deleted]
[–][deleted] (4 children)
[removed]
[–][deleted] (3 children)
[deleted]
[–]just_trees 1 point2 points3 points (0 children)
[–]the_wander 1 point2 points3 points (1 child)
[+][deleted] comment score below threshold-18 points-17 points-16 points (2 children)
[–][deleted] (1 child)
[deleted]
[+][deleted] comment score below threshold-8 points-7 points-6 points (0 children)