woldner/VisualLinter

VisualLinter keeps getting disabled by Visual Studio 2017

Closed this issue · 5 comments

Installed product versions

  • Visual Studio: 2017 Profressional (running as administrator)
  • This extension: 1.0.198
  • Windows 10 x64

Description

VisualStudio keeps disabling the extension for me, If i enable VisualStudio linter and restart Visual Studio, it mostly is active.
After working a while with .js-files, the next day i start visual studio VisualLinter is disabled.
Yesterday i got a warning of that some typescript-file had caused errors and would be disabled, so i had a thought there could be some underlying exceptions with this extension or it being in conflict with another extension/function in visual studio.
Sorry this is quite vague, but maybe someone has experienced this?

Steps to recreate

  1. Enable VisualLinter
  2. .eslintrc.js and .eslintignore Exists in my root folder
  3. Work some in javascript files, save and trigger linting.
  4. Shut down Visual Studio
  5. Open Visual Studio again, go to Tools > Extensions and updates.. > Installed > VisualLinter is now disabled

Current behavior

VisualLinter should be enabled but is not

Expected behavior

VisualLinter should be enabled until i choose to disable it

@magkal This problem could be caused by having multiple versions of the same extension installed. Before I investigate further, could you ensure that you only have one version of the extension installed?
Thanks!

I don't have it installed for multiple versions of Visual Studio if that's what you mean. Just for Visual Studio 2017, however I've upgraded the extension a couple of times.
Did some googling and couldn't find anything pointing me in a direction how to see if the extension is installed in more than one version in the same version of Visual Studio.

@magkal in Visual Studio under Tools > Extensions and Updates... in the list Installed, are there multiple entries of Visual Linter?
Tip: you can filter extension in the list by using Search (Ctrl+E) in the top right.

There is just one entry of VisualLinter there.

@magkal have you tried reinstalling the extension through Tools > Extensions and Updates...?
If that does not help, check out this thread which could help solve your problem: madskristensen/WebEssentials2013#1959

Since this problem seem to have nothing to do with Visual Linter, I'll go ahead and close this issue.
If you're still having problems after reading the thread above, post back here and I'll see if I can guide you further in identifying the source of the problem!