Hi Roger, I agree a document that shows the dependencies in DFDL would be useful. As part of the auto-completion extension I can start and add to a document as the extension progresses. I added an animated GIF that shows an implementation of auto completion for default dfdl:format to the Jira issue https://issues.apache.org/jira/browse/DAFFODIL-2593<https://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FDAFFODIL-2593&data=04%7C01%7Cregis.thomas%40nteligen.com%7C1ac93945242743638efb08d9b439e8d3%7C379c214c5c944e86a6062d047675f02a%7C0%7C0%7C637738983086370660%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=uVWyZPT0WkOxjqb4tj%2F55gyqkvl9ajhH6ilZUEYn3Rg%3D&reserved=0>. Mike Beckerle made some comments in the Jira issue also. If you get a chance to look at the GIF and the comments, I'd appreciate your comments or those from anyone else.
Regis From: Roger L Costello <coste...@mitre.org> Sent: Tuesday, November 30, 2021 2:45 PM To: users@daffodil.apache.org Subject: RE: RE: Feedback on VS Code extension for Auto-Completion of DFDL Schemas Hi Regis, If you could do this: Create a document that shows all the dependencies in DFDL: If an element is declared with DFDL property 1 with value A, then the element must also have DFDL property 2 with value B and DFDL property 3 with value C. Such a document would be a goldmine! /Roger From: Regis Thomas <regis.tho...@nteligen.com<mailto:regis.tho...@nteligen.com>> Sent: Tuesday, November 30, 2021 2:36 PM To: users@daffodil.apache.org<mailto:users@daffodil.apache.org> Subject: [EXT] RE: Feedback on VS Code extension for Auto-Completion of DFDL Schemas Hello Roger, I hope to be able to limit the items returned based on attributes as the attributes are selected. I currently have a space (the blank character) setup as completion trigger. Whenever a space is typed the completion code looks to see if the schema location is within an element block, if it is, the code returns a list of attributes that can be used in an element. I think this code can be added to, to test for attribute values within the element block to increasingly limit the available attributes to return. I will most likely need user input as to what addition attributes should be presented based on what attributes are already selected. It will probably be a work in progress for a while. I could probably place the code and some instructions to create the extension somewhere temporarily if anyone wants to beta test it. Regis From: Roger L Costello <coste...@mitre.org<mailto:coste...@mitre.org>> Sent: Tuesday, November 30, 2021 1:09 PM To: users@daffodil.apache.org<mailto:users@daffodil.apache.org> Subject: RE: Feedback on VS Code extension for Auto-Completion of DFDL Schemas Hello Regis, I watched your animated graphic for a while. It looks really good. Some DFDL properties are applicable only when other properties have certain values. For example, if dfdl:representation="text" then dfdl:byteOrder is not relevant. Will your syntax-directed editor be smart enough to recognize what DFDL properties are relevant in a context? /Roger From: Regis Thomas <regis.tho...@nteligen.com<mailto:regis.tho...@nteligen.com>> Sent: Tuesday, November 30, 2021 10:14 AM To: users@daffodil.apache.org<mailto:users@daffodil.apache.org> Subject: [EXT] Feedback on VS Code extension for Auto-Completion of DFDL Schemas I am looking for some feedback on a work in progress on a VS Code Extension for DFDL language auto completion. The extension is based on a TypeScript sample. n animated GIF showing a schema written with the auto completion extension is available for viewing in the Daffodil Jira https://issues.apache.org/jira/browse/DAFFODIL-2593<https://usg02.safelinks.protection.office365.us/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FDAFFODIL-2593&data=04%7C01%7Cregis.thomas%40nteligen.com%7C1ac93945242743638efb08d9b439e8d3%7C379c214c5c944e86a6062d047675f02a%7C0%7C0%7C637738983086370660%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=uVWyZPT0WkOxjqb4tj%2F55gyqkvl9ajhH6ilZUEYn3Rg%3D&reserved=0>. The extension is still "plain-text" so no key word coloration. Any feedback/suggestions appreciated. Regis Thomas Nteligen, LLC 6716 Alexander Bell Drive, Suite 120 Columbia, MD 20146 (240) 864-5042 x126 regis.tho...@nteligen.com<mailto:regis.tho...@nteligen.com>