hpoul / string_literal_finder

Finding non translated string literals in .dart code files.
10 stars 4 forks source link

add NON-NLS fix wrong line #3

Open fnicastri opened 1 year ago

fnicastri commented 1 year ago

When select Add // NON-NLS fix in Android Studio often the comment is added to the wrong line image

hpoul commented 1 year ago

Yes, unfortunately the insertion fix is pretty dumb right now.. It just looks for a semicolon in the current line, and if it can't find one it looks for the previous one..

fnicastri commented 1 year ago

what about change it like the other // ignore: this the analyzer use just at the previous line?

fnicastri commented 1 year ago

@hpoul I would like to try to modify it but I need some directions on how to use the local copy, possibly on one of my projects.

fnicastri commented 1 year ago

@hpoul are you interested?