microsoft / vscode-eslint

VSCode extension to integrate eslint into VSCode
MIT License
1.75k stars 335 forks source link

command to restart server or plugins without quitting vscode #164

Closed kentor closed 3 years ago

kentor commented 8 years ago

This may be a rare use case, but I'm actually developing an eslint plugin. I live test the plugin by symlinking the package to node_modules, and load it up in my eslintrc file. So I develop and live test at the same time.

When I make changes to the implementation of a rule for my plugin, it doesn't get picked up by this extension. Is there a way to restart the eslint server or tell it to reload the plugins?

I guess the ability to restart would also be useful if we update an eslint plugin's version with npm (to load up new rules, for example)

dbaeumer commented 8 years ago

@kentor this is currently not possible. PR welcome. All that needs to be done is to add a command and then in the extension code call client.stop() and client.start().

kentor commented 8 years ago

seems like client.stop() is async, and client.start() will throw if it's already started

dbaeumer commented 8 years ago

Good catch. Will add a promise to stop.

dbaeumer commented 8 years ago

Added promise in latest.

robbawebba commented 7 years ago

Hi @dbaeumer, is this feature still in progress/needing help?

dbaeumer commented 7 years ago

@robbawebba yes, a PR is still welcome.

agm1984 commented 6 years ago

I notice this is a bit of a rough spot in VS Code. My partner and I have been using VS Code for a year, and we notice that a couple times a week, ES Lint hemmhorages and starts underlining stuff incorrectly.

It usually happens when you have been using VS Code for a long time and/or have lots of open editors.

I also notice that it seems to exacerbate the issue if you are making lots of small changes very quickly. Sometimes, all red underlines just go away and VS Code slows down. Restarting always fixes it though.

I found my way into this thread because the way I fix the issue is to close VS Code and re-open it. It's kind of annoying and disruptive. I was trying to find a way to restart ES Lint or all extensions without restarting VS Code.

Here is a screenshot @dbaeumer

eslint1

I apologize for not being able to provide steps to reproduce, but I am and have been looking for a way. The best I can do is what I described:

I bet you will see something weird in the RAM or some async event fall on its face.

It seems to do it the worst in large React projects as you rifle through lots of JSX.

dbaeumer commented 6 years ago

@agm1984 thanks for providing this. One tip: you can always restart ESLint by reloading the Window. You don't need to close and reopen VS Code.

emmiz commented 6 years ago

@dbaeumer What do you mean with "Reload window"? If I close the tab of an affected file and then reopen, the same errors are still there. :-/ I think I have the same problems as @agm1984.

agm1984 commented 6 years ago

Yes, I observed the same yesterday. I was seeing some weird ES Lint behaviour and closing the tab changed the errors that were outputting but it was still in an error state.

I pasted in a bunch of old HTML markup into a React component and that blew up ESLint instantly. I had to close VS Code and reopen it to fix it. VS Code seemed to really hate that the HTML markup didn't have proper self-closing tags in it and maybe 200 LOC. It made a big mess of the indentation of the code as well. If I was looking to reproduce, I would put an incongruent number of opening + closing tags in a giant block of code and see what happens.

If I had to guess, I think it might be related to pasting. When I previously described "rifling through lots of files", I am usually pasting big chunks of code when I am doing that. Something hemorrhages occasionally.

Closing the editor tab does cause an observable difference, however. My milage seems to vary with it.

dbaeumer commented 6 years ago

Actually closing and reopening the tab should clear the errors and re-compute them. If in this scenario the errors are still wrongly computed can you do the following:

and append the trace here.

agm1984 commented 6 years ago

[GOOD DEBUG INFO ENCLOSED]

Dang, I'm sorry Dirk. I had the most perfect reproduction last night of some ES Lint errors.

I always roll with eslint tracing on verbose 24/7. I changed it to messages and back to verbose, but I wasn't able to see where the traces go.

I was looking in the integrated terminal and none of the tabs had any info. The Problems Tab was showing the ES Lint errors, but no 'trace' kind of information.

I Googled it and tried to find how or where to see server traces. I mostly found you recommending these steps to people.

If you wouldn't mind giving me exact instructions, I will get you some all-star debug data.

I have been heavily modifying a React app over the past few days and again, I can tell you it melts down wholesale when: a) There are tons of es lint errors due to chopping up code and leaving existing code untouched, like:

The more ES Lint errors there are and the faster you save files, the more often it melts down.

Sometimes I close the tab and reopen it and it has incorrect errors still displaying. For example, last night, that one I was trying to get trace for was 2 unused vars that I removed but the ES Lint error persisted, and the red squiggly lines were in the wrong spot. They didn't go away when I closed the tab and reopened it.

As a matter of additional fact, my friends computer with 4GHz, 64 GB RAM, and 16 core CPU becomes unusable when he gets hundreds of ES Lint errors in a large React project. It's almost like VS Code can't handle huge numbers of errors while you are saving files every few seconds, which honestly makes sense given the number of computations it's probably doing.

I remember making fun of him because he didn't install any prop-types validations, so he had hundreds of errors about "missing prop types declaration", and his VS Code started to act really strange once the number got "too large".

Here is an example of what we see. When this output gets super size, you get problems: pic1

It's create-react-app, so it may have some kind of fascinating inter-dependency with Webpack.

Sorry for verbose, Adam

dbaeumer commented 6 years ago

@agm1984 thanks for getting back to me. The log appears in the ESLint Output channel. Go Vies > Output and then select ESLint from the drop down in the Output pane.

As a side note: running in verbose tracing produces a lot of output and will very likely slow down your machine as well. Most of the time it is enough to run in messages mode to track down problem.

agm1984 commented 6 years ago

Awesome thanks. Ok, I will update with new data when I can reproduce.

agm1984 commented 6 years ago

Hey @dbaeumer, looks like my ESLint stopped working and took out some other extension that highlights colours in code (for highlighting CSS hexcodes, etc).

I'm looking at the trace and I see:

[Trace - 7:24:12 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:12 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:12 PM] Received notification 'eslint/status'.
[Trace - 7:24:14 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:14 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:14 PM] Received notification 'eslint/status'.
[Trace - 7:24:33 PM] Sending request 'textDocument/codeAction - (1131)'.
[Trace - 7:24:33 PM] Received response 'textDocument/codeAction - (1131)' in 1ms.
[Trace - 7:24:33 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:33 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:33 PM] Received notification 'eslint/status'.
[Trace - 7:24:37 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:37 PM] Received request 'window/showMessageRequest - (122)'.
[Trace - 7:24:37 PM] Received notification 'window/logMessage'.
[Error - 7:24:37 PM] ESLint stack trace:
[Trace - 7:24:37 PM] Received notification 'window/logMessage'.
[Error - 7:24:37 PM] TypeError: Cannot read property 'type' of null
    at c:\Adam\portfolio-ssr\node_modules\eslint-plugin-react\lib\rules\jsx-no-target-blank.js:29:28
    at Array.find (native)
    at hasSecureRel (c:\Adam\portfolio-ssr\node_modules\eslint-plugin-react\lib\rules\jsx-no-target-blank.js:27:29)
    at Linter.JSXAttribute (c:\Adam\portfolio-ssr\node_modules\eslint-plugin-react\lib\rules\jsx-no-target-blank.js:56:12)
    at emitOne (events.js:101:20)
    at Linter.emit (events.js:191:7)
    at NodeEventGenerator.applySelector (c:\Adam\portfolio-ssr\node_modules\eslint\lib\util\node-event-generator.js:265:26)
    at NodeEventGenerator.applySelectors (c:\Adam\portfolio-ssr\node_modules\eslint\lib\util\node-event-generator.js:294:22)
    at NodeEventGenerator.enterNode (c:\Adam\portfolio-ssr\node_modules\eslint\lib\util\node-event-generator.js:308:14)
    at CodePathAnalyzer.enterNode (c:\Adam\portfolio-ssr\node_modules\eslint\lib\code-path-analysis\code-path-analyzer.js:602:23)
