14.05.2014, 14:03
I've decided to try making live auto-completion by scanning files, include files, and more. I started on the source scanner*. I'd appreciate some help, especially writing those tricky corner test cases (see the test folder)!
I was thinking something like this:
Create a .pawnrc (a better name, though) file in the project directory, specifying the main file(s) and include directory (if include dir omitted, use a global config).
Scan the main file(s) for all inclusions, and scan the inclusions.
Generate & update the auto-complete information for Atom every time a file is saved (cache most files, obviously).
* Warning: RegExp
I was thinking something like this:
Create a .pawnrc (a better name, though) file in the project directory, specifying the main file(s) and include directory (if include dir omitted, use a global config).
Scan the main file(s) for all inclusions, and scan the inclusions.
Generate & update the auto-complete information for Atom every time a file is saved (cache most files, obviously).
* Warning: RegExp

