Open Dayjo opened 7 years ago
In fact, I have the problem too, it happens if your cursor is just at the beginning of your class name. If your cursor is in the word, there's no problem
e.g :
new [cursor]MyClass()
=> error
new M[cursor]yClass()
=> no error
@Peekmo Ah well spotted :) Let me know if you need me to test anything.
Atom: 1.18.0 x64 Electron: 1.3.15 OS: Mac OS X 10.11.6 Thrown From: atom-autocomplete-php package 0.25.6
Stack Trace
Uncaught SyntaxError: Invalid regular expression: /\[$/: Unterminated character class
Commands
Non-Core Packages