[Trace - 7:24:37 PM] Received notification 'eslint/status'.
[Trace - 7:24:37 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:37 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:37 PM] Received notification 'eslint/status'.
[Trace - 7:24:39 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:39 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:39 PM] Received notification 'eslint/status'.
[Trace - 7:24:42 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:42 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:42 PM] Received notification 'eslint/status'.
[Trace - 7:24:43 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:43 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:43 PM] Received notification 'eslint/status'.
[Trace - 7:24:44 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:44 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:44 PM] Received notification 'eslint/status'.
[Trace - 7:24:44 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:44 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:44 PM] Received notification 'eslint/status'.
[Trace - 7:24:49 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:49 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:49 PM] Received notification 'eslint/status'.
[Trace - 7:24:51 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:51 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:51 PM] Received notification 'eslint/status'.
[Trace - 7:24:51 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:51 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:51 PM] Received notification 'eslint/status'.
[Trace - 7:24:58 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:58 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:58 PM] Received notification 'eslint/status'.
[Trace - 7:24:59 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:24:59 PM] Sending request 'textDocument/codeAction - (1132)'.
[Trace - 7:24:59 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:24:59 PM] Received notification 'eslint/status'.
[Trace - 7:24:59 PM] Received response 'textDocument/codeAction - (1132)' in 22ms.
[Trace - 7:25:00 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:25:00 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:25:00 PM] Received notification 'eslint/status'.
[Trace - 7:25:01 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:25:01 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:25:01 PM] Received notification 'eslint/status'.
[Trace - 7:25:03 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:25:04 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:25:04 PM] Received notification 'eslint/status'.
[Trace - 7:25:04 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:25:04 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:25:04 PM] Received notification 'eslint/status'.
[Trace - 7:25:06 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:25:06 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:25:06 PM] Received notification 'eslint/status'.
[Trace - 7:25:07 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:25:07 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:25:07 PM] Received notification 'eslint/status'.
[Trace - 7:26:01 PM] Sending request 'textDocument/willSaveWaitUntil - (1133)'.
[Trace - 7:26:01 PM] Received response 'textDocument/willSaveWaitUntil - (1133)' in 1ms.
[Trace - 7:26:01 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:26:01 PM] Sending notification 'textDocument/didSave'.
[Trace - 7:26:02 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:26:02 PM] Received notification 'eslint/status'.
[Trace - 7:26:04 PM] Sending response 'window/showMessageRequest - (122)'. Processing request 
took 87169ms
[Trace - 7:29:48 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:29:48 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:29:48 PM] Received notification 'eslint/status'.
[Trace - 7:29:49 PM] Sending request 'textDocument/willSaveWaitUntil - (1134)'.
[Trace - 7:29:49 PM] Received response 'textDocument/willSaveWaitUntil - (1134)' in 1ms.
[Trace - 7:29:49 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:29:49 PM] Sending notification 'textDocument/didSave'.
[Trace - 7:29:49 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:29:49 PM] Received notification 'eslint/status'.
[Trace - 7:32:26 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:32:26 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:32:26 PM] Received notification 'eslint/status'.
[Trace - 7:32:28 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:32:28 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:32:28 PM] Received notification 'eslint/status'.
[Trace - 7:32:28 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:32:28 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:32:28 PM] Received notification 'eslint/status'.
[Trace - 7:32:54 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:32:54 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:32:54 PM] Received notification 'eslint/status'.
[Trace - 7:33:06 PM] Sending request 'textDocument/willSaveWaitUntil - (1135)'.
[Trace - 7:33:06 PM] Received response 'textDocument/willSaveWaitUntil - (1135)' in 1ms.
[Trace - 7:33:06 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:33:06 PM] Sending notification 'textDocument/didSave'.
[Trace - 7:33:06 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:33:06 PM] Received notification 'eslint/status'.
[Trace - 7:33:43 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:33:43 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:33:43 PM] Received notification 'eslint/status'.
[Trace - 7:33:46 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:33:46 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:33:46 PM] Received notification 'eslint/status'.
[Trace - 7:33:51 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:33:51 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:33:51 PM] Received notification 'eslint/status'.
[Trace - 7:33:52 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:33:52 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:33:52 PM] Received notification 'eslint/status'.
[Trace - 7:33:54 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:33:54 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:33:54 PM] Received notification 'eslint/status'.
[Trace - 7:33:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:33:55 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:33:55 PM] Received notification 'eslint/status'.
[Trace - 7:33:57 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:33:57 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:33:57 PM] Received notification 'eslint/status'.
[Trace - 7:33:58 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:33:58 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:33:58 PM] Received notification 'eslint/status'.
[Trace - 7:34:00 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:00 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:00 PM] Received notification 'eslint/status'.
[Trace - 7:34:06 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:06 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:06 PM] Received notification 'eslint/status'.
[Trace - 7:34:09 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:09 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:09 PM] Received notification 'eslint/status'.
[Trace - 7:34:13 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:13 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:13 PM] Received notification 'eslint/status'.
[Trace - 7:34:13 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:13 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:13 PM] Received notification 'eslint/status'.
[Trace - 7:34:16 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:16 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:16 PM] Received notification 'eslint/status'.
[Trace - 7:34:22 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:22 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:22 PM] Received notification 'eslint/status'.
[Trace - 7:34:24 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:24 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:24 PM] Received notification 'eslint/status'.
[Trace - 7:34:26 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:26 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:26 PM] Received notification 'eslint/status'.
[Trace - 7:34:27 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:27 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:27 PM] Received notification 'eslint/status'.
[Trace - 7:34:33 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:33 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:33 PM] Received notification 'eslint/status'.
[Trace - 7:34:33 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:33 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:33 PM] Received notification 'eslint/status'.
[Trace - 7:34:34 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:34 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:34 PM] Received notification 'eslint/status'.
[Trace - 7:34:34 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:34 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:34 PM] Received notification 'eslint/status'.
[Trace - 7:34:39 PM] Sending request 'textDocument/willSaveWaitUntil - (1136)'.
[Trace - 7:34:39 PM] Received response 'textDocument/willSaveWaitUntil - (1136)' in 1ms.
[Trace - 7:34:39 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:39 PM] Sending notification 'textDocument/didSave'.
[Trace - 7:34:39 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:39 PM] Received notification 'eslint/status'.
[Trace - 7:34:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:55 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:55 PM] Received notification 'eslint/status'.
[Trace - 7:34:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:55 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:55 PM] Received notification 'eslint/status'.
[Trace - 7:34:56 PM] Sending request 'textDocument/willSaveWaitUntil - (1137)'.
[Trace - 7:34:56 PM] Received response 'textDocument/willSaveWaitUntil - (1137)' in 1ms.
[Trace - 7:34:56 PM] Sending notification 'textDocument/didChange'.
[Trace - 7:34:56 PM] Sending notification 'textDocument/didSave'.
[Trace - 7:34:56 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 7:34:56 PM] Received notification 'eslint/status'.

Everything looks fine above that. That error, the text in the tracing at various points in time, and my symptoms at this exact moment look very good in terms of uncovering a bug I see all the time that is impossible to reproduce.

That last timestamp in there 7:34 PM was like an hour ago, so it's empty since then... no traces coming through. Must be because ES Lint pooped itself. I closed all the windows/tabs and no change in the trace window. She's pooched.

I hope this is useful for you :)

For posterity, there are no other errors of any kind in the trace messages window in the past 24 hours. I think I actually captured something, woot woot.

-Adam

dbaeumer commented 6 years ago

Thanks for the trace. However it is very hard to say why ESLint stopped. The problem doesn't seem to be on the server side since the client seems to stop sending

Sending notification 'textDocument/didChange'.
Sending notification 'textDocument/didSave'.

which on the server side triggers the problem computation. When this happens do you see high CPU load on your system. If so which process shows high load. And do other extensions still work ?

For CPU load and other things you can execute code --status in a terminal. This should print some statistics about VS Code's processes.

agm1984 commented 6 years ago

Hello again, my ES Lint is going haywire again today. It got tripped up on something, like I pasted in some code or otherwise typed in some terrible syntax while reasoning about a lambda function in a React render method, and it started throwing all kinds of non-existent errors. Closing the file did not help.

In fact, there is an error in here and it isn't dismissing it. The error just moves around the file and reports all kinds of random errors that aren't legitimate, btu the fact remains that it always reports at least one error and there are no errors in the code.

Here is my current tracing:

NOTE: Scroll to the bottom and read up. I included lots, just in case earlier trends are important

