Adds a context menu (right click, long press, command click, etc) to comment boxes on Stack Exchange with customizable pre-written responses.
If you are tired of typing the same comments into Stack Exchange sites over and over, you can use this add-on to insert any of your frequently written comments with a couple clicks.
Trigger a context menu on the field where you write a comment by right-clicking, long-pressing, or command-clicking (depending on your operating system.) A menu will pop up with a list of comments that can be inserted. Click one of them to insert it, or use the "Edit" button to change the comment templates.
The following variables are expanded by this code within comments:
$SITENAME
: The name of the current Stack Exchange site, eg "Stack Overflow"$SITEURL
: The domain name of the current Stack Exchange site, eg stackoverflow.com
. You usually don't need this variable, you can use links like [editing help](/editing-help)
to link to URLs found on every StackExchange site.$MYUSERID
: Your user id$MYNAME
: Your user name (without spaces for @references)$QUESTIONID
: The ID of the question at the top of the page$OPID
: The user ID of the person who asked the question$OPNAME
: The user name of the person who asked the question (without spaces for @references)$OPREP
: The reputation of the person who asked the question$POSTID
: The ID of the question or answer for which a comment is being written$AUTHORID
: The user ID of the author of the question or answer for which a comment is being written$AUTHORNAME
: The user name of the author of the question or answer for which a comment is being written (without spaces for @references)$AUTHORREP
: The reputation of the author of the question or answer for which a comment is being writtenIn addition, Stack Exchange expands links such as [meta]
, [edit]
, and [help]
. See the documentation for the full list and explanations.
I authored this project because SE-AutoReviewComments isn't currently maintained and is no longer fully functional. I wanted migration from it to be as painless as possible.
There are several features of SE-AutoReviewComments that are not implemented here:
If you want to suggest changes or report bugs please do so in the Github repository for this project.