Is there a hotkey for multi-lines comment in Macro?

Hi, Matthias, when I write code in KLayout Macro, I find it is quite difficult to do multi-lines comment. For example in PyCharm, we can use Ctrl + / to realize this. Could you add this feature?

Comments

  • I think that's possible, but in Python, multi-line comments are simply made by putting the text in triple quotes, right? Is that much more difficult than having a shortcut.

    Frankly, I don't intend to compete with PyCharm. The IDE is a basic thing and you will never be happy with it, if you compare it against PyCharm. I'd rather like to leave it the way it is - a basic editor good for debugging and basic editing.

    Matthias

  • Ok, I agree with you. Maybe we should not compete with PyCharm. But I still think the shortcut will be a little bit easier to use. If this function is not hard for you, can you just spend some time to add this? After all, a tiny development for KLayout. :smile:

Sign In or Register to comment.