[Trace - 11:50:50 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:50:50 AM] Received notification 'eslint/status'.
[Trace - 11:51:08 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:08 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:08 AM] Received notification 'eslint/status'.
[Trace - 11:51:08 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:08 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:08 AM] Received notification 'eslint/status'.
[Trace - 11:51:10 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:10 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:10 AM] Received notification 'eslint/status'.
[Trace - 11:51:20 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:20 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:20 AM] Received notification 'eslint/status'.
[Trace - 11:51:21 AM] Sending request 'textDocument/codeAction - (280)'.
[Trace - 11:51:21 AM] Received response 'textDocument/codeAction - (280)' in 2ms.
[Trace - 11:51:21 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:21 AM] Sending request 'textDocument/codeAction - (281)'.
[Trace - 11:51:21 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:21 AM] Received notification 'eslint/status'.
[Trace - 11:51:21 AM] Received response 'textDocument/codeAction - (281)' in 86ms.
[Trace - 11:51:21 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:22 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:22 AM] Received notification 'eslint/status'.
[Trace - 11:51:22 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:22 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:22 AM] Received notification 'eslint/status'.
[Trace - 11:51:22 AM] Sending request 'textDocument/codeAction - (282)'.
[Trace - 11:51:22 AM] Received response 'textDocument/codeAction - (282)' in 2ms.
[Trace - 11:51:23 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:23 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:23 AM] Received notification 'eslint/status'.
[Trace - 11:51:23 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:23 AM] Sending request 'textDocument/codeAction - (283)'.
[Trace - 11:51:23 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:23 AM] Received notification 'eslint/status'.
[Trace - 11:51:23 AM] Received response 'textDocument/codeAction - (283)' in 50ms.
[Trace - 11:51:23 AM] Sending request 'textDocument/codeAction - (284)'.
[Trace - 11:51:23 AM] Received response 'textDocument/codeAction - (284)' in 1ms.
[Trace - 11:51:23 AM] Sending request 'textDocument/codeAction - (285)'.
[Trace - 11:51:23 AM] Received response 'textDocument/codeAction - (285)' in 0ms.
[Trace - 11:51:37 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:37 AM] Sending request 'textDocument/codeAction - (286)'.
[Trace - 11:51:37 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:37 AM] Received notification 'eslint/status'.
[Trace - 11:51:37 AM] Received response 'textDocument/codeAction - (286)' in 29ms.
[Trace - 11:51:37 AM] Sending request 'textDocument/codeAction - (287)'.
[Trace - 11:51:37 AM] Received response 'textDocument/codeAction - (287)' in 1ms.
[Trace - 11:51:38 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:38 AM] Sending request 'textDocument/codeAction - (288)'.
[Trace - 11:51:38 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:38 AM] Received notification 'eslint/status'.
[Trace - 11:51:38 AM] Received response 'textDocument/codeAction - (288)' in 16ms.
[Trace - 11:51:38 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:38 AM] Sending request 'textDocument/codeAction - (289)'.
[Trace - 11:51:38 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:38 AM] Received notification 'eslint/status'.
[Trace - 11:51:38 AM] Received response 'textDocument/codeAction - (289)' in 128ms.
[Trace - 11:51:39 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:39 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:39 AM] Received notification 'eslint/status'.
[Trace - 11:51:39 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:39 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:39 AM] Received notification 'eslint/status'.
[Trace - 11:51:39 AM] Sending request 'textDocument/codeAction - (290)'.
[Trace - 11:51:39 AM] Received response 'textDocument/codeAction - (290)' in 1ms.
[Trace - 11:51:40 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:40 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:40 AM] Received notification 'eslint/status'.
[Trace - 11:51:40 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:40 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:40 AM] Received notification 'eslint/status'.
[Trace - 11:51:40 AM] Sending request 'textDocument/codeAction - (291)'.
[Trace - 11:51:40 AM] Received response 'textDocument/codeAction - (291)' in 1ms.
[Trace - 11:51:41 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:41 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:41 AM] Received notification 'eslint/status'.
[Trace - 11:51:41 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:42 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:42 AM] Received notification 'eslint/status'.
[Trace - 11:51:42 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:42 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:42 AM] Received notification 'eslint/status'.
[Trace - 11:51:42 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:42 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:42 AM] Received notification 'eslint/status'.
[Trace - 11:51:42 AM] Sending request 'textDocument/codeAction - (292)'.
[Trace - 11:51:42 AM] Received response 'textDocument/codeAction - (292)' in 1ms.
[Trace - 11:51:43 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:43 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:43 AM] Received notification 'eslint/status'.
[Trace - 11:51:53 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:53 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:53 AM] Received notification 'eslint/status'.
[Trace - 11:51:53 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:54 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:54 AM] Received notification 'eslint/status'.
[Trace - 11:51:54 AM] Sending request 'textDocument/codeAction - (293)'.
[Trace - 11:51:54 AM] Received response 'textDocument/codeAction - (293)' in 0ms.
[Trace - 11:51:58 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:58 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:58 AM] Received notification 'eslint/status'.
[Trace - 11:51:59 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:51:59 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:51:59 AM] Received notification 'eslint/status'.
[Trace - 11:51:59 AM] Sending request 'textDocument/codeAction - (294)'.
[Trace - 11:51:59 AM] Received response 'textDocument/codeAction - (294)' in 1ms.
[Trace - 11:52:03 AM] Sending request 'textDocument/codeAction - (295)'.
[Trace - 11:52:03 AM] Received response 'textDocument/codeAction - (295)' in 1ms.
[Trace - 11:52:03 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:03 AM] Sending request 'textDocument/codeAction - (296)'.
[Trace - 11:52:03 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:03 AM] Received notification 'eslint/status'.
[Trace - 11:52:03 AM] Received response 'textDocument/codeAction - (296)' in 64ms.
[Trace - 11:52:03 AM] Sending request 'textDocument/codeAction - (297)'.
[Trace - 11:52:03 AM] Received response 'textDocument/codeAction - (297)' in 1ms.
[Trace - 11:52:05 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:05 AM] Sending request 'textDocument/codeAction - (298)'.
[Trace - 11:52:05 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:05 AM] Received notification 'eslint/status'.
[Trace - 11:52:05 AM] Received response 'textDocument/codeAction - (298)' in 62ms.
[Trace - 11:52:05 AM] Sending request 'textDocument/codeAction - (299)'.
[Trace - 11:52:05 AM] Received response 'textDocument/codeAction - (299)' in 2ms.
[Trace - 11:52:05 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:05 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:05 AM] Received notification 'eslint/status'.
[Trace - 11:52:06 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:06 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:06 AM] Received notification 'eslint/status'.
[Trace - 11:52:06 AM] Sending request 'textDocument/codeAction - (300)'.
[Trace - 11:52:06 AM] Received response 'textDocument/codeAction - (300)' in 1ms.
[Trace - 11:52:18 AM] Sending request 'textDocument/codeAction - (301)'.
[Trace - 11:52:18 AM] Received response 'textDocument/codeAction - (301)' in 1ms.
[Trace - 11:52:19 AM] Sending request 'textDocument/codeAction - (302)'.
[Trace - 11:52:19 AM] Received response 'textDocument/codeAction - (302)' in 1ms.
[Trace - 11:52:20 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:21 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:21 AM] Received notification 'eslint/status'.
[Trace - 11:52:21 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:21 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:21 AM] Received notification 'eslint/status'.
[Trace - 11:52:21 AM] Sending request 'textDocument/codeAction - (303)'.
[Trace - 11:52:21 AM] Received response 'textDocument/codeAction - (303)' in 1ms.
[Trace - 11:52:22 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:22 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:22 AM] Received notification 'eslint/status'.
[Trace - 11:52:24 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:24 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:24 AM] Received notification 'eslint/status'.
[Trace - 11:52:24 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:24 AM] Sending request 'textDocument/codeAction - (304)'.
[Trace - 11:52:24 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:24 AM] Received notification 'eslint/status'.
[Trace - 11:52:24 AM] Received response 'textDocument/codeAction - (304)' in 95ms.
[Trace - 11:52:25 AM] Sending request 'textDocument/codeAction - (305)'.
[Trace - 11:52:25 AM] Received response 'textDocument/codeAction - (305)' in 1ms.
[Trace - 11:52:25 AM] Sending request 'textDocument/codeAction - (306)'.
[Trace - 11:52:25 AM] Received response 'textDocument/codeAction - (306)' in 0ms.
[Trace - 11:52:27 AM] Sending request 'textDocument/codeAction - (307)'.
[Trace - 11:52:27 AM] Received response 'textDocument/codeAction - (307)' in 1ms.
[Trace - 11:52:29 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:29 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:29 AM] Received notification 'eslint/status'.
[Trace - 11:52:29 AM] Sending request 'textDocument/codeAction - (308)'.
[Trace - 11:52:29 AM] Received response 'textDocument/codeAction - (308)' in 1ms.
[Trace - 11:52:33 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:33 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:33 AM] Received notification 'eslint/status'.
[Trace - 11:52:38 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:38 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:38 AM] Received notification 'eslint/status'.
[Trace - 11:52:40 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:40 AM] Sending request 'textDocument/willSaveWaitUntil - (309)'.
[Trace - 11:52:40 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:40 AM] Received notification 'eslint/status'.
[Trace - 11:52:40 AM] Received response 'textDocument/willSaveWaitUntil - (309)' in 21ms.
[Trace - 11:52:40 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:40 AM] Sending notification 'textDocument/didSave'.
[Trace - 11:52:40 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:40 AM] Received notification 'eslint/status'.
[Trace - 11:52:42 AM] Sending request 'textDocument/codeAction - (310)'.
[Trace - 11:52:42 AM] Received response 'textDocument/codeAction - (310)' in 1ms.
[Trace - 11:52:43 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:43 AM] Sending request 'textDocument/codeAction - (311)'.
[Trace - 11:52:43 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:43 AM] Received notification 'eslint/status'.
[Trace - 11:52:43 AM] Received response 'textDocument/codeAction - (311)' in 146ms.
[Trace - 11:52:43 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:44 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:44 AM] Received notification 'eslint/status'.
[Trace - 11:52:44 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:44 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:44 AM] Received notification 'eslint/status'.
[Trace - 11:52:44 AM] Sending request 'textDocument/willSaveWaitUntil - (312)'.
[Trace - 11:52:44 AM] Received response 'textDocument/willSaveWaitUntil - (312)' in 0ms.
[Trace - 11:52:44 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:52:44 AM] Sending notification 'textDocument/didSave'.
[Trace - 11:52:45 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:52:45 AM] Received notification 'eslint/status'.
[Trace - 11:53:17 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:17 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:17 AM] Received notification 'eslint/status'.
[Trace - 11:53:18 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:18 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:18 AM] Received notification 'eslint/status'.
[Trace - 11:53:18 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:18 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:18 AM] Received notification 'eslint/status'.
[Trace - 11:53:18 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:18 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:18 AM] Received notification 'eslint/status'.
[Trace - 11:53:19 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:19 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:19 AM] Received notification 'eslint/status'.
[Trace - 11:53:19 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:19 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:19 AM] Received notification 'eslint/status'.
[Trace - 11:53:20 AM] Sending request 'textDocument/codeAction - (313)'.
[Trace - 11:53:20 AM] Received response 'textDocument/codeAction - (313)' in 0ms.
[Trace - 11:53:20 AM] Sending request 'textDocument/codeAction - (314)'.
[Trace - 11:53:20 AM] Received response 'textDocument/codeAction - (314)' in 1ms.
[Trace - 11:53:22 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:22 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:22 AM] Received notification 'eslint/status'.
[Trace - 11:53:25 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:25 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:25 AM] Received notification 'eslint/status'.
[Trace - 11:53:25 AM] Sending request 'textDocument/willSaveWaitUntil - (315)'.
[Trace - 11:53:25 AM] Received response 'textDocument/willSaveWaitUntil - (315)' in 0ms.
[Trace - 11:53:25 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:25 AM] Sending notification 'textDocument/didSave'.
[Trace - 11:53:25 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:25 AM] Received notification 'eslint/status'.
[Trace - 11:53:27 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:27 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:27 AM] Received notification 'eslint/status'.
[Trace - 11:53:29 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:29 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:29 AM] Received notification 'eslint/status'.
[Trace - 11:53:32 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:32 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:32 AM] Received notification 'eslint/status'.
[Trace - 11:53:32 AM] Sending request 'textDocument/codeAction - (316)'.
[Trace - 11:53:32 AM] Received response 'textDocument/codeAction - (316)' in 2ms.
[Trace - 11:53:32 AM] Sending request 'textDocument/codeAction - (317)'.
[Trace - 11:53:32 AM] Received response 'textDocument/codeAction - (317)' in 1ms.
[Trace - 11:53:53 AM] Sending request 'textDocument/codeAction - (318)'.
[Trace - 11:53:53 AM] Received response 'textDocument/codeAction - (318)' in 1ms.
[Trace - 11:53:54 AM] Sending request 'textDocument/codeAction - (319)'.
[Trace - 11:53:54 AM] Received response 'textDocument/codeAction - (319)' in 1ms.
[Trace - 11:53:55 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:55 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:55 AM] Received notification 'eslint/status'.
[Trace - 11:53:55 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:56 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:56 AM] Received notification 'eslint/status'.
[Trace - 11:53:56 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:53:56 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:53:56 AM] Received notification 'eslint/status'.
[Trace - 11:53:58 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:54:00 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:54:00 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:54:00 AM] Received notification 'eslint/status'.
[Trace - 11:54:00 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:54:00 AM] Received notification 'eslint/status'.
[Trace - 11:54:05 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:54:14 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:54:18 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:54:18 AM] Received notification 'eslint/status'.
[Trace - 11:54:19 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:54:19 AM] Received notification 'eslint/status'.
[Trace - 11:54:21 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:54:21 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:54:21 AM] Received notification 'eslint/status'.
[Trace - 11:54:23 AM] Sending request 'textDocument/willSaveWaitUntil - (320)'.
[Trace - 11:54:23 AM] Received response 'textDocument/willSaveWaitUntil - (320)' in 1ms.
[Trace - 11:54:23 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:54:23 AM] Sending notification 'textDocument/didSave'.
[Trace - 11:54:23 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:54:23 AM] Received notification 'eslint/status'.
[Trace - 11:54:30 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:54:33 AM] Sending request 'textDocument/codeAction - (321)'.
[Trace - 11:54:33 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:54:33 AM] Received notification 'eslint/status'.
[Trace - 11:54:33 AM] Received response 'textDocument/codeAction - (321)' in 6ms.
[Trace - 11:54:33 AM] Sending request 'textDocument/codeAction - (322)'.
[Trace - 11:54:33 AM] Received response 'textDocument/codeAction - (322)' in 0ms.
[Trace - 11:54:55 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:54:57 AM] Sending request 'textDocument/codeAction - (323)'.
[Trace - 11:55:37 AM] Sending notification 'textDocument/didChange'.
[Trace - 11:59:12 AM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 11:59:12 AM] Sending notification 'textDocument/didChange'.
[Trace - 12:07:45 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:07:45 PM] Sending request 'textDocument/codeAction - (324)'.
[Trace - 12:15:00 PM] Received notification 'eslint/status'.
[Trace - 12:15:00 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:22:08 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:22:08 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:23:22 PM] Sending request 'textDocument/codeAction - (325)'.
[Trace - 12:23:41 PM] Sending request 'textDocument/codeAction - (326)'.
[Trace - 12:24:06 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:24:06 PM] Sending request 'textDocument/willSaveWaitUntil - (327)'.
[Trace - 12:24:06 PM] Received response 'textDocument/codeAction - (323)' in 1749178ms.
[Trace - 12:24:52 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:24:52 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:24:52 PM] Sending notification 'textDocument/didClose'.
[Trace - 12:24:52 PM] Sending notification 'textDocument/didOpen'.
[Trace - 12:24:54 PM] Sending request 'textDocument/willSaveWaitUntil - (328)'.
[Trace - 12:24:54 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:25:01 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:25:01 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:25:46 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:25:46 PM] Sending request 'textDocument/willSaveWaitUntil - (329)'.
[Trace - 12:25:46 PM] Received notification 'eslint/status'.
[Trace - 12:31:22 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:31:22 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:33:30 PM] Received notification 'eslint/status'.
[Trace - 12:33:31 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:34:08 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:34:08 PM] Received notification 'eslint/status'.
[Trace - 12:34:08 PM] Received response 'textDocument/codeAction - (324)' in 1583438ms.
[Trace - 12:34:08 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:34:41 PM] Received notification 'eslint/status'.
[Trace - 12:34:41 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:34:43 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:34:43 PM] Received notification 'eslint/status'.
[Trace - 12:34:58 PM] Received response 'textDocument/codeAction - (325)' in 696383ms.
[Trace - 12:34:58 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:35:02 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:35:02 PM] Sending request 'textDocument/codeAction - (330)'.
[Trace - 12:35:02 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:35:02 PM] Sending request 'textDocument/codeAction - (331)'.
[Trace - 12:35:02 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:35:02 PM] Sending request 'textDocument/codeAction - (332)'.
[Trace - 12:35:02 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:35:02 PM] Sending request 'textDocument/codeAction - (333)'.
[Trace - 12:35:02 PM] Received response 'textDocument/codeAction - (326)' in 681021ms.
[Trace - 12:35:02 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:35:02 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:35:18 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:36:40 PM] Received notification 'eslint/status'.
[Trace - 12:36:40 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:37:33 PM] Received response 'textDocument/willSaveWaitUntil - (327)' in 806542ms.
[Trace - 12:37:33 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:05 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:05 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:05 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:38:06 PM] Received notification 'eslint/status'.
[Trace - 12:38:06 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:06 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:06 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:38:19 PM] Received request 'workspace/configuration - (30)'.
[Trace - 12:38:19 PM] Sending response 'workspace/configuration - (30)'. Processing request took 1ms
[Trace - 12:38:19 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:19 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:19 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:19 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:19 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:19 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:20 PM] Received response 'textDocument/codeAction - (330)' in 197662ms.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:20 PM] Received response 'textDocument/codeAction - (331)' in 197822ms.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:20 PM] Received response 'textDocument/codeAction - (332)' in 197931ms.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:20 PM] Received response 'textDocument/codeAction - (333)' in 198199ms.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:20 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:38:21 PM] NODE_PATH value is: C:\Users\adam\AppData\Roaming\npm\node_modules
[Trace - 12:38:21 PM] Received response 'textDocument/willSaveWaitUntil - (328)' in 807139ms.
[Trace - 12:38:21 PM] Received response 'textDocument/willSaveWaitUntil - (329)' in 755680ms.
[Trace - 12:38:21 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:22 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:38:22 PM] Received notification 'eslint/status'.
[Trace - 12:38:23 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:38:23 PM] Received notification 'eslint/status'.
[Trace - 12:38:23 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:38:23 PM] Received notification 'eslint/status'.
[Trace - 12:38:23 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:38:23 PM] Received notification 'eslint/status'.
[Trace - 12:38:41 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:41 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:42 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:43 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:43 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:44 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:48 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:49 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:50 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:51 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:38:51 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:45:44 PM] Sending request 'textDocument/codeAction - (334)'.
[Trace - 12:45:44 PM] Received notification 'textDocument/publishDiagnostics'.
[Trace - 12:45:44 PM] Received notification 'eslint/status'.
[Trace - 12:45:47 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:45:47 PM] Sending request 'textDocument/codeAction - (335)'.
[Trace - 12:45:55 PM] Sending request 'textDocument/codeAction - (336)'.
[Trace - 12:45:56 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:45:56 PM] Sending request 'textDocument/codeAction - (337)'.
[Trace - 12:45:56 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:45:56 PM] Sending request 'textDocument/codeAction - (338)'.
[Trace - 12:45:57 PM] Sending request 'textDocument/codeAction - (339)'.
[Trace - 12:45:58 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:45:58 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:45:58 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:45:59 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:45:59 PM] Received response 'textDocument/codeAction - (334)' in 14533ms. Request failed: Request got cancelled (-32800).
[Trace - 12:45:59 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:46:00 PM] Sending request 'textDocument/codeAction - (340)'.
[Trace - 12:46:00 PM] Received response 'textDocument/codeAction - (335)' in 13527ms. Request failed: Request got cancelled (-32800).
[Trace - 12:46:03 PM] Sending request 'textDocument/codeAction - (341)'.
[Trace - 12:46:03 PM] Received response 'textDocument/codeAction - (336)' in 8265ms. Request failed: Request got cancelled (-32800).
[Trace - 12:46:04 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:46:04 PM] Sending request 'textDocument/codeAction - (342)'.
[Trace - 12:46:04 PM] Received response 'textDocument/codeAction - (337)' in 7589ms. Request failed: Request got cancelled (-32800).
[Trace - 12:46:09 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:46:09 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:49:39 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:39 PM] Received response 'textDocument/codeAction - (338)' in 223055ms. Request failed: Request got cancelled (-32800).
[Trace - 12:49:40 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:40 PM] Received response 'textDocument/codeAction - (339)' in 223785ms. Request failed: Request got cancelled (-32800).
[Trace - 12:49:41 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:41 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:42 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:42 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:44 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:44 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:44 PM] Received response 'textDocument/codeAction - (340)' in 223870ms. Request failed: Request got cancelled (-32800).
[Trace - 12:49:45 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:45 PM] Received response 'textDocument/codeAction - (341)' in 221770ms. Request failed: Request got cancelled (-32800).
[Trace - 12:49:45 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:46 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:49:46 PM] Received response 'textDocument/codeAction - (342)' in 221955ms. Request failed: Request got cancelled (-32800).
[Trace - 12:50:05 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:50:06 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:50:06 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:50:08 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:50:08 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:50:08 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:50:08 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:50:25 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:50:36 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:50:42 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:50:53 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:51:16 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:51:49 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:51:57 PM] Sending request 'textDocument/codeAction - (343)'.
[Trace - 12:52:00 PM] Sending request 'textDocument/codeAction - (344)'.
[Trace - 12:52:01 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:01 PM] Sending request 'textDocument/codeAction - (345)'.
[Trace - 12:52:02 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:02 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:52:07 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:10 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:11 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:12 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:13 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:14 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:14 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:15 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:15 PM] Received response 'textDocument/codeAction - (343)' in 17200ms. Request failed: Request got cancelled (-32800).
[Trace - 12:52:15 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:15 PM] Received response 'textDocument/codeAction - (344)' in 15186ms. Request failed: Request got cancelled (-32800).
[Trace - 12:52:17 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:24 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:24 PM] Received response 'textDocument/codeAction - (345)' in 22389ms. Request failed: Request got cancelled (-32800).
[Trace - 12:52:32 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:32 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:33 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:33 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:34 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:37 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:40 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:40 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:46 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:53 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:52:53 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:53:11 PM] Sending request 'textDocument/codeAction - (346)'.
[Trace - 12:53:14 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:14 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:14 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:14 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:53:34 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:34 PM] Sending request 'textDocument/codeAction - (347)'.
[Trace - 12:53:39 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:40 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:40 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:40 PM] Sending request 'textDocument/codeAction - (348)'.
[Trace - 12:53:41 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:41 PM] Sending request 'textDocument/codeAction - (349)'.
[Trace - 12:53:41 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:41 PM] Received response 'textDocument/codeAction - (346)' in 30058ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:41 PM] Sending request 'textDocument/codeAction - (350)'.
[Trace - 12:53:42 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:42 PM] Sending request 'textDocument/codeAction - (351)'.
[Trace - 12:53:44 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:45 PM] Sending request 'textDocument/codeAction - (352)'.
[Trace - 12:53:45 PM] Received response 'textDocument/codeAction - (347)' in 10619ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:46 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:46 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:46 PM] Sending request 'textDocument/codeAction - (353)'.
[Trace - 12:53:46 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:46 PM] Received response 'textDocument/codeAction - (348)' in 6073ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:46 PM] Sending request 'textDocument/codeAction - (354)'.
[Trace - 12:53:47 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:47 PM] Received response 'textDocument/codeAction - (349)' in 6652ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:48 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:48 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:48 PM] Received response 'textDocument/codeAction - (350)' in 6938ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:48 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:48 PM] Sending request 'textDocument/codeAction - (355)'.
[Trace - 12:53:48 PM] Received response 'textDocument/codeAction - (351)' in 6702ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:51 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:51 PM] Sending request 'textDocument/codeAction - (356)'.
[Trace - 12:53:51 PM] Received response 'textDocument/codeAction - (352)' in 6330ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:51 PM] Sending request 'textDocument/codeAction - (357)'.
[Trace - 12:53:52 PM] Sending request 'textDocument/codeAction - (358)'.
[Trace - 12:53:53 PM] Sending request 'textDocument/codeAction - (359)'.
[Trace - 12:53:53 PM] Received response 'textDocument/codeAction - (353)' in 6687ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:53 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:53 PM] Sending request 'textDocument/codeAction - (360)'.
[Trace - 12:53:53 PM] Received response 'textDocument/codeAction - (354)' in 6726ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:54 PM] Sending request 'textDocument/codeAction - (361)'.
[Trace - 12:53:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:55 PM] Sending request 'textDocument/codeAction - (362)'.
[Trace - 12:53:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:55 PM] Sending request 'textDocument/codeAction - (363)'.
[Trace - 12:53:55 PM] Received response 'textDocument/codeAction - (355)' in 6694ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:56 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:56 PM] Received response 'textDocument/codeAction - (356)' in 4775ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:56 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:56 PM] Sending request 'textDocument/codeAction - (364)'.
[Trace - 12:53:56 PM] Received response 'textDocument/codeAction - (357)' in 4882ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:56 PM] Received response 'textDocument/codeAction - (358)' in 4513ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:56 PM] Sending request 'textDocument/codeAction - (365)'.
[Trace - 12:53:56 PM] Received response 'textDocument/codeAction - (359)' in 3515ms. Request failed: Request got cancelled (-32800).
[Trace - 12:53:58 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:53:58 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:54:03 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:54:03 PM] Received response 'textDocument/codeAction - (360)' in 10211ms. Request failed: Request got cancelled (-32800).
[Trace - 12:54:07 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:54:07 PM] Received response 'textDocument/codeAction - (361)' in 12669ms. Request failed: Request got cancelled (-32800).
[Trace - 12:54:07 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:54:08 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:54:08 PM] Received response 'textDocument/codeAction - (362)' in 13184ms. Request failed: Request got cancelled (-32800).
[Trace - 12:54:09 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:54:09 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:54:45 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:54:45 PM] Received response 'textDocument/codeAction - (363)' in 50005ms. Request failed: Request got cancelled (-32800).
[Trace - 12:54:47 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:54:57 PM] Sending request 'textDocument/codeAction - (366)'.
[Trace - 12:54:58 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:54:59 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:54:59 PM] Received response 'textDocument/codeAction - (364)' in 63259ms. Request failed: Request got cancelled (-32800).
[Trace - 12:55:02 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:02 PM] Received response 'textDocument/codeAction - (365)' in 65236ms. Request failed: Request got cancelled (-32800).
[Trace - 12:55:03 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:03 PM] Sending request 'textDocument/codeAction - (367)'.
[Trace - 12:55:03 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:03 PM] Sending request 'textDocument/codeAction - (368)'.
[Trace - 12:55:03 PM] Sending request 'textDocument/codeAction - (369)'.
[Trace - 12:55:03 PM] Sending request 'textDocument/codeAction - (370)'.
[Trace - 12:55:04 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:04 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:55:04 PM] Sending request 'textDocument/codeAction - (371)'.
[Trace - 12:55:52 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:52 PM] Received response 'textDocument/codeAction - (366)' in 55152ms. Request failed: Request got cancelled (-32800).
[Trace - 12:55:53 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:54 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:56 PM] Received response 'textDocument/codeAction - (367)' in 52933ms. Request failed: Request got cancelled (-32800).
[Trace - 12:55:56 PM] Sending request 'textDocument/codeAction - (372)'.
[Trace - 12:55:56 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:56 PM] Received response 'textDocument/codeAction - (368)' in 52931ms. Request failed: Request got cancelled (-32800).
[Trace - 12:55:56 PM] Sending request 'textDocument/codeAction - (373)'.
[Trace - 12:55:56 PM] Received response 'textDocument/codeAction - (369)' in 52892ms. Request failed: Request got cancelled (-32800).
[Trace - 12:55:56 PM] Sending request 'textDocument/codeAction - (374)'.
[Trace - 12:55:56 PM] Received response 'textDocument/codeAction - (370)' in 52879ms. Request failed: Request got cancelled (-32800).
[Trace - 12:55:57 PM] Sending request 'textDocument/codeAction - (375)'.
[Trace - 12:55:58 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:55:58 PM] Received response 'textDocument/codeAction - (371)' in 54069ms. Request failed: Request got cancelled (-32800).
[Trace - 12:55:58 PM] Sending request 'textDocument/codeAction - (376)'.
[Trace - 12:56:00 PM] Sending request 'textDocument/codeAction - (377)'.
[Trace - 12:56:00 PM] Sending request 'textDocument/codeAction - (378)'.
[Trace - 12:56:01 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:01 PM] Sending request 'textDocument/codeAction - (379)'.
[Trace - 12:56:01 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:01 PM] Sending request 'textDocument/codeAction - (380)'.
[Trace - 12:56:01 PM] Received response 'textDocument/codeAction - (372)' in 5796ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:02 PM] Sending request 'textDocument/codeAction - (381)'.
[Trace - 12:56:02 PM] Sending request 'textDocument/codeAction - (382)'.
[Trace - 12:56:02 PM] Received response 'textDocument/codeAction - (373)' in 6010ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:02 PM] Sending request 'textDocument/codeAction - (383)'.
[Trace - 12:56:02 PM] Received response 'textDocument/codeAction - (374)' in 6292ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:03 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:03 PM] Received response 'textDocument/codeAction - (375)' in 5997ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:03 PM] Sending request 'textDocument/codeAction - (384)'.
[Trace - 12:56:03 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:03 PM] Sending request 'textDocument/codeAction - (385)'.
[Trace - 12:56:03 PM] Received response 'textDocument/codeAction - (376)' in 4427ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:03 PM] Received response 'textDocument/codeAction - (377)' in 2817ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:03 PM] Sending request 'textDocument/codeAction - (386)'.
[Trace - 12:56:03 PM] Received response 'textDocument/codeAction - (378)' in 2554ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:04 PM] Sending request 'textDocument/codeAction - (387)'.
[Trace - 12:56:04 PM] Sending request 'textDocument/codeAction - (388)'.
[Trace - 12:56:04 PM] Received response 'textDocument/codeAction - (379)' in 3446ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:05 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:05 PM] Sending request 'textDocument/codeAction - (389)'.
[Trace - 12:56:05 PM] Received response 'textDocument/codeAction - (380)' in 3769ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:05 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:05 PM] Sending request 'textDocument/codeAction - (390)'.
[Trace - 12:56:05 PM] Received response 'textDocument/codeAction - (381)' in 3736ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:05 PM] Received response 'textDocument/codeAction - (382)' in 3523ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:06 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:06 PM] Received response 'textDocument/codeAction - (383)' in 4045ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:07 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:07 PM] Sending request 'textDocument/codeAction - (391)'.
[Trace - 12:56:07 PM] Received response 'textDocument/codeAction - (384)' in 4007ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:07 PM] Sending request 'textDocument/codeAction - (392)'.
[Trace - 12:56:07 PM] Sending request 'textDocument/codeAction - (393)'.
[Trace - 12:56:07 PM] Received response 'textDocument/codeAction - (385)' in 4309ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:07 PM] Sending request 'textDocument/codeAction - (394)'.
[Trace - 12:56:07 PM] Received response 'textDocument/codeAction - (386)' in 4192ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:07 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:07 PM] Received response 'textDocument/codeAction - (387)' in 3598ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:08 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:08 PM] Received response 'textDocument/codeAction - (388)' in 3772ms. Request failed: Request got cancelled (-32800).
[Trace - 12:56:09 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:09 PM] Sending notification 'textDocument/didChange'.
[Trace - 12:56:09 PM] Sending notification 'textDocument/didSave'.
[Trace - 12:56:09 PM] Received response 'textDocument/codeAction - (389)' in 4029ms. Request failed: Request got cancelled (-32800).

