JeremyYao commented on code in PR #1502: URL: https://github.com/apache/daffodil-vscode/pull/1502#discussion_r2703542506
########## src/language/intellisense-development.md: ########## @@ -149,10 +147,35 @@ Hover tooltips can be found under `attributeHoverValues()` in `attributeHoverIte - `getAttributeCompletionProvider()`: DFDL document provider - `getTDMLAttributeCompletionProvider()`: TDML document provider - `getDefinedTypes()`: Scans for xs:simpleType and xs:complexType declarations -- `prunedDuplicateAttributes()`: Removes attributes already present on element +- `prunedDuplicateAttributes()`: Removes attributes already present on the element **Trigger:** Space (` `) or newline (`\n`) +##### attributeHover.ts + +**Purpose:** Hover provider that displays documentation tooltips when users hover over DFDL/XSD attribute names. The attribute's tooltips are obtained from `attributeItems.ts` + +**Key Functionality:** + +- Provides rich formatted documentation for DFDL properties and XSD attributes +- Displays attribute descriptions, valid values, usage examples, and spec references +- Handles both prefixed (dfdl:property) and unprefixed attribute names +- Integrates with DFDL specification data Review Comment: Good catch! I agree with this. I'll omit the `- Integrates with DFDL specification data` line. -- 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]
