"custom scope" based on changed lines instead of whole files?

已回答

Within my plugin "Git Scope" I use an implementation of PackageSet to offer a search based on changed files.

This search is based on whole files. Is it possible to rewrite the "contains"-method so that you only look at the changed lines?

0

Hi Michael,

scopes are based on whole files so it's not expected that they would be used to check lines, elements, etc.

Anna

0

And what about filters? Is it possible to realize custom filters?

0

What filters do you mean?

0

They are hard coded as far as I can tell. Sorry

0

请先登录再写评论。