Here is a screenshot of what I currently see: noerror

If I comment out the code, the errors remain (pretty sure that's abnormal): noerror2

If I delete the code, the error moves to another spot. If I keep coding, the error is attracted to random code like a magnet, and ES Lint will start throwing random errors in code with no errors: noerror3

If I CTRL+Z the code back in, the error temporarily stays where it was after the code was deleted: noerror4

Here is the tracing output after I just took those screenshots:

NOTE: ie) chronologically after the previous tracing output

[Trace - 1:17:56 PM] Sending request 'textDocument/codeAction - (395)'.
[Trace - 1:17:56 PM] Sending request 'textDocument/codeAction - (396)'.
[Trace - 1:17:56 PM] Received response 'textDocument/codeAction - (390)' in 1310565ms. Request failed: Request got cancelled (-32800).
[Trace - 1:17:57 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:17:57 PM] Sending request 'textDocument/codeAction - (397)'.
[Trace - 1:18:04 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:18:04 PM] Sending notification 'textDocument/didSave'.
[Trace - 1:18:04 PM] Received response 'textDocument/codeAction - (391)' in 1317151ms. Request failed: Request got cancelled (-32800).
[Trace - 1:19:39 PM] Sending request 'textDocument/codeAction - (398)'.
[Trace - 1:19:39 PM] Received response 'textDocument/codeAction - (392)' in 1411626ms. Request failed: Request got cancelled (-32800).
[Trace - 1:19:39 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:39 PM] Received response 'textDocument/codeAction - (393)' in 1412010ms. Request failed: Request got cancelled (-32800).
[Trace - 1:19:41 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:41 PM] Received response 'textDocument/codeAction - (394)' in 1413391ms. Request failed: Request got cancelled (-32800).
[Trace - 1:19:41 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:44 PM] Sending request 'textDocument/codeAction - (399)'.
[Trace - 1:19:45 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:46 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:46 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:46 PM] Received response 'textDocument/codeAction - (395)' in 110508ms. Request failed: Request got cancelled (-32800).
[Trace - 1:19:54 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:54 PM] Sending request 'textDocument/codeAction - (400)'.
[Trace - 1:19:54 PM] Received response 'textDocument/codeAction - (396)' in 117683ms. Request failed: Request got cancelled (-32800).
[Trace - 1:19:54 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:54 PM] Received response 'textDocument/codeAction - (397)' in 116821ms. Request failed: Request got cancelled (-32800).
[Trace - 1:19:54 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:55 PM] Received response 'textDocument/codeAction - (398)' in 16197ms. Request failed: Request got cancelled (-32800).
[Trace - 1:19:55 PM] Sending request 'textDocument/codeAction - (401)'.
[Trace - 1:19:55 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:55 PM] Sending request 'textDocument/codeAction - (402)'.
[Trace - 1:19:56 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:19:56 PM] Sending notification 'textDocument/didSave'.
[Trace - 1:19:56 PM] Received response 'textDocument/codeAction - (399)' in 11757ms. Request failed: Request got cancelled (-32800).
[Trace - 1:23:18 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:23:18 PM] Sending notification 'textDocument/didChange'.
[Trace - 1:23:20 PM] Sending notification 'textDocument/didChange'.

