liamcain / AutoFileName

Sublime Text plugin that autocompletes filenames
515 stars 78 forks source link

Disable AutoFileName in ALL regex literals #32

Closed Ivanca closed 11 years ago

Ivanca commented 11 years ago

Also a bug was fixed because the logic for this was in the wrong place; triggering auto-complete after any "/" even when it wasn't needed.

I think any filename detection attempt in regex literals (php, js, etc) shouldn't be optional because the plugin blocks the computer and throws an OSError if any of those is being edited/written.

Ivanca commented 11 years ago

Sorry, this breaks a lot of stuff; will make another PR when I figure it out.