The plugin should search for newlines in the selection, and add "--" after each newline (this is a line comment in VHDL).I've saved the file as "CommentLines.py" in the "User" package, and it appears to compile fine:

The plugin does not show up in the Ctrl+t does not work. Neither does running view.runCommand('commentlines') in the console. My document is unchanged. I get no errors. Not helpful. If I try to run some non-existent command, view.runCommand('nonexists') I do not get any errors either. Not helpful.

Interesting that I define the function: CommentLinesCommandBut to call it, there is very particular case-sensitive rule?view.runCommand('CommentLines') -- doesn't workview.runCommand('commentLines') -- worksview.runCommand('commentlines') -- doesn't work

This is non-intuitive, and I did not see this information in the documentation. For the sake of others, I hope future releases will:1) Not be case sensitive with command names.2) Display an error message if runCommand is called on a command which could not be found.