A user or third-party provided message, generally short, often for the purpose of documenting software or expressing opinions
Questions tagged [comments]
112 questions
86
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,588
- 8
- 26
- 40
44
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
- 10,711
- 18
- 64
- 102
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
- 3
- 7
23
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
- 18,217
- 67
- 156
- 209
17
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,424
- 6
- 26
- 44
14
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,297
- 4
- 32
- 41
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
- 3,944
- 10
- 47
- 67
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,769
- 1
- 15
- 19
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
- 402
- 1
- 5
- 12
8
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
- 418
- 2
- 5
- 11
8
votes
2 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
- 81
- 1
- 3
7
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
- 928
- 1
- 9
- 14
6
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
- 161
- 1
- 6
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
- 4
- 14
5
votes
1 answer
How can I automatically convert all comments in a word 2010 document to footnotes?
I started writing comments on some text in word 2010, and I wrote so many that they don't fit on the page. I want to convert them to footnotes so that they come out well in print. Is there any way to convert comments to footnotes without making…
Nathan Fellman
- 9,372
- 20
- 62
- 82