deadem / notepad-pp-linter

Notepad++ Linter. Realtime code check against any checkstyle-compatible linter: jshint, eslint, jscs, phpcs, csslint etc
MIT License
37 stars 7 forks source link

Folder as workspace blinking #18

Closed da411d closed 4 years ago

da411d commented 4 years ago

Folder-as-workspace blinkeing when linter is analyting because of temp file. It is annoying. Could you change temp file to some default temp folder, please?

image

deadem commented 4 years ago

Hmmm. Yep, this is ugly hack and I'm don't have any good solution. But I can try to add some config settings for temp directory and search the linter config in parent directories by myself.

da411d commented 4 years ago

@deadem still waiting for fix

deadem commented 4 years ago

@da411d I don't like the idea with temp folder and search config... This broke checking the dependencies. Does "Folder-as-workspace" show the hidden files? Maybe hidden attribute can solve the problem?

da411d commented 4 years ago

Just checked it, no:( Folder-as-workspace displays "hidden" and "system" files as well

da411d commented 4 years ago

Maybe you can pass code using stdin instead of file?

da411d commented 4 years ago

Eslint supports it: https://eslint.org/docs/user-guide/command-line-interface

deadem commented 4 years ago

Fixed in 700b00d2965c83e5c2ee715beb387b1acd20dba5

You can get update from https://github.com/deadem/notepad-pp-linter/tree/master/bin or https://sourceforge.net/projects/notepad-linter/

deadem commented 4 years ago

<linter stdin="1" extension=".js" command="C:\Users\deadem\AppData\Roaming\npm\eslint.cmd --stdin --format checkstyle"/>```