vigoo / stylish-haskell-vscode

stylish-haskell support for VS code
14 stars 8 forks source link

Fix save loop issue #5 #8

Closed vavans closed 7 years ago

vavans commented 7 years ago

A small fix to the save loop observed on windows

btipling commented 7 years ago

I have checked out this fix and it seems to have fixed the problem. Nice job! I hope it ends up being merged.

btipling commented 7 years ago

For anyone else interested in picking up this fix until it's merged you can go into you user profile directory and install this extension directly using these steps:

First uninstall the existing stylish-haskell-vscode via the normal vs code uninstall extension command or by going to the extension in the installed extension list and clicking the uninstall button.

Install yarn (or you can use npm if you already have that).

cd ~\.vscode\extensions
git clone https://github.com/vavans/stylish-haskell-vscode.git
cd stylish-haskell-vscode
git checkout fix-saveloop
yarn vscode:prepublish

Reload vscode and you should have the fix.

If you're using npm you can use npm run vscode:prepublish if you're using cmd instead of bash or PowerShell you may need to type a different command to change into the extensions directory.