IntelliJ Community . CommentPlugin

 
CommentPlugin 

HOME INDEX SEARCH CHANGES GO  

Description.

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/

How to deploy.

  • Copy the jar file (e.g. Comment.jar) to the plugins directory ($IDEA_HOME/plugins).
  • Restart IDEA.

Relevant posts/requests:

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.")

Functionality.

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.

How to build

  1. Specify the location of $idea.home in build.properties.
  2. ant clean main.

History.

0.3.3 (#705, #823) - Jun 19, 2003

  • RFE [ 757301 ] Comments for SQL (sql, ddl).

0.3.2 (#705, #823) - Jun 18, 2003

  • RFE [ 756546 ] IDEA Filetypes / additions to CommentPlugin types (Velocity files - .vm).

0.3.1 (#705, #818) - Jun 09, 2003

  • RFE [ 751169 ] Comments for Ruby (.rb) - line comment (#).

0.3 (#701, #815) - May 19, 2003

  • Bug [ 735043 ] Not ignoring an empty line in a multi-line block comment.
  • RFE [ 735032 ] Line comments in html, css, c (like in xml).

0.2 (#701, #813) - Apr 23, 2003

  • Block comments (c, cpp, cs, css, g, html, idl, js, pas).
  • Added line comments for pas.

0.1.1 (#700, #811) - Apr 20, 2003

  • Added line comments for js and idl.

0.1 (#700, #811) - Apr 19, 2003

  • 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

e d i t a t t a c h r e f - b y d i f f s m o r e
Have ideas, requests, problems regarding this site? Send feedback.
Copyright © 2000-2003 by the contributing authors. All materials at intellij.org are the property of the contributing authors.