- AuthorPosts
- November 7, 2006 at 3:09 am #3977rozenbomMember
Hello. I am interesting if there will be support of real snippets (like in TextMate or Emacs)..
Current snippets plugin is a little useless, I just could use then by setting different hotkeys for each snippet.
But AFAIK, snippet is ,when I typing short abbreviation, pressing Ctrl+Space (or smth. else), and get my abbreviation converted to some code.
Here some examples for Ruby on Rails:
ase => assert_equal(expected, actual)
asn => assert_nil(instance)
asm => assert_match(/expected_pattern/, actual_string)
It would be very cool, if there will be support for such snippets in EmEditor.November 7, 2006 at 5:17 am #3979Yutaka EmuraKeymasterHave you tried some auto-complete macros or plug-ins? Some are available in this web site – Library.
November 10, 2006 at 4:33 am #3986kinghooMemberIf I input codes below:
int abc;
aThen press ctrl+space,the editor will complete abc.
How can I perform it in Emeditor?November 10, 2006 at 4:38 am #3987Yutaka EmuraKeymasterYou might want to try Auto complete macro using similar word in document, which does exactly what you would expect. You can customize the keyboard so CTRL + Space will run this macro.
November 10, 2006 at 11:02 am #3990kinghooMemberThank you.Let me try it out.
November 16, 2006 at 9:21 am #4011rozenbomMemberThis is nice macros, but it’s not the thing, I need.
I am talking about list of predefined snippets, which I could use by typing abbreviation and pressing Ctrl+SpaceNovember 16, 2006 at 7:21 pm #4012Yutaka EmuraKeymasterIn that case, you might want to try Auto Complete plug-in.
November 20, 2006 at 1:49 am #4020rozenbomMemberYes, thanks. It looks good.
Could you help with finding .eac files for this plugin for Ruby and Rails?November 21, 2006 at 5:32 am #4024Yutaka EmuraKeymasterI have not seen .eac files for Ruby and Rails before. You can define those by yourself by copying other files.
- AuthorPosts
- You must be logged in to reply to this topic.