coala-bears icon indicating copy to clipboard operation
coala-bears copied to clipboard

Pygmented AnnotationBear

Open userzimmermann opened this issue 7 years ago • 5 comments

Instead of further complicating the AnnotationBear with https://github.com/coala/coala-bears/pull/1332 it should first be simplified by using Pygments lexers instead of custom parsing for extraction of comment and string ranges from source code

This is also related to https://github.com/coala/coala/issues/4775

userzimmermann avatar Oct 29 '17 11:10 userzimmermann

GitMate.io thinks the contributor most likely able to help you is @jayvdb.

gitmate-bot avatar Oct 29 '17 11:10 gitmate-bot

https://gist.github.com/userzimmermann/f43c4d1ae001ddc78bca5ce827bca8f1 shows my proof of concept for this

@aptrishu @Makman2 What do you think about it?

userzimmermann avatar Oct 29 '17 11:10 userzimmermann

That looks good, so in principle we use step-by-step pattern matching to assign to the parsed ast elements of pygments our SourceRange and other classes. I'm fine with that :)

Makman2 avatar Oct 29 '17 20:10 Makman2

This issue seems stale!

@userzimmermann please reassign yourself if you're still working on this.

(Powered by GitMate.io)

gitmate-bot avatar Mar 18 '18 12:03 gitmate-bot

This issue is reserved under the GSoC project Improve Generic Bear Quality.

bkhanale avatar May 11 '19 16:05 bkhanale