XML Column Adder is a lightweight Visual Studio Code extension designed to simplify editing XML files by allowing users to quickly add a <column> tag at the end of their XML documents. It is perfect for developers, testers, or anyone who frequently works with structured XML data and wants to automate repetitive editing tasks.
Features
✅ Add columns to XML tables with custom names and default values
✅ Remove columns from XML tables
✅ Multi-table support - works with documents containing multiple tables
✅ Smart table detection - automatically identifies all tables in your document
✅ Interactive table selection - choose which table to modify
✅ Column name validation - ensures valid column names
What's New in 1.1.0
🎉 Multi-table support: Now handles XML documents with multiple tables
🎯 Table selection interface: Choose which table to modify from a list
📊 Table information display: See column count and row count before selecting
🔧 Improved header detection: Works with various table header formats
Installation
You can install XML Column Adder in this way:
1. From VSIX (local installation)
Make sure you have the .vsix file (e.g., xml-column-adder-1.0.0.vsix).
Open Visual Studio Code.
Press Ctrl+Shift+P (or Cmd+Shift+P on macOS) to open the Command Palette.
Type Extensions: Install from VSIX... and select it.
Browse to the location of the .vsix file and select it.
The extension will be installed and ready to use.
Usage for Adding
Open any .xml file in VS Code.
Press Ctrl+Shift+P (or Cmd+Shift+P on macOS) to open the Command Palette.
Type and select XML: Add Column.
A new <column> tag will be automatically added to the end of the root element in the XML file.
You will see a confirmation message in the VS Code notification area.
Usage for Removing
Open any .xml file in VS Code.
Press Ctrl+Shift+P (or Cmd+Shift+P on macOS) to open the Command Palette.
Type and select XML: Remove Column.
Select the <column> to remove.
You will see a confirmation message in the VS Code notification area.