NOTE: Most of the time, this incorrect error reporting starts with Expected }. And I usually see it when I do something like:

// if I start putting in a lambda or paste one in that has bad syntax,
// ES Lint can start to freak out.
someProp={() => { }}

// For example, today I did something like that but I started writing the if statement
// before I closed the inline function and that seemed to cause it to enter the bugged state.

As soon as I do something and see Expected } when there is no actual error in the JSX, I know ES Lint just shit the bed and there is no way I can fix it until I close VS Code and reopen it.

agm1984 commented 6 years ago

Sorry for generating a second notification, should tag @dbaeumer

dbaeumer commented 6 years ago

Interestingly in the new trace there is no Received notification 'textDocument/publishDiagnostics'. which explains why the errors are not updaing. In addition the 'textDocument/codeAction' request tasks a very long time. When this happened did you see a high CPU load ?

Without having steps on how to reproduce this it will be very hard to track down. @agm1984 is there anything you can distill?

agm1984 commented 6 years ago

I absolutely notice high CPU. It's one of the reasons I know it is acting up. Sometimes I hear my fan turn on and pretty much stay on, and I always attribute it to VS Code starting to hemorrhage.

I've been experiencing this issue for a few months. The problem is I've never found a way to reproduce it. I've been looking the whole time. I did QA for 5 years, so I know your pain. It's why I'm trying to give you as much detail as possible, so you can deduce it.

Like I said before, it seems to occur most often while writing JSX and when I paste in code. I am generally always putting in DOM markup and JSX when ES Lint starts erroneously underlining things.

Let me know what you think would be a good idea. I can set tracing to verbose if that will give better data. Our problem is we can't see the moment it starts failing.

I do have a few JSX related extensions like auto-rename tags and now that I think of extensions, I remember that every time ES Lint dies, my colors stop highlighting. Sometimes I notice that before I notice CPU drain and ES Lint not working.

This extension here: https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight These highlights stop displaying: colors1

The problem with reproducing it is there is no clear cut way. I experience it every 1-3 days. Honestly, the best way for me to trigger it is to open JSX and comment out like half the code and start pasting in chunks of malformed JSX. Over time, I notice activity like that contributes the most.

dbaeumer commented 6 years ago

@agm1984 thanks a lot for your willingness to help me track this down. The first thing we need to nail down is what causes the high CPU load. It could be the extension host as well. If it happens the next time and you hear your fan can you run code --status from another terminal. This will print all code process to the console with the mem / CPU usage. Paste the result here.

agm1984 commented 6 years ago

@dbaeumer VS Code is destroying my CPU for no reason this morning. Everything works, but it's using 20% of my CPU:

code --status results:

`` bash

code --status

