kufii / CodeSnap

📸 Take beautiful screenshots of your code in VS Code!
https://marketplace.visualstudio.com/items?itemName=adpyke.codesnap
538 stars 68 forks source link

[BUG] Doesn't function properly when % is followed immediately by two or more numbers #148

Open Jiawei1996 opened 9 months ago

Jiawei1996 commented 9 months ago

Language Mode is C++

When the selected code within the string statement contains a % followed immediately by two or more number characters, codesnap will be unable to export images normally.

e.g. "%" is good, "%1" is good, "%11" is bad.

pfui-bah-kiste commented 8 months ago

As mentioned in #140: The error occurs when there is at least one string of the form %00 - %ff, irrelevant of the casing, language mode or any other text adjacent to it.

Ruin-Guard commented 6 months ago

I met it too,it bothers me for 2 days