Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [comments]

Questions handling comments using the API. Or, posts of Scripts / Apps / Libraries that facilitate dealing with comments on Stack Exchange sites.

426
votes
56answers
19k views

AutoReviewComments - Pro-forma comments for SE

No more re-typing the same comments over and over! This script adds a little 'auto' link next to all comments boxes. When you click the link, you see a popup with 6 configurable auto-comments (canned ...
55
votes
3answers
2k views

SE Modifications — Username autocomplete in comments, inline revision source, and utility links

Screenshot About This userscript adds four main features: Various utility links on posts and in the top bar Inline viewing of post revision source Markdown on the post history page Links on comment ...
29
votes
1answer
806 views

Disable enter for submitting comments

About This user script disables the default behavior of the enter key submitting a comment. With this script installed, you must explicitly click the Add Comment button to submit your comment. ...
39
votes
0answers
2k views

Heat Detector - analysing comments to find heat

General Heat detector is a StackApp whose goal is to catch offensive, rude, snarky comments, and comments that leads to abusive content (offensive, spam posts, or previous offensive comments). It is ...
94
votes
6answers
3k views

“Reply” links on comments

Screenshot About This user script adds a little "reply" link to each comment. Clicking this link will fetch the rest of the comments, if some of them were hidden show the "add comment" text box pre-...
65
votes
5answers
1k views

SE Comment Link Helper

About This userscript automatically converts raw Stack Exchange question URLs into the form [title](link) before submitting comments by grabbing their titles from the API. This is similar to ...
10
votes
0answers
123 views

The field body_markdown is not returned for comments

Using the method questions-by-ids to get the comments on a particular question, I do not get body_markdown returned despite it being selected in the filter. Here is the test query to reproduce the ...
81
votes
2answers
2k views

Threaded comments

History June 6, 2012: Fixed an issue that can cause major problems with chat. December 17, 2013: Fix an incompatibility with the Winter Bash code. Screenshot Before: After: About Instead of ...
25
votes
1answer
497 views

Add keyboard shortcuts to comments

Question code is obsolete. But the answer code and the code linked in the comments still work. About This script adds Ctrl+B (bold), Ctrl+I (italic), Ctrl+K (code), and Ctrl+L (link) shortcuts to ...
19
votes
6answers
579 views

Self-destructing comments

I've made a userscript that allows you to self-destruct comments that you've made. You can get it at Github. Get started install Tampermonkey, or Greasemonkey get an access token install the script ...
10
votes
0answers
243 views

Auto-Add A Comment When Closing

About Automatically adds a comment when closing a question, with the text taken directly from the close reason you chose, so that the OP can see why their question may be being downvoted, and improve ...
6
votes
1answer
114 views

QuickComment: comment shortcuts to cut down on tedium

QuickComment quick SE comments for quick SE people Description Tired of typing the same thing over and over again? Now, with QuickComment, you can type ";;linkonly" (for example) and have it expand ...
6
votes
0answers
113 views

QuickComment2: Automatic keyboard-only comment snippets

This is a vastly improved version of QuickComment: comment shortcuts to cut down on tedium. See that post for more information. See the Github repo for instructions on how to install and use ...
2
votes
1answer
94 views

Bulk flag comments

About I often go through my previous questions on SO/SE and find a lot of them have long resolved discussions. Ideally, I should raise a post flag and say "all comments below are obsolete; please ...
7
votes
1answer
103 views

Why is comment_count=1 (incorrectly) when this particular filter is used?

We're seeing that, when a particular filter we've created is used, the API will return "comment_count": 1 for questions with no comments. For a search for questions with no answers, ordered by ...
4
votes
0answers
71 views

Filter doesn't consistently return comment bodies

I've been trying to set up a filter I can use with /questions/{id}/answers/ (using the UI at this link), which returns the following fields: answer: answer_id body_markdown comments ...
3
votes
0answers
43 views

Regional 12-hour timestamps

This script is a modification of Kip's "Display absolute timestamps (in local time)"; I have his permission to post this. Most of the credit for the script goes to him. About This script displays ...
1
vote
1answer
42 views

fromdate is ignored for /posts/{id}/comments requests

The api docs: http://api.stackoverflow.com/1.0/help/method?method=posts/{id}/comments The test request. You can see comment itself here, it's four months old, while cutoff date in request is less ...