Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Lag when formatting a file via VS Code (Windows 10 WSL) #221

Open
guico33 opened this issue Jun 6, 2018 · 0 comments
Open

Lag when formatting a file via VS Code (Windows 10 WSL) #221

guico33 opened this issue Jun 6, 2018 · 0 comments

Comments

@guico33
Copy link

guico33 commented Jun 6, 2018

Hi,

The environment has been set up following the instruction at reasonml/reasonml.github.io#195. Everything else seems to be working fine.

Formatting .re files via VS Code (either on save or via the Format Document command) takes significantly longer than it should (around 3 seconds in my case).
refmt --in-place from the command line is normally fast.

A consequence of this is when 'formatting on save' is enabled, saving is delayed as well.

The same problem happens on a fresh project.
Only reason files are affected, formatting a .js file for example would be near instant as usual.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants
@guico33 and others