Plugin for commenting (Ctrl-/, Ctrl-Shift-/) in custom files (e.g. properties, rb, cs, bat, sh, pl, py, cpp, vm, sql).
Downloads, Bugs, RFEs:
http://sourceforge.net/projects/tz-ip/
- Copy the jar file (e.g. Comment.jar) to the plugins directory ($IDEA_HOME/plugins).
- Restart IDEA.
http://www.intellij.net/tracker/idea/viewSCR?publicId=4510 ("Ctrl-/, Ctrl-Shift-/ should work for custom file types")
http://www.intellij.net/tracker/idea/viewSCR?publicId=10530 ("Comment/Uncomment should work with user defined file types")
http://www.intellij.net/tracker/idea/viewSCR?publicId=13142 ("Comment/uncomment action for HTML does not work")
http://www.intellij.net/forums/thread.jsp?forum=3&thread=4270&message=139865 ("Comments and custom files")
http://www.intellij.net/forums/thread.jsp?forum=5&thread=5488&message=204685 ("comment/uncomment feature in html")
http://www.intellij.net/tracker/idea/viewSCR?publicId=11586 ("Open API. Access to comment properties for custom file types.")
Comments for the following extensions:
extension line comment block comment
bat "rem "
c /* */
cpp "//" /* */
cs "//" /* */
css /* */
ddl "--" /* */
g (antlr grammar) "//" /* */
html <!-- -->
idl "//" /* */
js "//" /* */
pas "//" { }
pl "#"
properties "#"
py "#"
rb "#"
sh "#"
sql "--" /* */
vm "##" #* *#
(see Comment/src/main/org/tzambalayev/ideaplugins/comment/CommentTypeMap.java)
Note that you don't have to register custom file types.
- Specify the location of $idea.home in build.properties.
- ant clean main.
- RFE [ 757301 ] Comments for SQL (sql, ddl).
- RFE [ 756546 ] IDEA Filetypes / additions to CommentPlugin types (Velocity files - .vm).
- RFE [ 751169 ] Comments for Ruby (.rb) - line comment (#).
- Bug [ 735043 ] Not ignoring an empty line in a multi-line block comment.
- RFE [ 735032 ] Line comments in html, css, c (like in xml).
- Block comments (c, cpp, cs, css, g, html, idl, js, pas).
- Added line comments for pas.
- Added line comments for js and idl.
- Line comments (bat, cpp, cs, g, pl, properties, py, sh).
-- TimurZambalayev - Apr 19, 2003
| IntelliJPluginWebForm |
| IntelliJPluginName: | CommentPlugin |
| IntelliJPluginVersion: | 0.3.3 |
| IntelliJPluginVendor: | TimurZambalayev |
| IntelliJPluginBinary: | http://sourceforge.net/projects/tz-ip/ |
| IntelliJPluginSource: | http://sourceforge.net/projects/tz-ip/ |
| IntelliJPluginClassification: | CodeHelper? |
| TopicClassification: | IntelliJPluginPackage |
| TopicShortDescription: | Plugin for commenting (Ctrl-/, Ctrl-Shift-/) in custom files (e.g. properties, rb, cs, bat, sh, pl, py, cpp, vm, sql). |
| TestedOnOS: | OsWin2K |
| ShouldRunOnOS: | AnyOS |
|
|