Collecting CPU and memory information. This might take a couple of seconds.

Version: Code 1.21.1 (79b44aa704ce542d8ca4a3cc44cfca566e7720f1, 2018-03-14T14:46:47.128Z) OS Version: Windows_NT x64 10.0.16299 CPUs: Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz (8 x 2694) Memory (System): 15.93GB (2.17GB free) VM: 0% Screen Reader: no Process Argv: C:\Program Files\Microsoft VS Code\Code.exe CPU % Mem MB PID Process 0 130 8224 code main 0 106 4676 window (package.json - react-three-article - Visual Studio Code) 0 2 7572 terminal 0 1 15348 winpty-process 0 1 2652 console-window-host (Windows internal process) 0 41 4248 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe 0 2 8300 watcherService 0 1 2452 console-window-host (Windows internal process) 0 2 9796 searchService 0 7 14428 extensionHost 0 8 11020 electron_node jsonServerMain.js 0 299 6028 window (Contact.js - omni-ssr - Visual Studio Code) 0 23 8772 terminal 0 5 20720 winpty-process 0 42 2984 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe 0 3 11092 C:\WINDOWS\system32\cmd.exe /c ""C:\Users\adam\AppData\Roaming\npm\yarn.cmd" start" 0 16 19416 node "C:\Users\adam\AppData\Roaming\npm\node_modules\yarn\bin\yarn.js" start 0 3 20332 C:\WINDOWS\system32\cmd.exe /d /s /c react-scripts start 0 14 15128 node "C:\Adam\omni-ssr\node_modules.bin\..\react-scripts\bin\react-scripts.js" start 0 200 4660 node C:\Adam\omni-ssr\node_modules\react-scripts\scripts\start.js 0 10 9680 console-window-host (Windows internal process) 0 55 13408 extensionHost 0 27 6980 electron_node jsonServerMain.js 0 24 12932 electron_node htmlServerMain.js 0 60 16504 electron_node electronForkStart.js tsserver.js 0 20 17904 electron_node typingsInstaller.js tsserver.js typesMap.js 0 24 18716 electron_node server.js 0 75 20652 electron_node eslintServer.js 0 23 21408 electron_node cssServerMain.js 0 21 17136 searchService 0 14 20132 watcherService 0 5 20752 console-window-host (Windows internal process) 0 70 8608 gpu-process 0 56 11656 shared-process 0 152 17376 window (package.json - project-manager-webapp - Visual Studio Code) 0 20 10908 searchService 0 30 13292 extensionHost 0 24 11224 electron_node jsonServerMain.js 0 26 15640 electron_node electronForkStart.js tsserver.js 0 20 8808 electron_node typingsInstaller.js tsserver.js typesMap.js 0 23 18244 electron_node eslintServer.js 0 20 17984 terminal 0 5 2876 winpty-process 0 44 8020 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe 0 7 12712 console-window-host (Windows internal process) 0 13 18788 watcherService 0 5 6120 console-window-host (Windows internal process) Workspace Stats: | Window (package.json - react-three-article - Visual Studio Code) | Folder (react-three-article): 14 files | File types: js(4) json(2) css(2) gitignore(1) ico(1) html(1) md(1) | svg(1) lock(1) | Conf files: package.json(1) | Window (package.json - project-manager-webapp - Visual Studio Code) | Folder (project-manager-webapp): 475 files | File types: js(285) jpg(87) scss(39) css(38) png(10) json(6) html(3) | ico(2) map(2) gitignore(1) | Conf files: package.json(1) | Window (Contact.js - omni-ssr - Visual Studio Code) | Folder (omni-ssr): 205 files | File types: js(72) png(48) css(17) scss(16) json(14) jpg(8) mtl(6) | obj(6) html(5) md(2) | Conf files: package.json(1)

adam@ADAMDEV C:\Users\adam

It's interesting that the create-react-app start.js file is using so much CPU:

0 200 4660 node C:\Adam\omni-ssr\node_modules\react-scripts\scripts\start.js

dbaeumer commented 6 years ago

Actually the CPU load of all processes is zero. C:\Adam\omni-ssr\node_modules\react-scripts\scripts\start.js used 200 MB of memory. When you captured the status did you observer High CPU load?

agm1984 commented 6 years ago

Yes, after I closed all three VS Codes, there was a remaining VS Code process visible in the Task Manager, and it was maintaining 20% CPU load.

dbaeumer commented 6 years ago

Actually the CPU load of all processes is zero. C:\Adam\omni-ssr\node_modules\react-scripts\scripts\start.js used 200 MB of memory. When you captured the status did you observer High CPU load?

agm1984 commented 6 years ago

Couple notes for @dbaeumer

The other day I noticed WMI Provider Host was using a lot of CPU hovering around 20% CPU.

I also noticed that I am running node-sass-chokidar and it sometimes causes issues with closing VS Code while it is performing updates if this occurs while CSS files are open and/or recently edited while node-sass-chokidar is watching the project. It's a problem with file locking for sure. One time I had to reboot because I force killed one of the processes and it got into an infinite loop ofcrashing instantly every time I opened VS Code in the task bar.

If you want to examine that further, npm install --save node-sass-chokidar and add this to package.json scripts symbol:

"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",

In terms of your environment, you should be using create-react-app during any testing.

I mention this because sometimes I get a feeling that ES Lint is trying to read a file while it is locked. Maybe some mechanism involved during those processes is being cyclically hammered and there needs to be installed a backoff mechanism. That's my horribly naive guess anyway.

I might suggest taking a pass over related code and reason about weird use cases where a negative feedback loop is missing.

If you can't do anything about that anomalous UX during the VS Code update process, I tried to word it such that you could just paste it to someone on that team. It was a UX anomaly, so they should know those sequence of events could happen to people at any moment. Otherwise, let me know and I'll create another issue about it.

I bolded while watching in this reply because they are the two most important words in terms of contributing factors.

EDIT The other important thing (I forgot to include when I originally typed this but just remembered now) is that when these ES Lint anomalies happen, I am usually writing JSX and HTML inside a .js file. I'm not sure how significant that is, but it seems to be a common thread.

dbaeumer commented 6 years ago

Actually the ESLint server is only reading eslint configuration files from disk (e.g..eslintrc, .eslintignore, package.json). I never reads JS files or other files it is validating since the validation happens in memory.

If you see problem with the VS Code installer I would like to ask you to file an issue against vscode itself here: https://github.com/Microsoft/vscode

I still don't have a feeling why the ESLint server is stuck reporting errors as indicated in https://github.com/Microsoft/vscode-eslint/issues/164#issuecomment-379885504. What is very interesting is that computing code actions take a very long time. So it would be very help to know about the CPU usage when this happens. With the next update of VS Code you can even open a little windows (process explorere) that shows you the CPU and memory consumption of all VS Code owned processes. May that helps to see what is causing this.

agm1984 commented 6 years ago

Update for you @dbaeumer.

My VS Code was fine for weeks, and today I started working on some React Native stuff. Everything was all good, and then as soon as I activated ES Lint in this project, it piled in a ton of errors. It bogged down instantly and now its been super slow since.

Almost all the errors are from:

vscode

I'm going to clear them all out before doing anything else and see if that does anything. I already did close VS Code and re-open it and it didn't have any affect.

CPU seems fairly high, memory seems fine, disk usage seems fine.

react-native kind of bombs out my machine resources to begin with, so I noticed it immediately when it started bogging down. It appears to be this bug we have been discussing. It started as soon as I got ES Lint working.

I'll save the project now. You can download it from: https://github.com/agm1984/rn-clock-angle/tree/dirk

I might recommend removing the ES Lint packages and then crank the heck out of your debug tooling and then install them all and see what happens when all the red underlines start. I'm really hoping this can get you some data.

This seems to have made a big difference in available CPU. My computer isn't as bogged anymore. I didn't do anything but add these disablers:

class Clock extends Component {
  constructor(props) {
    super(props)
    const d = new Date()
    this.state = {
      sec: d.getSeconds() * 6, /* eslint-disable no-mixed-operators */
      min: d.getMinutes() * 6 + (d.getSeconds() * 6) / 60,
      hour: ((d.getHours() % 12) / 12) * 360 + 90 +
        (d.getMinutes() * 6 + (d.getSeconds() * 6) / 60) / 12,
    } /* eslint-enable no-mixed-operators */
  }

