taichi / vscode-textlint

https://marketplace.visualstudio.com/items?itemName=taichi.vscode-textlint
MIT License
60 stars 19 forks source link

The OUTPUT panel opens automatically in workspaces where textlint is not installed. #66

Open azu opened 1 year ago

azu commented 1 year ago

If vscode-textlint is installed, the OUTPUT panel will automatically open if you open a workspace that does not use textlint.

This appears to be due to an error output from the extension, which causes the OUTPUT panel to open. However, this is not an error because you are not actually using textlint.

Therefore, it would be correct to make it a Warning or Info instead of an error log.

Reproduce

  1. Install vscode-textlint
  2. Open non-textlint project
  3. Show "OUTPUT" automaticaly
image
piranna commented 1 year ago

Related to this, I'm getting ERROR outputs because the textlint executable is not found, both in the project or globally. I think that if .textlint file is not found at all, it should not try to find the binary either, because the project is not making using textlint anyway.

piranna commented 1 year ago

Any update on this? How can we move it forward besides remove the extension? This issue is very annoying... :-(

piranna commented 8 months ago

Related to this, I'm getting ERROR outputs because the textlint executable is not found, both in the project or globally. I think that if .textlint file is not found at all, it should not try to find the binary either, because the project is not making using textlint anyway.

What I meant with that, is that in addition of the output panel being shown by using error instead of warning, the actual issue provoquing that is textlint executable is not found, that can be considered that's actually an error, but if there's no .textlint file, that's a totally acceptable use case that should show a warning instead, but the executable should not be looked at all.