Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Linter errors are only displayed on the project tab and are not available for just the current active file #30

Closed
markvandenbrink opened this issue Oct 8, 2015 · 5 comments · Fixed by #35
Labels

Comments

@markvandenbrink
Copy link

Hi everyone,

I have a strange problem with tslint. The linter works great, but only for my complete project (or the currently opened files). The file tab remains always empty and the linter warnings are not displayed for the current file:

151008-tslint

I was wondering if anybody else experienced the same "problem"... Any ideas on what could be the cause?

@Arcanemagus
Copy link
Member

Disregard that comment, it was meant for #33.

@Arcanemagus
Copy link
Member

@markvandenbrink This would only happen if tslint for some reason doesn't return the file path when getFileName() is called on one of its failure messages. Could you provide steps to reproduce this?

@davherrmann
Copy link

Seems to be a problem related to backslashes in the path - should be specific to Windows:

  • textEditor.getPath() returns a path with backslashes
  • failure.getFileName() returns a path with forward slashes

Those two obviously aren't matching...

@Arcanemagus
Copy link
Member

v0.4.3 published which should fix this thanks to @david-driscoll, please file any further issues you find and thanks for reporting this!

@markvandenbrink
Copy link
Author

Sorry for my delayed response. The problem is solved indeed! Thank you all!

@Arcanemagus Arcanemagus added the bug label Jan 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants