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

editor: problem matcher for oxlint errors #6587

Open
sschneider-ihre-pvs opened this issue Oct 15, 2024 · 6 comments
Open

editor: problem matcher for oxlint errors #6587

sschneider-ihre-pvs opened this issue Oct 15, 2024 · 6 comments
Labels
A-editor Area - Editor and Language Server A-linter Area - Linter C-enhancement Category - New feature or request good first issue Experience Level - Good for newcomers

Comments

@sschneider-ihre-pvs
Copy link

What version of Oxlint are you using?

0.9.9

What command did you run?

No response

What does your .oxlint.json config file look like?

No response

What happened?

It would be great if there would be a problem matcher to transfer the found issues to the problems tab

@sschneider-ihre-pvs sschneider-ihre-pvs added A-linter Area - Linter C-bug Category - Bug labels Oct 15, 2024
@DonIsaac DonIsaac added C-enhancement Category - New feature or request good first issue Experience Level - Good for newcomers and removed C-bug Category - Bug labels Oct 15, 2024
@shulaoda
Copy link
Contributor

I think we have this feature. What are your specific requirements? Could you describe it?

image

@sschneider-ihre-pvs
Copy link
Author

If I want a task like a watcher task for the complete codebase for example.

@DonIsaac DonIsaac changed the title linter: FR: problem matcher for oxc error editor: problem matcher for oxlint errors Oct 16, 2024
@nrayburn-tech
Copy link
Contributor

Does the language server support something like this? A way to request all issues for the entire workspace?

Is the Problems tab in VS Code the right place for this? From what I can tell, only problems for open files show there. Are there any other plugins that show problems there for files that are not opened?

@DonIsaac
Copy link
Collaborator

We'd have to register a problemMatcher capability in our package.json

@DonIsaac DonIsaac removed their assignment Oct 19, 2024
@DonIsaac DonIsaac added the A-editor Area - Editor and Language Server label Oct 19, 2024
@nrayburn-tech
Copy link
Contributor

Does the language server support something like this? A way to request all issues for the entire workspace?

Any idea on this @DonIsaac ?

I can probably come up with some workarounds like identifying all files and requesting diagnostics for each, but I’m not sure if there is a better alternative.

@nrayburn-tech
Copy link
Contributor

Does the language server support something like this? A way to request all issues for the entire workspace?

Any idea on this @DonIsaac ?

I can probably come up with some workarounds like identifying all files and requesting diagnostics for each, but I’m not sure if there is a better alternative.

Looking at the problem matcher, this probably isn’t relevant for VS Code, but I do think it is for IntelliJ. I’ll review it some more and make an IntelliJ specific issue when I know some more about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-editor Area - Editor and Language Server A-linter Area - Linter C-enhancement Category - New feature or request good first issue Experience Level - Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants