You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
In the April 2017 (version 1.12) release of vscode it is possible to hold down CTRL and click an error message in the integrated console to go to the line of the error. See the announcement here. I think it just searches for the pattern like filename.extension(line, col).
Now this work with tsc becuase it outputs it's errors with paranthesis for the line and column like this:
src/foo.ts(69,22): error TS2304: Cannot find name 'bar'
However tslint outputs brackets instead so it does not work with vscode. Like this:
ERROR: src/foo.ts[61, 28]: Missing semicolon
I suggest that tslint use parenthesis same as tsc so it is compatible with vscode out-of-the-box.
The text was updated successfully, but these errors were encountered:
makes sense. this should probably be implemented as a new "vscode" formatter so that we don't break the existing formatter output (who knows what people are doing with it...)
FWIW, the msbuild formatter (included with TSLint) does just that and is compatible with the latest release of VSCode.
Simply pass the -t msbuild argument as per the documentation.
In the April 2017 (version 1.12) release of vscode it is possible to hold down CTRL and click an error message in the integrated console to go to the line of the error. See the announcement here. I think it just searches for the pattern like
filename.extension(line, col)
.Now this work with tsc becuase it outputs it's errors with paranthesis for the line and column like this:
However tslint outputs brackets instead so it does not work with vscode. Like this:
I suggest that
tslint
use parenthesis same as tsc so it is compatible with vscode out-of-the-box.The text was updated successfully, but these errors were encountered: