- November 7, 2006 at 3:09 am #3977
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 #3979
Have you tried some auto-complete macros or plug-ins? Some are available in this web site – Library.November 10, 2006 at 4:33 am #3986kinghooMember
If I input codes below:
Then press ctrl+space,the editor will complete abc.
How can I perform it in Emeditor?November 10, 2006 at 4:38 am #3987
You 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 #3990kinghooMember
Thank you.Let me try it out.November 16, 2006 at 9:21 am #4011
This 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 #4012November 20, 2006 at 1:49 am #4020
Yes, 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 #4024
I have not seen .eac files for Ruby and Rails before. You can define those by yourself by copying other files.
- You must be logged in to reply to this topic.