Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I just started using Komodo and I like it. I have the Smart Editing settings set to do quite a lot, and when I type a parenthesis or curly brace, it adds the second one, which is great. But in some cases I want to automatically get to the end of the line to add a semicolon without using the arrow keys or mouse. For example:

echo ($var);

So I type the echo and then '(' and Komodo adds the second ')' but then in order to add the semicolon, I need to right arrow to the end, and this seems clunky.

Is there a way to quickly add a semicolon after parentheses or curly braces in Komodo Edit?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

I ended up making a macro in JavaScript that adds a right command and a semicolon, and the hot key is ctrl + ; which is convenient... This obviously doesn't cover all the bases, as one could imagine a macro that would go to end of line and then add semicolon. I will see what I can do...

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.