  componentDidMount() {
    this.timer = setInterval(() => {
      const d = new Date()
      this.setState({ sec: d.getSeconds() * 6 }) /* eslint-disable no-mixed-operators */
      this.setState({ min: d.getMinutes() * 6 + (d.getSeconds() * 6) / 60 })
      this.setState({
        hour: ((d.getHours() % 12) / 12) * 360 + 90 +
        (d.getMinutes() * 6 + (d.getSeconds() * 6) / 60) / 12,
      })
    }, 1000) /* eslint-enable no-mixed-operators */
  }

Update: It still seems to be bogged down. I got it down to 0 errors now and its still lagged. I'm just going to reboot though. It's a bit too poop to handle. I will leave you with this for now. Let me know your findings so I can work alongside your latest ideas.

dbaeumer commented 6 years ago

Thanks for the test case. I was able to clone and see the ~100 errors however I can not reproduce the slow down. Typing is still normal and the CPU consumption on my machine peeks ~15% for the ESLint server process. The errors are updated in a second range.

Is this what you observe as well?

agm1984 commented 6 years ago

I haven't had any issues since. I'm running v1.23.1. I've also been maintaining about 3-5 VS Codes open at all times coding most hours of the day. I haven't noticed any significant bogs, so, well done team.

I'll keep an eye out for any new conditions. I will try to submit them in a new ticket and tag you with steps to reproduce or very specific information. Thanks Dirk.

I also noticed just now I have been polluting this thread about 'restarting without quitting'. I guess it is circumstantially related since performance issues can be impetus for restart-desire.

dbaeumer commented 6 years ago

@agm1984 good to hear that ESLint works fine right now. I will keep the issue open to not loose the initial feature request.

agm1984 commented 6 years ago

Here's a Tweet here that is relevant to all my described issues in here: https://twitter.com/_SeanGroff/status/1019675531783045120

It makes me wonder. What if there was a function that ran when the number of open tab editors goes from 1 to 0. The function would re-init VS Code as if you restarted the program.

That would stop people from having to close and re-open because they would get the same effect as closing all open tabs.

What are your thoughts about an idea like that @dbaeumer ?

There has been a bug in whatever area this is. It's been happening to me for 1-2 years as described in that Tweet by Sean Groff. The issue is when it happens, you can't fix ES Lint. The bug state cannot be reset without full close/reopen of VS Code.

I assert that something needs to be available to the user to reset the application, preferably without them needing to know about it. For example even if ES Lint did a full reboot automatically every 30 minutes, that would solve it as well.

The problem is I've never been able to replicate it without it just happening. Mine has been better lately. I think the new terminal changes had a big positive effect but this one ES Lint related bug is still in there somehow.

Here's another way to look at it: There exists a condition during which one or more VS Code tab editors are incorrectly displaying an error such as:

If you close and reopen the tab, it's still there. ES Lint works fine, it's just confused about that one error.

Sometimes there is only one or two, but other times the file might contain 5-10 errors in a giant file and all of them are offset weird and nonsensical. They do appear to have been correct at one point. Maybe there was a missing semi-colon or missing comma. It lacks the ability to forget or pass through an cyclically occurring negative feedback loop.

If you can show me a way to submit a diagnostic report @dbaeumer I could provide it next time it occurs. Maybe you could gain insight from seeing what my state was in conjunction with a screenshot. My most reliable way is to open a new existing project with large files in it and go from zero linting to full blown Airbnb config and using babel-eslint. One common fact over the past two years is I've always used babel-eslint parser.

I don't use TypeScript. That is also an interesting fact to me after reading Sean's Tweet. That could indicate that the problem exists somewhere in ES Lint reporting and in-memory cache logic where there is overlap between TypeScript, React, and Vue DOM markup, especially React classes and Vue instances.

dbaeumer commented 6 years ago

Thanks for reaching back on this issue. I know it is annoying (not just for you). If this happens (e.g you have one stale error) could you enable verbose tracing and see if the server is still sending the stale error. ("eslint.trace.server": "messages"). IMO there are three different possible problems:

Only in the third case the error would surface in ESLint and TS.

nodkz commented 6 years ago

Current command ESlint: Disable ESLint does not stop running server. But how I think it should do it.

My current workaround for ESlint server restarting when changed graphql schema or other eslint configs options:

kill $(ps aux | grep 'eslintServer' | awk '{print $2}')

This command I add to my webpack config, and if it detects some build file changes which affects on eslint configs - just run it. VSCode automatically restarts killed eslint server as expected.

agm1984 commented 6 years ago

eslint1

Here is an animated GIF @dbaeumer

  1. I'm not sure if that is the hover information we wanted to see
  2. You can see the error is stuck. It was reporting that I needed to add the type key, so I added that and sometime while I was typing required: true, it started reporting missing default, which is not true when you have required set to true. You only need a default value if the prop is not required.
  3. As you can see, removing the default declaration and adding it back causes changes but still error state

I have trace server set to messages, and I notice there has been no activity in there in the past 4 hours. That may be an issue.

I will try repeating these steps for you over the weekend, including after rebooting and I will keep a very close eye on the symptoms I am seeing plus your instructions a couple posts up from this one.

Here is another GIF after. I wanted to see what would happen if I closed the tab and reopened it. As you can see, the bug state remained. I also chopped up the code a bit so you can see how it is acting:

eslint2

P.S. after reflecting, I realize you may have wanted to see if it was an ES Lint issue or an issue in the Vue plugin logic. I will report it to them if so.

I also noticed this, which occurs to me fairly often also. Underlines go in weird places and also quite non-sensical:

eslint3

Usually I notice it when colours are highlighted the incorrect colour.

I am referring to this extension:

Color Highlight naumovs.color-highlight Sergii Naumov

Something causes it to do what is shown in the image. I will also report that to them if that is a good idea.

[edit] I just closed VS Code and reopened it, and now my computer is much more responsive. I think VS Code was bogged down in that error state.

I also had an issue where the tabs were not horizontall scrolling when I mousewheeled over top of them. That issue has also fixed itself when I restarted VS Code. Totally unrelated, but you never know.

dbaeumer commented 6 years ago

@agm1984 thanks for all the information. So it looks like the ESLint server is not validating the file anymore. This can be due to two reasons:

To better understand which one occurs can you let me know if:

agm1984 commented 6 years ago

Update: everything has been pretty solid @dbaeumer. After my last issues, I restarted VS Code and everything has been good since. I haven't detected any CPU or memory management issues.

In the last two months, it just keeps getting better and better. Both React and Vue have been linting as expected with barely any anomalies, which is historically rare for me.

I noticed last week I was running ES Lint 4.5 globally, so I upgraded that to 5.1. It didn't perceivably affect anything before or after, but I will mention it for science.

I think the overarching integrated terminal changes in latest updates has had a pretty profound impact on my UX. I have to say nice job team. Sometimes I open like 5 VS Codes with monster projects in them, and CPU/memory management has been excellent lately.

I have your instructions @dbaeumer, so I will update you if I have anything. I encourage everyone else to do the same. Read the last few posts and try to provide data and/or steps to reproduce your bug state.

dbaeumer commented 6 years ago

@agm1984 great to hear that things got better for you. I will leave the item open. Please ping if you see experience any problems.

iamWing commented 5 years ago

Current command ESlint: Disable ESLint does not stop running server. But how I think it should do it.

My current workaround for ESlint server restarting when changed graphql schema or other eslint configs options:

kill $(ps aux | grep 'eslintServer' | awk '{print $2}')

This command I add to my webpack config, and if it detects some build file changes which affects on eslint configs - just run it. VSCode automatically restarts killed eslint server as expected.

@nodkz May I know how did you add the command into Webpack config? Right now I can only manually run the command on terminal.

iamWing commented 5 years ago

So I'm still having issue that whenever I modified the alias section in my Webpack config, the ESLint doesn't pick up the changes and prompt me errors on my code unless I completely kill VSCode and reopen it. I think it's because of the ESLint server only read the Webpack config file on server startup but not monitoring the file. Is there any workaround except restarting VSCode? I don't wanna restart the editor every time I made some changes on the alias section. Thanks.

dbaeumer commented 5 years ago

@iamWing the best would be to make the ESLint server aware of this and re-read the configuration. I would accept a PR for this or if you give me an example (GitHub repository) which demos this I can have a look as well.

threehams commented 4 years ago

PR to fix this is above, and it was just as simple as suggested. I thought it would take more than this, but I tested by switching out eslint with a much older version and it recovered well from that.

chungweileong94 commented 4 years ago

The "restart" command is really necessary, I'm still struggling today, especially when I wanted to migrate javascript file to typescript, or even just rename some files, the ESLint server will break for sure.

FDIM commented 3 years ago

I just bumped into this edge case as well. Currently migrating from tslint -> eslint and to reuse config rules I have a function in a separate file that returns root eslint config based on some parameters. Default merging strategy is not a good option.

Took me a bit to realize that changes in this js file ends up cached by node runtime as module is already imported!

EDIT: Good that is JS, was able to do: delete require.cache[require.resolve('../../.eslintrc.base')]; :)

dbaeumer commented 3 years ago

Version 2.1.17 now contains a Restart Server command.