question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow "fix all auto-fixable" action to be bound to a key

See original GitHub issue

Please allow us to bind a key to fix all auto-fixable problems in the current file, just like vscode-tslint’s tslint.fixAllProblems and vscode-eslint’s eslint.executeAutoFix.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:67
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

22reactions
maxime1992commented, Sep 5, 2017

Hi! I’m also really interested in adding a keyboard shortcut to autofix tslint problems.

Any news?

7reactions
acouttscommented, Apr 23, 2019

Hi! I’m also really interested in adding a keyboard shortcut to autofix tslint problems.

Any news?

For the new plugin this is how you can add a key binding as per the github page:

{
  "key": "cmd+k f",
  "command": "editor.action.codeAction",
  "args": {
    "kind": "source.fixAll.tslint",
    "apply": "first"
  }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

'Fix all auto-fixable problems' doesn't fix as many issues as ...
Show activity on this post. Simple fix : In VS Code open setting. json file and put "editor. formatOnSave": true, .
Read more >
How To Enable Linting on Save with Visual Studio Code and ...
Step 4 – Adding Code Actions on Save. Trying to manually run ESLint: Fix all auto-fixable Problems periodically is not very reliable.
Read more >
Fixed issues in InDesign - Adobe Support
We've been working hard at fixing the issues you reported to us. Here's the list of issues we fixed in the latest release...
Read more >
How To Fix / Troubleshoot Laptop Computer Key ... - YouTube
If your keyboard or any of its keys do not seem to be working, this video will help you troubleshoot why, and learn...
Read more >
Create a launch template for an Auto Scaling group
Add one or more security groups to allow network access to the instances. Specify whether to attach additional volumes to each instance. Add...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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