P is for Practical | |
PerlMonks |
Re^7: Small Perl 6 discoveries IV, hash access (snippets)by LanX (Saint) |
on Oct 09, 2017 at 14:01 UTC ( [id://1200993]=note: print w/replies, xml ) | Need Help?? |
> I'm still not sure what a "snippet" is, basically the combination of an interactive code template and an abbreviation plus trigger. Sets are activated according to context. (Like Perl mode) Here a demo for emacs http://youtube.com/watch?v=MayeP8Akwas > I should invent my own unicode mapping Most editors support the snippet model originating from TextMate, including converters. IIRC does Perl 6 allow alternative none unicode versions of it's operators. Like >> for » Consequently "inventing" a generic and agnostic solution shouldn't be difficult, like typing <<+TAB or oo+BAR (for infinity)
Cheers Rolf
In Section
Meditations
|
|