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.

Tslint stops working sometimes VS Code inside of network drive

See original GitHub issue

Tslint plugin stops working sometimes VS Code inside of network drive.

I have used vscode-tslint for a while on Windows 10 inside of a network drive repository (mounted via sshfs). It has always worked with type checking and intellisense, though is sometimes a bit slow.

Upon switching to the vscode-typescript-tslint-plugin I can sometimes get it to work inside of a network drive, though it is unstable, and oftentimes stops working entirely. I’m not sure how to provide logs to debug, but with some direction I could do that.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
oneillsp96commented, Mar 16, 2019

I am having the same experience locally. I thought it was just the autoFix on save feature, but I disabled that, and am still seeing the service run slow and occasionally just die, leaving me with an editor full of red squiggly errors that do not go away even after the problem is fixed (until a vscode restart). It seems to occur most often when restructuring TSX markup. For example, trying to wrap an existing div in another div. like it sees an open element, sees there is no closing element (since you haven’t typed it yet). But then when you add the closing </div>, it doesn’t recognize that the error is fixed, and sometimes stops working altogether requiring a vscode restart.

0reactions
manu-stcommented, Aug 1, 2019

Is there a way to add even more logging in the typescript-tslint-plugin to figure out where it is stuck? Or while finding a solution, have a quick way to restart the tslint engine without having to restart VS Code?

Read more comments on GitHub >

github_iconTop Results From Across the Web

TSLint not working in VS Code - typescript - Stack Overflow
After installing, reload your VS Code window, and linting should work. How I found the problem: I copied your config file into a...
Read more >
Tslint Not Working In Vs Code - ADocLib
Tslint plugin stops working sometimes VS Code inside of network drive. I have used vscodetslint for a while on Windows 10 inside of...
Read more >
My VSCode shortcuts, settings, and extensions for productivity.
enableFontLigatures - enables font ligatures or not. Keyboard Shortcuts. CTRL+SHIFT+P - show the command palette. CTRL+k CTRL+T - show the lists ...
Read more >
enable tslint in vscode - YouTube
enable tslint in vscodePreRequiste:Have typescript installed. npm install typescriptInstall tslint globally and as dev dependencynpm install ...
Read more >
rushstack/rushstack - Gitter
Would be nice if I can instruct VSCode's TSLint extension to use ... where installs randomly fail due to network issues, and will...
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