Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore multi-line comments #9

Open
nguydavi opened this issue Jul 7, 2015 · 2 comments
Open

Ignore multi-line comments #9

nguydavi opened this issue Jul 7, 2015 · 2 comments

Comments

@nguydavi
Copy link
Contributor

nguydavi commented Jul 7, 2015

Currently, only single line comments are ignored while scanning the file .
If I find a nice way to solve this that'd be great !

After this, I don't know what else I could add to this plugin :p

@akhaku
Copy link
Owner

akhaku commented Jul 8, 2015

A multiline lookbehind lookahead combo could work. Give that lookahead/behind is really slow, it would be worth doing it only after finding a match after the class definition, to verify that the match isn't in an import.

@nguydavi
Copy link
Contributor Author

nguydavi commented Jul 8, 2015

True but I'll try to look for a solution not involving lookbehind/lookahead though. If I am not satisfied with what I find, I'll go with that solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants