jeff-hykin / better-perl-syntax

💾 An improvement to the perl syntax for VS Code
MIT License
5 stars 3 forks source link

Support dereference interpolation #5

Open franklx opened 3 years ago

franklx commented 3 years ago

It could be interesting supporting the exotic (but very useful) string interpolation "chicanery" mentioned in PerlDoc; I use this a lot instead of cumbersome and messy string concatenation. The trick is even mentioned in the Perl Cookbook.

This is supported in editors like Vim:

Screenshot from 2020-12-23 00-32-03

At this time "better-perl-syntax" highlights variables and special chars only:

Screenshot from 2020-12-23 00-33-50

I took a quick look at your ruby based build system but I didn't found a way to enable this feature.