-
Notifications
You must be signed in to change notification settings - Fork 91
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
Allow code actions to be created if no Diagnostics is provided #1516
Milestone
Comments
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 8, 2023
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 9, 2023
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 9, 2023
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 9, 2023
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 10, 2023
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 10, 2023
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 10, 2023
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 11, 2023
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 11, 2023
vrubezhny
added a commit
to vrubezhny/lemminx
that referenced
this issue
May 15, 2023
angelozerr
pushed a commit
that referenced
this issue
May 15, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently
org.eclipse.lemminx.services.XMLCodeActions.doCodeActions(CodeActionContext, Range, DOMDocument, SharedSettings, CancelChecker)
requires a Diagnostics to be explicitly set in CodeActionContext in order to acquire code actions fromICodeActionParticipant'
-s defined.This doesn't allow the creation of
CodeAction
-s that do not require any error/warning/info/etc. diagnostic for a document range, like, for example, for refactoring or code snippets.In order to allow the creation of code actions for any document position (even if there is no any diagnostic is created for such a position) we need to make diagnostics to be optional in
XMLCodeActions.doCodeActions(...)
The text was updated successfully, but these errors were encountered: