This extension provides support for reading and writing LiPD (Linked Paleo Data) files in Visual Studio Code.
- Open and view LiPD (.lpd) files directly in VS Code
- Interactive editor with form-based editing of all LiPD properties
- Map visualization for location data using Mapbox
- Create new empty LiPD files
- Edit datasets with built-in undo/redo functionality
- Export CSV data from data tables
- NEW! LiPD Explorer view to browse remote datasets from a GraphDB SPARQL endpoint
- Visual Studio Code 1.85.0 or higher
- Internet connection for accessing remote datasets
You can install the extension directly from the VS Code Marketplace:
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "LiPD File Support"
- Click Install
- Double-click on any
.lpd
file in your workspace to open it in the custom editor - You can also right-click on a
.lpd
file and select "Open With..." > "LiPD Editor" - Browse and open remote datasets through the LiPD Explorer view in the activity bar
-
Click on the LiPD logo in the activity bar to open the LiPD GraphDB Explorer
-
Configure the GraphDB endpoint by clicking on the settings icon or through the status bar
-
Browse available datasets from the configured GraphDB endpoint
-
Click on any dataset to open it directly from the remote database
-
Use the refresh button to update the dataset list
-
Save the LiPD file locally by clicking on "Save" or "Save As" icon
-
Sync a remote (or Local) dataset with GraphDB by clicking on the "Sync" icon
- Create a new file with a
.lpd
extension - An empty dataset will be created automatically
- Navigate through the dataset using the tree view
- Edit fields directly in the form
- Map locations can be set by dragging the marker or entering coordinates
- All changes support Undo (Ctrl+Z) and Redo (Ctrl+Y)
- Save changes with Ctrl+S (Cmd+S on macOS)
- Use File > Save As... to save to a new location
The LiPD GraphDB Explorer allows you to connect to a remote GraphDB SPARQL endpoint and browse, search, and open datasets stored in the database.
- Connect to any compatible GraphDB SPARQL endpoint
- Browse all available datasets in a tree view
- Search for datasets by name, location, or time period
- Open remote datasets directly in the VS Code editor
- Save remote datasets to local files
-
Configure your GraphDB URL in the settings:
-
Once connected, the explorer will display available datasets from the database
- The connection status is shown in the status bar
- Click the refresh button to update the dataset list
The search box at the top of the LiPD Explorer view allows you to filter datasets:
- Search by dataset name, location, or time period
- Results are filtered as you type
- Click any result to open it in the editor
When you open a remote dataset, it is loaded into a special editor:
- You can view and edit the dataset just like local files
- Remote datasets are indicated with "(Remote)" in the title bar
- Use Save As to download a remote dataset to your local file system
This extension contributes the following settings:
lipd.graphDbUrl
: URL of the GraphDB SPARQL endpoint for remote LiPD datasets
- LiPD-JS : This is a javascript library to read/write LiPD files. This extension uses this library.
- PyLiPD : This is a python library to read/write LiPD files
- Some complex LiPD structures may not be fully supported yet
- Currently, the extension works best with relatively small to medium-sized LiPD files
Contributions are welcome! Please feel free to submit a Pull Request to the GitHub repository.
This extension is licensed under the MIT License - see the LICENSE file for details.