DFreds / code-peek-atom

Atom package to peek functions in different files
MIT License
22 stars 10 forks source link

Update support files for es6 #3

Closed ymatuhin closed 8 years ago

DFreds commented 8 years ago

Thanks for this. I'm currently on vacation but I'll do the merge when I get back assuming everything is good.

DFreds commented 8 years ago

On further examination, the change below won't work as it will also match calls to the REPLACE function, not just the definition.

For instance, this isn't a function definition, but it will match: someFile.REPLACE();

matches function in class 'REPLACE('

    REPLACE \s\* \(

If you fix this, feel free to make a new pull request.