Skip to content

Commit

Permalink
Comment where xsi compeltions must be done (see #163)
Browse files Browse the repository at this point in the history
  • Loading branch information
angelozerr committed Nov 3, 2018
1 parent 5c8bb41 commit 0615cc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ private void fillWithChildrenElementDeclaration(Collection<CMElementDeclaration>
@Override
public void onAttributeName(boolean generateValue, Range fullRange, ICompletionRequest request,
ICompletionResponse response) throws Exception {
// TODO: manage xsi: completions

// otherwise, manage completion based on XML Schema, DTD.
Element parentElement = request.getNode().isElement() ? (Element) request.getNode() : null;
if (parentElement == null) {
return;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ public class XSDCompletionParticipant extends CompletionParticipantAdapter {
@Override
public void onAttributeName(boolean generateValue, Range fullRange, ICompletionRequest request,
ICompletionResponse response) throws Exception {
// TODO: manage xsi: completions
// TODO: manage compeltion for types declared in XML Schema xsd
}
}

0 comments on commit 0615cc5

Please sign in to comment.