Extension for VS Code that provides autocomplete for MapComplete themes and layers.
Find a file
Robin van der Linde 0f01b73c22 ♻️ Rework utils and color
2025-01-04 15:12:57 +01:00
.github ⬆️ Bump actions/checkout from 2 to 4 2024-12-31 23:03:10 +01:00
.vscode 🎉 Initial commit 2024-12-31 22:53:56 +01:00
images 📝 Update documentation 2025-01-01 22:41:24 +01:00
src ♻️ Rework utils and color 2025-01-04 15:12:57 +01:00
types ♻️ Rework utils and color 2025-01-04 15:12:57 +01:00
.gitignore 🎉 Initial commit 2024-12-31 22:53:56 +01:00
CHANGELOG.md 📝 Update documentation 2025-01-01 22:41:24 +01:00
eslint.config.mjs 🎉 Initial commit 2024-12-31 22:53:56 +01:00
LICENSE.md 📝 Update documentation 2025-01-01 22:41:24 +01:00
package-lock.json ♻️ Rework utils and color 2025-01-04 15:12:57 +01:00
package.json ♻️ Rework utils and color 2025-01-04 15:12:57 +01:00
README.md ✏️ Fix heading 2025-01-03 00:19:49 +01:00
tsconfig.json 🎉 Initial commit 2024-12-31 22:53:56 +01:00

MapCompleteVScode

This is a Visual Studio Code extension for MapComplete. It adds autocompletion and defintion support for the MapComplete theme and layer configuration files.

Not everything is supported yet, but currently the following features are supported:

  • Autocompletion for the layer names
  • Definition support for the layer names
  • Definintion support for icons
  • Autocompletion for tagRenderings in questions.json
  • Definition support for tagRenderings
  • Autocompletion for filter keys in questions.json
  • Definition support for filter keys
  • Definition support for paths in license_info.json files

Demo showing autcomplete for layers and icon definition

All notable changes to this project are documented in the CHANGELOG file.

Installation

The extension can be installed in several ways:

From the Visual Studio Code marketplace

You can install this extension from the Visual Studio Code marketplace. Just search for "MapComplete" and you should find it.

Alternatively you van press Ctrl+P and paste the following command:

ext install robin-van-der-linde.mapcompletevscode

From Open VSX

You can also install the extension from the Open VSX registry. Just search for "MapComplete" and you should find it.

From the .vsix file

You can also install the extension from the .vsix file. You can download the latest version from the releases page. After downloading the .vsix file, you should be able to install it by going to extensions in Visual Studio Code and clicking on the three dots in the top right corner. Then click on "Install from VSIX..." and select the downloaded .vsix file.