Как сделать автозаполнение Notepad ++ словом "конец" в Ruby?

642
Green

Можно ли установить Блокнот ++, который будет автоматически вставлен endпосле печати classинструкции:

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) 

И то же самое с defинструкцией слова:

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

Существуют ли другие редакторы, написанные на С, которые предлагают endавтозаполнение для Ruby?

2

1 ответ на вопрос

1
Albert Turri

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).

Похожие вопросы