microsoft / vscode-typescript-tslint-plugin

VS Code extension that provides TSLint support using the typescript-tslint-plugin
https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-tslint-plugin
MIT License
188 stars 35 forks source link

TSLint Source Actions Missing #100

Closed chris-t-reilly closed 5 years ago

chris-t-reilly commented 5 years ago

No Source Actions are being shown when calling Source Action on a line that fails a tslint check with a "has-fix" (missing semi-colons for example).

Version: 1.35.0 (system setup) Commit: 553cfb2c2205db5f15f3ee8395bbd5cf066d357d Date: 2019-06-04T01:17:12.481Z Electron: 3.1.8 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Windows_NT x64 10.0.17134

cruhl commented 5 years ago

I am having the same issue

cruhl commented 5 years ago

image

cruhl commented 5 years ago

^ Shows the warning, but no source actions...

cruhl commented 5 years ago

image

cruhl commented 5 years ago

Version: 1.35.1 Commit: c7d83e57cd18f18026a8162d042843bda1bcf21f Date: 2019-06-12T14:19:05.197Z Node.js: v12.4.0 OS: Mac OSX Mojave 10.14.1 (18B75)

AndreasCag commented 5 years ago

Ran into same issue when tried to configure auto fix on save

mjbvz commented 5 years ago

Duplicate of #51

Try with extension version 1.2.0

Lordmau5 commented 4 years ago

I'm running version v1.2.2 and I don't have any source actions available, only "Optimize Imports".

Even with the deprecated package it doesn't work.

Did a new VS Code update or TSLint plugin break it?


Commit: 3db7e09f3b61f915d03bbfa58e258d6eee843f35
Date: 2019-09-03T21:49:13.459Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362```