octref / polacode

📸 Polaroid for your code
https://marketplace.visualstudio.com/items?itemName=pnp.polacode
6.81k stars 184 forks source link

Does not works on VSCode 1.47.0 and later (Windows) #143

Open MrRefactoring opened 4 years ago

MrRefactoring commented 4 years ago

Does not works on VSCode 1.47.0 and later on Windows

Works correctly on MacOS

utsavsingh899 commented 4 years ago

I'm having the same issue, please look into this matter ASAP, thanks

ViniciusALS commented 4 years ago

I believe I am having the same issue. I am on VSCode Version 1.47.1

Something is wrong with the character encoding. code1 code2 code3

sajadko commented 4 years ago

same issue on 1.47.1

WeirdBeardDev commented 4 years ago

same issue on 1.47.2

djD-REK commented 4 years ago

As far as anyone can tell, this is not a maintained repo. Consider https://github.com/kufii/CodeSnap

WeirdBeardDev commented 4 years ago

@djD-REK thanks for tip, CodeSnap is a good replacement.

MrRefactoring commented 4 years ago

I spent a couple of hours and figured out that everything works correctly on macOs. Then I opened this extension on Windows 10 and VSCode 1.47.2 in debugger mode and saw several errors that said that the path to the JavaScript files was incorrect. I took as a basis the path handling methods in this case from the vscode-azure-blockchain-ethereum repository and fixed this issue in #144

Tested on Windows 10 and macOs Catalina

As a workaround, you can use my hotfix extension: https://marketplace.visualstudio.com/items?itemName=mrrefactoring.polacode-fixed-edition

utsavsingh899 commented 4 years ago

Thanks @MrRefactoring It worked like a charm

thany commented 4 years ago

If this repo is not maintained, it should be removed from the extensions marketplace, to keep things clean and not-confusing especially for new/novice users.

sabarish98 commented 4 years ago

I also faced an issue with using it in Windows and @MrRefactoring 's fix works! Thanks man :)

olucheye commented 4 years ago

I had initially thought this issue was due to some settings I updated in my VSCode. Thank you for your fix, @MrRefactoring It works!

alabotski commented 3 years ago

@MrRefactoring Hi I tried your extension but have problems

LOG.error("Error encoding fileName={}", fileName, ex);

code

MrRefactoring commented 3 years ago

Not reproduced

code

alabotski commented 3 years ago

@MrRefactoring I try this on Mac

MrRefactoring commented 3 years ago

@MrRefactoring I try this on Mac

Same