-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Open
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When using LSP in Opencode, the built-in PHP Intelephense is flagging WordPress native functions as undefined and blocking edits. This causes the agent to behave strangely and wastes context.
The way this is handled in VScode, etc, is by adding WordPress (or any php project) stubs, so that the linter doesn't flag them.
It does not seem that the current built-in LSP system provides a way to suppress these warnings, without disabling the feature
I would love to be able to use the feature, without the faulty linter warnings that block agent edits.
Let me know if I am missing the way to achieve this if it does already exist.
Metadata
Metadata
Assignees
Labels
discussionUsed for feature requests, proposals, ideas, etc. Open discussionUsed for feature requests, proposals, ideas, etc. Open discussion