Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide column number of spelling error #127

Open
marsfan opened this issue Oct 4, 2021 · 1 comment
Open

Provide column number of spelling error #127

marsfan opened this issue Oct 4, 2021 · 1 comment

Comments

@marsfan
Copy link

marsfan commented Oct 4, 2021

I use VS Code problem matchers to automatically add spelling issues to the Problems Pane in VS Code based on the output of this extension. Currently, the extension will only provide a line number for the spelling error. It would be very useful to also have the column number where the misspelled word starts, so that when selecting the error in the Problems pane my cursor jumps directly to the beginning of misspelled word.

I would propose simply adding the column number to be right after the line number, and separated with a colon.

Current error message:

\path\to\mistake:3: Spell check: useable: ["usable", "use able", "use-able", "saleable", "sublease"]: This might not be useable yet

Proposed addition of column:

\path\to\mistake:3:19: Spell check: useable: ["usable", "use able", "use-able", "saleable", "sublease"]: This might not be useable yet
@dhellmann
Copy link
Member

@pgerell did some work in #160 to improve the line number location reporting. You could try building on that to include the position within the line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants