Author Topic: Comment a block of code in script editor  (Read 3088 times)

bilon

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
    • View Profile
Comment a block of code in script editor
« on: March 28, 2020, 03:09:36 am »
Is it possible? I can't see any command or shortcut.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13402
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Comment a block of code in script editor
« Reply #1 on: March 28, 2020, 03:28:36 am »
Ctrl-Shift-C

Geert

bilon

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
    • View Profile
Re: Comment a block of code in script editor
« Reply #2 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?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13402
  • Karma: +566/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Comment a block of code in script editor
« Reply #3 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