octref/polacode

Does not works on VSCode 1.47.0 and later (Windows)

MrRefactoring opened this issue · 15 comments

Does not works on VSCode 1.47.0 and later on Windows

Works correctly on MacOS

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

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

same issue on 1.47.1

same issue on 1.47.2

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

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

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

Thanks @MrRefactoring It worked like a charm

thany commented

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.

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

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

@MrRefactoring Hi I tried your extension but have problems

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

code

Not reproduced

code

@MrRefactoring I try this on Mac

@MrRefactoring I try this on Mac

Same