qjebbs/vscode-markdown-extended

Very Long Directory Path on Windows -> Problem with User Profile Sync

pixeldoc2000 opened this issue · 1 comments

I have Trouble to sync my Windows (roaming) User Profile while the Extension is installed:

File Copy error:

From:
\\?\C:\Users\xxxxxxxxxx\.vscode\extensions\jebbs.markdown-extended-1.1.0\node_modules\puppeteer\.local-chromium\mac-686378\chrome-mac\Chromium.app\Contents\Frameworks\Chromium Framework.framework\Versions\78.0.3882.0\Helpers\Chromium Helper (Renderer).app\Contents\MacOS
= 270 Chars

To:
\\?\UNC\xxx.xxxxxxxxx.de$NOCSC$\xxxxx\Profile\xxxxxxxxxx.V6\.vscode\extensions\jebbs.markdown-extended-1.1.0\node_modules\puppeteer\.local-chromium\mac-686378\chrome-mac\Chromium.app\Contents\Frameworks\Chromium Framework.framework\Versions\78.0.3882.0\Helpers\Chromium Helper (Renderer).app\Contents\MacOS
= 308 Chars

AFAIK Limits on Windows are:
Path limit is 248 characters.
Path+Filename limit is 260 characters.

Maybe it is possible to cut some "empty" folders like ".local-chromium\mac-686378\chrome-mac\Chromium.app\Contents" ?

From my point of view the complete .local-chromium folder should be omitted in the installation file, at least the bundled version is pretty useless on Windows and Linux.
And it will also reduce the size of the bundle by round about 95%.

Update:
I've double checked, unfortunately puppeteer needs this .local-chromium for PDF export, and the bundled version works very well on my Linux.

@pixeldoc2000 that's more an issue of puppeteer instead of vscode-markdown-extended