Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: bilon on March 28, 2020, 03:09:36 am

Title: Comment a block of code in script editor
Post by: bilon on March 28, 2020, 03:09:36 am
Is it possible? I can't see any command or shortcut.
Title: Re: Comment a block of code in script editor
Post by: Geert Bellekens on March 28, 2020, 03:28:36 am
Ctrl-Shift-C

Geert
Title: Re: Comment a block of code in script editor
Post by: bilon on March 28, 2020, 08:05:49 am
I use version 12 and it doesn't work. In the help for version 15 shortcuts I've found "Copy an element, multiple elements or a Package plus any underlying structure to the clipboard for duplication in a target Package" for Ctrl+Shift+C. Are you sure?
Title: Re: Comment a block of code in script editor
Post by: Geert Bellekens on March 28, 2020, 05:18:34 pm
This has always worked for me, also in v12.

Select a block of code, and then press Ctrl-Shift-C. It works as a toggle, comments or uncomments the block of code.

Geert