michael-hoke opened a new issue, #474:
URL: https://github.com/apache/daffodil-vscode/issues/474

   There are two issues with how Intellisense is handling multi-line tags.
   
   The first issue is with the indentation of the filled in lines. For example, 
when having intellisense fill in the schema tag, the user is required to 
provide a closing angle bracket. When they do, an empty newline and a line with 
a closing tag are inserted into the document. The indentation of these pieces 
is determined by the line where the closing angle bracket was placed, and not 
by the indentation of the opening angle bracket for the multi-line tag. This is 
the reason that the elementFormDefault property is left-aligned in the schema 
tag's intellisense autocompletation
   
   
![image](https://user-images.githubusercontent.com/98563651/224776423-da6f5f38-0c2c-41a7-bff4-a20723115762.png)
   
   Expected view:
   
![image](https://user-images.githubusercontent.com/98563651/224777644-a568e67e-e785-4652-85fa-0bb488623d1c.png)
   
   
   The second issue is with non-schema tags where the user puts properties on 
multiple lines. When the closing tag is supplied, the autocompletion will back 
up 2 positions and place the closing tag there. However, this will insert the 
closing tag inside of a property value.
   
   
![image](https://user-images.githubusercontent.com/98563651/224777311-5e3c10ad-3e5e-4595-8264-8c030a560b92.png)
   
   Expected view:
   
![image](https://user-images.githubusercontent.com/98563651/224777518-ed062ca1-5cef-406a-9fc5-321611cb1e63.png)
   


-- 
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]

Reply via email to