Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hlint flicker on Windows 10 #119

Closed
EdAllonby opened this issue Oct 13, 2018 · 1 comment
Closed

hlint flicker on Windows 10 #119

EdAllonby opened this issue Oct 13, 2018 · 1 comment

Comments

@EdAllonby
Copy link
Contributor

Hi,

First of all, thanks for this great extension. I saw your recent Haskell Exchange talk and it was great.

hlint seems to be working, but resetting in short succession.

Using Version 0.2.2.0, Git revision 77ff1fabd5fcbd325165c40b05a5c9831937a1ee (2011 commits) x86_64 ghc-8.4.3

Steps to reproduce:

  1. Windows 10 (Build 1803)
  2. Build HIE .\make-build-all.bat
  3. Create new project stack new --resolver=nightly-2018-09-28 test (uses GHC 8.4.3)
  4. Open in VS Code 1.28.1. No other extensions installed. No customised settings.

Are there any logs which could help with this? If so I'd be happy to include them.

hlintflicker

Looks similar to #59 and #81, but not sure if exactly the same

Logs update with the following when adding something to the file (which causes the hlint suggestion to flicker).

2018-10-13 19:09:36.3757881 [ThreadId 7] - requestDiagnostics: no diagFunc for:DiagnosticOnChange 2018-10-13 19:09:40.495774 [ThreadId 7] - requestDiagnostics: no diagFunc for:DiagnosticOnChange 2018-10-13 19:09:41.9162872 [ThreadId 7] - requestDiagnostics: no diagFunc for:DiagnosticOnChange 2018-10-13 19:10:48.5774743 [ThreadId 7] - requestDiagnostics: no diagFunc for:DiagnosticOnChange 2018-10-13 19:10:49.8520572 [ThreadId 7] - requestDiagnostics: no diagFunc for:DiagnosticOnChange 2018-10-13 19:10:50.833231 [ThreadId 7] - requestDiagnostics: no diagFunc for:DiagnosticOnChange 2018-10-13 19:10:51.977489 [ThreadId 7] - requestDiagnostics: no diagFunc for:DiagnosticOnChange

@EdAllonby
Copy link
Contributor Author

After investigating, I couldn't find anything in the extension that would be prematurely cancelling hlint events (in fact I couldn't find anything relating to hlint in the extension), so I presume HIE handles this directly. This seems to be an issue somewhere in HIE rather than the extension itself. Closing.

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

No branches or pull requests

1 participant