A user or third-party provided message, generally short, often for the purpose of documenting software or expressing opinions
Questions tagged [comments]
118 questions
98
votes
5 answers
How to comment out multiple lines at once in Notepad++?
In Eclipse it is possible to comment out multiple lines at once by selecting them and executing CTRL + /:
// helloworld
Is this possible in Notepad++ as well instead of typing /+/ in front of each individual line?
030
- 2,808
- 9
- 29
- 40
49
votes
3 answers
Comments in a multi-line bash command
This single-command BASH script file is difficult to understand, so I want to write a comment for each of the actions:
echo 'foo' \
| sed 's/d/a/' \
| sed 's/e/b/' \
| sed 's/f/c/' \
> myfile
(sed is just an example, actually it is a mix of…
Nicolas Raoul
- 11,561
36
votes
4 answers
Why does this batch file fail on a "REM" line?
I refer to question Add text to end of filename (but before extension) using batch file as I have the same problem. Using Windows 7 32-bit Enterprise (I know, I know ...) with all updates I wrote a tiny batch file pdfrename.bat with only three…
gkln
- 363
- 1
- 3
- 7
24
votes
4 answers
How do I uncomment lines in an XML file using Notepad++
I can comment lines easily enough with Ctrl+Shift+Q.
How do I uncomment the lines? Ctrl+Shift+K doesn't do it.
AngryHacker
- 19,327
18
votes
5 answers
Make Okular notes visible in acrobat
I just finished proofreading 100 pages of a book in Okular on Mint 13 with KDE and submitted it to the editor. Naturally, none of the comments show up on the editors machine when he opens it. He has the latest version of Acrobat running on Windows…
Yitzchak
- 4,474
- 7
- 28
- 44
15
votes
1 answer
syntax for comments in github's README.md?
A GitHub repo is described in a text file README.md, in Daring Fireball's Markdown format. Does that language support comments, either as a feature or a quick hack? I'd like to have some text that is visible when editing the file, but invisible in…
Camille Goudeseune
- 2,721
12
votes
3 answers
How to change the default comment character in Visual Studio Code?
While writing a comment in .ini files, VS Code gives me the comment ; when what I need is a #. Is there a setting somewhere where I can replace that character?
This is similar issue but not a duplicate of the following post, as I am not editing…
user2558717
- 121
9
votes
3 answers
How to export comments from a PDF file?
My supervisor usually requests me to deliver some kind of written reports. I write them in LaTeX, deliver them as PDF, and get them back with lots of comments. She uses Acrobat Professional to create the comments.
I would like to extract a list of…
rumtscho
- 4,084
9
votes
3 answers
Vim: auto-comment in new line
Vim automatically inserts a comment when I start a new line from a commented out line, because I have set formatoptions=tcroql. For example (cursor is *):
// this is a comment*
and after hitting (insert mode) or o (normal mode) i am left…
Patrick Oscity
- 1,829
- 1
- 16
- 19
9
votes
1 answer
Can I create comments inside djvu files?
I sometimes use pdfxchange for windows when I want to study pdf files, as I am able to comment, draw stuff, highlight, etc.
Is there any software that could do that (for either Windows or Linux) for djvu files in a simple, straightforward way (as…
geo909
- 436
8
votes
1 answer
How can I add a comment in the script in Automator in OS X?
How can I add a comment in the script in Automator in OS X? I've tried many variants but they don't work.
Dmitry
- 938
- 2
- 9
- 14
8
votes
2 answers
Why can't I paste into youtube comments on firefox
I don't know when this happened, but today I noticed that I cannot paste text into Youtube comments on Firefox 40.0.3. It still works just fine on Chrome. I tried to use an addon to copy plain text only, but that didn't help, nor have I ever needed…
1N07
- 432
8
votes
4 answers
How does one use yt-dlp to download *only* the comments to a YouTube video, without the actual video?
After searching for such a thing for a long time, I've just discovered that yt-dlp, which I already have installed and use daily to download YouTube (and other) videos, supports fetching the user comments and saving them as a JSON file.
But,…
J. Buranen
- 81
8
votes
2 answers
Stop Visual Studio text editor from auto moving comment lines
Is there a way to stop Visual Studio text editor (2015 or 2017) from auto moving the comment lines when pressing Ctrl+K,D or relevant key stroke (Ctrl+E,D - format entire document) ?
I would like my comments to stay at the position placed,…
john_m
- 181
5
votes
2 answers
vim - how to treat three quotations in a row as a comment rather than a string
I use python and in python, three quotation marks in a row
"""
or
'''
signify a block-comment, and a normal comment is just a hashtag. (#)
I want comments to be colored grey and strings to be colored orange. I am using the colorscheme murphy. I…
user216485
- 295