ds-nteligen opened a new issue, #1083:
URL: https://github.com/apache/daffodil-vscode/issues/1083
{Sev: blocker}
There is a problem with "/" being typed. I know it is trying to detect
closing the element, but it has to be context sensitive since "/" is such a
common character to appear inside strings.
To reproduce, at the top level of the schema, try typing `<xs:include
schemaLocation="/` (i.e., a string that begins with a "/" character).
The GUI refuses to let you do this. It removes the quotation marks and
anything you've typed inside them.
Additionally, attemp typing `<xs:include schemaLocation="" />` then going
back and putting a "/" inside the quotes.
Again the editor refuses, removes the quotes, removes the "/" just typed.
Single quotes result in no improvement.
Attempted typing some characters e.g., `'abc/` and the plugin immediately
reacts to the "/" character being typed, and deletes the string and quotation
mark.
Re-opened the file from scratch. There is a line like this:
`<xs:include
schemaLocation="org/apache/daffodil/xsd/DFDLGeneralFormat.dfdl.xsd"/>`
If you position the cursor before `org` and type "/", and it removes the
entire path.
If you hit Ctrl-Z to undo, it puts the text back, including the new leading
"/" character. But this is not a workaround.
--
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]