You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, it seems that on some cases symbol.name ends up as the entire source code line with whatever chars it has in it, and sometimes it breaks the regex.
I've replaced it locally with this which seems to work:
varstartChar=-1;try{startChar=line.text.search("\\b\\"+symbol.name+"\\b");//line.firstNonWhitespaceCharacterIndex;}catch(e){vari=0,c;while((c=line.text[i])&&(c==' '||c=='\t'))i++;startChar=c ? i : -1;}
but there are probably cleaner approaches for the fix.
The text was updated successfully, but these errors were encountered:
gitCodeLensProvider.ts
has the following line:However, it seems that on some cases
symbol.name
ends up as the entire source code line with whatever chars it has in it, and sometimes it breaks the regex.I've replaced it locally with this which seems to work:
but there are probably cleaner approaches for the fix.
The text was updated successfully, but these errors were encountered: