Closed cblp closed 8 years ago
I want to implement this myself. How can I test your package?
Hi, thanks for the report. Unfortunately there are no ways to automatically test it currently, I just did it manually (running it from vscode, opening a haskell project..).
If you don't want to bother with it I'll probably have time to do it in the next few days.
I just noticed some files in test
directory and tried npm test
without result.
Ok, thank you.
How can I help?
thanks!
I'll upload the new version soon
On Tue, Aug 16, 2016, 07:58 Yuriy Syrovetskiy notifications@github.com wrote:
thanks!
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/vigoo/stylish-haskell-vscode/issues/6#issuecomment-240009620, or mute the thread https://github.com/notifications/unsubscribe-auth/ACL7CTaGp0Si7QwgKkQD4A4IEvXI3PAvks5qgVGWgaJpZM4JfIoe .
stylish
reads its configuration from the current directory (or higher), so you must run it with proper working directory.Running from project directory may be right solution if Code were supported multiple project windows. But currently it doesn't, and many people open a projects directory that is higher than any project directory.
So the only solution I see is to run
stylish
from the file's own directory.Currently
stylish
is run from nowhere, so it is unable to use project config. I consider it a bug.