rt320 commented on issue #366:
URL:
https://github.com/apache/daffodil-vscode/issues/366#issuecomment-1439804251
The following items mentioned above have been fixed in PR #458 :
> I found that the intellisense seems keyed to writing new schemas
from the start. E.g., if you type this:
<xs:element name="foo"
And then ctrl-space will give you DFDL property choices. But if you type:
<xs:element name="foo" />
Then position the cursor just before the "/>" and ctrl-space, the offerings
are for top-level annotations, not properties.`
- Intellisense suggestions should now work when the cursor is between any
opening '<' and closing '>' brackets.
- Intellisense should also be sensitive to the dfdl/xsd item with the
brackets and suggest appropriate completion items.
> After some time intellisense stopped working. I could easily get it into a
mode where any Ctrl-Space to see completions just puts up a box saying
"Loading..." which never goes away unless you select some other window or
hit escape. Other modes it got stuck in were where I selected an option
from the intellisense choices offered, but nothing was inserted, just a
blank line added. I had to restart VSCode in these cases.
- This seems to be caused be a process stuck in a loop. The new logic to
determine context fixes this issue.
> My preferred style for writing DFDL schemas now is using no "xs:"
prefixes on elements at all
- Hard coded prefixes, other than required 'dfdl' prefixes have been
removed. Prefixes are added no only if the 'schema' element includes a prefix.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]