Class MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIEDCodeAction
java.lang.Object
org.eclipse.lemminx.services.extensions.codeaction.InsertAttributeCodeAction
org.eclipse.lemminx.extensions.contentmodel.participants.codeactions.MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIEDCodeAction
- All Implemented Interfaces:
ICodeActionParticipant
Code action to fix DTD MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIED error by
inserting missing required attributes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetCodeActionTitle(Collection<CMAttributeDeclaration> attributes) Returns the title for the code action.Methods inherited from class org.eclipse.lemminx.services.extensions.codeaction.InsertAttributeCodeAction
doCodeAction, findCMAttribute, findRequiredAttributes, getAttributesToInsert, getInsertPositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.lemminx.services.extensions.codeaction.ICodeActionParticipant
doCodeActionUnconditional, getResolveCodeActionParticipant
-
Constructor Details
-
MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIEDCodeAction
public MSG_REQUIRED_ATTRIBUTE_NOT_SPECIFIEDCodeAction()
-
-
Method Details
-
getCodeActionTitle
Description copied from class:InsertAttributeCodeActionReturns the title for the code action.- Overrides:
getCodeActionTitlein classInsertAttributeCodeAction- Parameters:
attributes- the attributes that will be inserted.- Returns:
- the code action title.
-