polacode icon indicating copy to clipboard operation
polacode copied to clipboard

Does not works on VSCode 1.47.0 and later (Windows)

Open MrRefactoring opened this issue 4 years ago • 15 comments

Does not works on VSCode 1.47.0 and later on Windows

Works correctly on MacOS

MrRefactoring avatar Jul 10 '20 06:07 MrRefactoring

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

utsavsingh899 avatar Jul 11 '20 12:07 utsavsingh899

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

ViniciusALS avatar Jul 15 '20 19:07 ViniciusALS

same issue on 1.47.1

sajadko avatar Jul 16 '20 10:07 sajadko

same issue on 1.47.2

WeirdBeardDev avatar Jul 17 '20 17:07 WeirdBeardDev

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

djD-REK avatar Jul 17 '20 17:07 djD-REK

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

WeirdBeardDev avatar Jul 19 '20 15:07 WeirdBeardDev

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

MrRefactoring avatar Jul 20 '20 21:07 MrRefactoring

Thanks @MrRefactoring It worked like a charm

utsavsingh899 avatar Jul 21 '20 09:07 utsavsingh899

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.

thany avatar Aug 26 '20 13:08 thany

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

sabarish98 avatar Sep 07 '20 07:09 sabarish98

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

olucheye avatar Sep 11 '20 13:09 olucheye

@MrRefactoring Hi I tried your extension but have problems

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

code

alabotski avatar Oct 07 '20 20:10 alabotski

Not reproduced

code

MrRefactoring avatar Oct 08 '20 10:10 MrRefactoring

@MrRefactoring I try this on Mac

alabotski avatar Oct 08 '20 12:10 alabotski

@MrRefactoring I try this on Mac

Same

MrRefactoring avatar Oct 09 '20 07:10 MrRefactoring