Don't ask to ask, just ask | |
PerlMonks |
Re^3: When does programming become automatic (if ever)? (IDE snippets)by LanX (Saint) |
on Apr 13, 2016 at 22:16 UTC ( [id://1160355]=note: print w/replies, xml ) | Need Help?? |
> that's actually a good idea for extending snippets in my IDE (yasnippet/Emacs) ¹ for the records some trivial templates for yasnippet, which is derived from textmates standard and is similar to snippMate for vim. Not too far away from Abbrevations in Komodo.
please note that both versions of caller are expanded with the same keyword + TAB and you can chose from a dropdown between both versions. here the example for splice
since I can include code (elisp but also bash or Perl) I'd like to find a way to delete the commas of skipped arguments instead of creating 4 versions for drop down... but I'm still at the beginning. Vision: Ideally these snippets could be generated from POD-examples and show the documentation¹, I think DBI is a good candidate.
Cheers Rolf
PS: thanks to Tux for suggesting the return values for stat, (local)time, and caller (with or without args) ¹) probably best realized in combination with autocomplete-mode ... unfortunately emacs-wiki seems to be down at the moment...
In Section
Meditations
|
|