michael-hoke commented on code in PR #117:
URL: https://github.com/apache/daffodil-vscode/pull/117#discussion_r887041068


##########
src/language/semantics/xsltSnippets.ts:
##########
@@ -0,0 +1,178 @@
+/*---------------------------------------------------------------------------------------------
+ *  Licensed under the MIT License. See License.txt in the project root for 
license information.
+ 
*--------------------------------------------------------------------------------------------*/
+
+export interface Snippet {
+  name: string
+  body: string
+  description: string
+}
+
+export class XSLTSnippets {
+  static xsltRootTags: Snippet[] = [

Review Comment:
   I have been using the official PNG schema for my testing. 
https://github.com/DFDLSchemas/PNG/blob/master/src/main/resources/com/mitre/png/xsd/png.dfdl.xsd
   
   Starting on Line 53, you can see a section of XPath. Without semantic 
highlighting, this whole section will be highlighted as if it were just another 
string. Unless the semantic highlighting is just running on the whole file and 
ignoring the syntactic highlighting?
   
   For the tag highlighting, the yellow underline should show up, and I added 
code for the status bar that showed the current element and all parents - not 
sure if that is done automatically or not.



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