Skip to content

Gaps between tslint-language-service and vscode-tslint #32

Open
@egamma

Description

@egamma

Settings

  • tslint.autoFixOnSave - fix auto fixable warnings when a file is saved.
    blocked see above
  • tslint.run - run the linter onSave or onType, default is onType.
    blocked - typescript always creates diagnostics as the user types

Commands contributed by vscode-tslint

from microsoft/vscode-ts-tslint#1:

  • tslint.fixAllProblems - which also enables to define a key binding, requires to send a event to a plugin.
  • tslint.createConfig - should be created using tslint --init
  • tslint.showOutputChannel - depends on TS support for channel specific logging from a plugin see above

Custom quick fixes

vscode-tslint provides some custom quick fixes. Rather than providing quick fixes the better approach is to make PRs against the tslint rules.

  • quotemark - quick fix has been added in tslint 5
  • triple-equals - no quick fix provided by tslint
  • comment-format - no quick fix provided by tslint
  • whitespace - no quick fix provided by tslint

Should be provided by tslint editor extension

  • Intellisense/validation for language service plugins contributions in the tsconfig.json
  • tslint status indicator
    the vscode typescript status indicator should show status/provide access to the status of extensions
  • tslint.json schema validation
  • support to create a default tslint.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions