-
Notifications
You must be signed in to change notification settings - Fork 36
Tslint stops working sometimes VS Code inside of network drive #55
Comments
sounds like it could be related to microsoft/typescript-tslint-plugin#32 |
I don't know much about windows network drives but please try collecting the TS Server log to help investigate:
Look through that log file for errors or stack traces. If you can share the log, I can also take a look to see if anything stands out
|
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 , it doesn’t recognize that the error is fixed, and sometimes stops working altogether requiring a vscode restart. |
@mjbvz Yes, this is the problem I'm facing. The problem seems to be hanging during linting. At least, in the few times that I've looked at the logs when it hangs, the last thing the log will record is linting, and nothing more ever again, like the process just hang or was killed. |
@mjbvz I'd love to give logs, but they are not so easy to scrub. :( |
@chrants Can you share the logs privately then? Also, does normal TS intellisense work properly (without this plugin installed) when you work on a network drive? See microsoft/TypeScript#31817 for example |
Although I'm not using a network drive, I have to restart VS code every 20 minutes or so when I do editing work because the linter stop working. The only thing I can see in the log is the following:
as you can see after the last entry there is nothing and my VS code shows me a bunch of errors that do not go away. IntelliSense is not working anymore at this point either (It shows a "Loading..." tooltip and nothing more). |
Is there a way to add even more logging in the typescript-tslint-plugin to figure out where it is stuck? |
Closing as TSLint has been deprecated in favor of ESLint and this extension is no longer being maintained Please look into migrating to use ESLint and the ESLint VS Code extension |
Uh oh!
There was an error while loading. Please reload this page.
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.The text was updated successfully, but these errors were encountered: