Is it possible to set the Notepad++ that it would automaticly put end after I print class instruction:

class MyClass  // right after I print the first whitespace after 'class' instruction...
end  // ...NP++ automatically puts 'end' on the next line OR on the same line (let it be as an option)

And the same with def instruction word:

def method // a whitespace after 'def'...
end  // ...'end' immediatly appears on the next or on the same line

Are there any other written-in-C editors that offer end autocomplete for Ruby?


While I, for one, have not found anything in Notepad++, perhaps you might want to take a look at Eclipse with the Aptana plugin (I have verified that it adds the "end" for both classes and methods).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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