Getting code actions from ''ESLint''

See original GitHub issue

Issue Type: Performance Issue

I got a performance regression after an update of VSCode insider, not sure which version was working fine, updated on 08.26.2020 - 08.27.2020. Today decided to report an issue.

I found a couple of similar problems:

https://github.com/microsoft/vscode-eslint/issues/999 https://github.com/microsoft/vscode/issues/102956

settings.json

"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
    "source.fixAll": false,
    "source.fixAll.eslint": true
},

ESlint node module version: v6.8.0 (didn’t change)

Extension version: 2.1.8 VS Code version: Code - Insiders 1.49.0-insider (6384e3246884694cbc34eacc70281ada15e2c7f2, 2020-08-28T16:02:16.834Z) OS version: Darwin x64 19.6.0

System Info
Item Value
CPUs Intel® Core™ i5-7267U CPU @ 3.10GHz (4 x 3100)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 4, 6
Memory (System) 16.00GB (0.42GB free)
Process Argv -psn_0_421991 --crash-reporter-id d4eda43b-3842-4492-8d6b-78ceef6890ab
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
   14	    82	 39168	code-insiders main
    5	    66	 39173	   gpu-process
    0	    16	 39174	   utility
    8	   246	 39176	   window (~/Development/project/component.js)
    0	    98	 39659	     extensionHost
    0	    49	 39669	       electron_node tsserver.js 
    0	   311	 39670	       electron_node tsserver.js 
    0	    33	 39676	         electron_node typingsInstaller.js typesMap.js 
    0	    49	 39673	       /Applications/Visual Studio Code - Insiders.app/Contents/Frameworks/Code - Insiders Helper (Renderer).app/Contents/MacOS/Code - Insiders Helper (Renderer) /Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=39659
    0	    49	 39677	       electron_node server.js 
  113	   639	 39841	       electron_node eslintServer.js 
    0	    16	 39665	     watcherService
    0	     0	 40223	     /bin/zsh -l
    1	    82	 39660	   shared-process
    0	     0	 41238	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    2	    66	 41236	   window (Issue Reporter)
Workspace Info
|  Window (~/Development/project/component.js)
|    Folder (project): 2715 files
|      File types: html(896) js(699) json(335) png(74) svg(24) eot(6) ttf(6)
|                  woff(6) css(5) map(5)
|      Conf files: launch.json(1) package.json(1)
|      Launch Configs: pwa-node;

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:75
  • Comments:205 (75 by maintainers)

github_iconTop GitHub Comments

73reactions
vscodebot[bot]commented, Sep 11, 2020

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

34reactions
FloodGamescommented, Oct 9, 2020

It keeps coming up for me too since the latest releases from Eslint I guess. image

Read more comments on GitHub >

github_iconTop Results From Across the Web

VSCode `Saving Getting code actions from` - Stack Overflow
Getting frequent Saving Getting code actions from from VSCode. VSCode freezes, the file is NOT saved. It seems to happen for Prettier, Eslint, ......
Read more >
Getting code actions from ''Vetur', 'Eslint'' takes too long! #2150
Temporary fix I use: > Developer: Restart extension host . After that linting/saving is fast but it slows down again over time. Must...
Read more >
How To Enable Linting on Save with Visual Studio Code and ...
In this tutorial, you will install ESLint, construct rules, and enable codeActionsOnSave in Visual Studio Code.
Read more >
VS Code ESLint extension - Visual Studio Marketplace
eslintrc configuration file. You can do this by either using the VS Code command Create ESLint configuration or by running the eslint command...
Read more >
ESLint code actions and (experimental) diagnostics / formatting
ESLint diagnostics: the plugin already parses ESLint JSON output for code actions, so it wasn't too hard to do the same for diagnostics...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found