Closed Stevearzh closed 2 years ago
Hey @Stevearzh -- thanks for reporting this and also investigating.
I check the code, maybe we should use decodeURIComponent for fsPath here? https://github.com/lhl2617/VSLilyPond-PDF-preview/blob/master/src/extension/pdf-goto.ts#L86
Do you want to try this? :) There is a dev guide here.
Otherwise, I can have a look over the weekend.
@lhl2617 Thanks for the guide, I didn't notice it at the first time.
It takes me a while to configure the development environment on Windows, sorry for that...
And I met another problem when debugging the plugin
the pdf viewer is always in loading status, I'm not sure which step I did wrong
@Stevearzh can you try this without any changes off the main
branch?
I was able to fix this by adding decodeURIComponent
here (as suggested by @Stevearzh).
This should solve the issue for both directions.
Thanks so much @aron-hanowski !
@Stevearzh can you double check if the issue is resolved?
Yes it is resolved. Thank you guys! @aron-hanowski @lhl2617
First of all, I want to say thank you.
I'm a newbie for LilyPond, this VSLilyPond plugin really helps me a lot, it is awesome.
I met this problem when I try using VSLilyPond:
When Forward (Score to PDF), the error message is:
When Backward (PDF to Score), the error message is:
And it works as expect if I change the folder name from
LilyPond Sheet
to justLilyPond
.I check the code, maybe we should use
decodeURIComponent
forfsPath
here? https://github.com/lhl2617/VSLilyPond-PDF-preview/blob/master/src/extension/pdf-goto.ts#L86I'm not familiar with VSCode plugin development, please forgive me if I'm wrong.