Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

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

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
Member

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
Collaborator

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
Contributor

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
Collaborator

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
Collaborator

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.

@oxc-project oxc-project locked and limited conversation to collaborators Dec 10, 2024
@Boshen Boshen converted this issue into discussion #7778 Dec 10, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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