Questions tagged [autocommenting]
12 questions
10
votes
4 answers
How do I customize the auto commenting text in Visual Studio?
When I type the trigger the auto comment feature in Visual Studio (by typing "'''" or "///"), most of the XML commenting details show up that I like. However, I typically add the history tag to the documentation so I can track and changes that are…

Dillie-O
- 29,277
- 14
- 101
- 140
5
votes
1 answer
Is there a keyboard shortcut in Insert mode to tell vim that I don't want to be inside a comment any more?
When I write // comments in Java, and press Enter, vim helpfully adds a // to the beginning of the next line.
// This is the first line of my comment
// <-- these were added automatically by auto-comment.
As I say, this is helpful behaviour…

John Gowers
- 2,646
- 2
- 24
- 37
2
votes
1 answer
Why isn't Eclipse CDT adding a comment after closing namespace braces?
I'm using Eclipse CDT Mars.1 (4.5.1) to write some C++ code.
When I type in namespace foo {, Eclipse completes this with the closing namespace brace, two lines below. Now, I also want a comment on that closing brace, i.e.
namespace foo {
} /*…

einpoklum
- 118,144
- 57
- 340
- 684
2
votes
5 answers
Commenting div closing automation
I'm looking for a solution to a rats nest of code I was handed - it's massive in volume, so I'm looking for suggestions to a programmatic approach to commenting what div closes where.
Example:
BEFORE
…

sauldraws
- 23
- 2
1
vote
0 answers
Kotlin/IDEA: How to turn off comment autocompletion when using typealias?
Say I have a typealias
package server.user
typealias UserId = Int
Then I want to write a function in another package
package client.game
fun getUser(userId: UserId): User
When I get to
fun getUser(us
It autosuggests userId: UserId, and if I…

hallundbæk
- 517
- 5
- 10
1
vote
1 answer
In VS Code, is there a way to automatically add an ending comment when a block of code is closed with a closing bracket (})?
Say I have a simple block of code:
if(a===b){
console.log('yay');
}
Is there a way in VSCode to have an automatic comment added to the closing bracket like so:
if(a===b){
console.log('yay');
} // close-if-block
I have seen this behavior in…

sidx64
- 426
- 4
- 10
1
vote
1 answer
C++ Auto Comment Block Tools
Are there any tools (command line or otherwise) that will allow me to define a function comment header of my choosing (not an XML comment) and mass insert into a number of files?
I have some old code that I'm porting that contains virtually no…

SparkyNZ
- 6,266
- 7
- 39
- 80
0
votes
1 answer
C# Comment Template
Would anyone happen to know if you can make a custom template for comments in c#? I use a modification of the RME style of commenting instead of the section. Unfortunately, I don't have a ghost doc pro subscription.
I would like it to work just…

user3204416
- 97
- 7
0
votes
2 answers
"@something" words in comments?
What for are these "@word" in comments?
I've seen those in JavaScript and some other languages. Is there some standards with this or is it specially for something specific tool? Can someone open this more advanced commenting process if there is…

Sakari Niittymaa
- 403
- 1
- 3
- 12
0
votes
1 answer
How to Insert Current Date or a Specific comment assigned to any shortcut key in visual studio
How to Insert Current Date or a Specific comment assigned to any shortcut key in visual studio e.g :
I Write PD and Press Tab then it will write
// Created By Danyal on 6/17/2015(Current Date)
Note : I want it in Visual Studio 2012
I have tried…

Danyal Manzoor
- 11
- 7
0
votes
0 answers
Automatically add revision number to git in comments on github
Possible Duplicate:
Is it possible to add a version number using git / github
I host a git repository on github.
Is it possible to add the revision to the comments at the start of my script, so every time I commit a new version, this number is…

rubo77
- 19,527
- 31
- 134
- 226
-5
votes
1 answer
Auto-Comment for Facebook Group Post
I've posted a pre-launch announcement for a new product in an active group and I got 2500+ comments from people who want to get the product. I want to respond to each single comment with the details when I will launch it into the market. If there…

Mahmoud
- 1
- 1
- 6