vscode-textlint icon indicating copy to clipboard operation
vscode-textlint copied to clipboard

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

Open azu opened this issue 2 years ago • 3 comments

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

azu avatar Jul 16 '23 02:07 azu

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 avatar Aug 30 '23 08:08 piranna

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

piranna avatar Oct 12 '23 06:10 piranna

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.

piranna avatar Mar 10 '24 11:03 piranna