3 ms·
Can you not do most context sensitive stuff by running regexes on current and neighboring lines? That all sounds terrific, and if you get to implement these id
by goldfeld 14y ago
Can you not do most context sensitive stuff by running regexes on current and neighboring lines?
That all sounds terrific, and if you get to implement these ideas on top of web technologies (or anywhere else would still be half as good) I'd love to hear about and possibly contribute. Do you have a blog or twitter or app.net I can follow?
- grayrest 14y agoYou can get pretty far with regexes but you run into non hygenic macro problems. I use UltiSnips with regex snippets and python replacements and have gotten interesting stuff out of it like the JSON key quoting. The problem is that I have to remember to expand the snippet. It's the difference between having the always right indentation settings versus having the 90% right indentation settings. It doesn't seem like a lot of effort but results in a significant drop of cognitive load for me. I'm on twitter and use the same username everywhere.