I find myself typing a lot of redundant comments, especially for new visitors to the site.
I know we have comment shorthand links for common help articles, but I am suggesting a way in which I could type a quick moniker - and it auto-expand to something with more text and perhaps a link as well.
Here's a sample list of things I find myself typing often:
Welcome to Stack Overflow.
Please share your actual code, within a code block, in your question.
Do not post pictures or screenshots of your code, paste the source code out directly within a code block.
This sounds like an XY Problem. What are you really trying to do?
If you found this answer helpful, don't forget to upvote and/or accept it.
I updated my answer.
Not a programming question. Belongs on Super User.
Not a programming question. Belongs on Server Fault.
It would be nice to just type shorthand into the comment block, [welcome]
or [xyproblem]
and it auto expand to one of the comments above.
Hey Newbie, this guy basically just did your CS 101 homework for you. Please give him due credit
. I don't think I'm asking for too much. Tag could be[showmethemoney]
splice
s the desired index when removing elements from an array (useArray.prototype.filter
instead). These are all pretty straightforward X/Y problems - I think that ignoring the possibility that the (much more elegant) Y solution is applicable is doing a disservice to future readers.