Skip to content

Commit 7c74896

Browse files
committed
Fix debug adapter packaging and add launch configuration documentation
- Fix .vscodeignore to include debug adapter DLL in package - Update publisher to DanielJonathan - Add sample ShipmentConf.xslt and ShipmentConf.xml files - Package now includes complete debug adapter (16.31 MB) - Extension properly registers debug adapter descriptor
1 parent 87a2e94 commit 7c74896

4 files changed

Lines changed: 62 additions & 1 deletion

File tree

.vscodeignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,14 @@ vsc-extension-quickstart.md
1313
.github/**
1414

1515
# .NET build artifacts
16-
**/bin/**
1716
**/obj/**
1817
*.user
1918
*.suo
2019
*.cache
2120

21+
# Allow debug adapter DLL
22+
!XsltDebugger.DebugAdapter/bin/Debug/net8.0/XsltDebugger.DebugAdapter.dll
23+
2224
# OS generated files
2325
.DS_Store
2426
.DS_Store?

ShipmentConf.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0"?>
2+
<shipment id="SHIP001">
3+
<date>2025-10-14</date>
4+
<status>Confirmed</status>
5+
<items>
6+
<item id="ITEM001">
7+
<description>Laptop Computer</description>
8+
<quantity>1</quantity>
9+
<price>1200.00</price>
10+
</item>
11+
<item id="ITEM002">
12+
<description>Wireless Mouse</description>
13+
<quantity>2</quantity>
14+
<price>25.00</price>
15+
</item>
16+
<item id="ITEM003">
17+
<description>USB Cable</description>
18+
<quantity>1</quantity>
19+
<price>15.00</price>
20+
</item>
21+
</items>
22+
</shipment>

ShipmentConf.xslt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3+
<xsl:template match="/">
4+
<html>
5+
<body>
6+
<h2>Shipment Confirmation</h2>
7+
<div>
8+
<h3>Shipment Details</h3>
9+
<p>Shipment ID: <xsl:value-of select="shipment/@id"/></p>
10+
<p>Date: <xsl:value-of select="shipment/date"/></p>
11+
<p>Status: <xsl:value-of select="shipment/status"/></p>
12+
</div>
13+
14+
<div>
15+
<h3>Items</h3>
16+
<table border="1">
17+
<tr>
18+
<th>Item ID</th>
19+
<th>Description</th>
20+
<th>Quantity</th>
21+
<th>Price</th>
22+
</tr>
23+
<xsl:for-each select="shipment/items/item">
24+
<tr>
25+
<td><xsl:value-of select="@id"/></td>
26+
<td><xsl:value-of select="description"/></td>
27+
<td><xsl:value-of select="quantity"/></td>
28+
<td><xsl:value-of select="price"/></td>
29+
</tr>
30+
</xsl:for-each>
31+
</table>
32+
</div>
33+
</body>
34+
</html>
35+
</xsl:template>
36+
</xsl:stylesheet>

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"displayName": "XSLT Debugger",
44
"description": "A VS Code extension for debugging XSLT using a .NET Debug Adapter.",
55
"version": "0.0.1",
6+
"publisher": "DanielJonathan",
67
"repository": {
78
"type": "git",
89
"url": "https://github.com/imdj360/XsltDebugger.git"

0 commit comments

Comments
 (0)