An unofficial VS Code extension providing comprehensive support for Amper projects.
- Auto-completion for
module.yamlfiles - Type validation based on Amper's schema
- Hover documentation extracted from Amper source code
- Automatic schema updates via Rust-based extractor tool
- Browse Amper modules in a dedicated Activity Bar view
- Custom Icons: Specific icons for Android, iOS, JVM, and Server modules
- Rich Tooltips: Detailed module info and documentation on hover
- Inline actions: Run, Test, Build, Clean
- Initialize Project: New project wizard with dynamic template discovery
- Welcome View: Quick actions available when no project is open
- Dependency Tree View: Interactive, hierarchical view of project dependencies (resolved via
amper show dependencies) - Conflict Highlighting: Automatic detection and warning for version conflicts
- Smart Status Bar: Displays Amper version and project module count
- JDK Manager: View Amper-provisioned JDK versions and paths
- Cache Management: Clean bootstrap and shared caches easily
- Convert Maven projects to Amper with one command
- Context menu on
pom.xmlfiles
- Seamless integration with VS Code Task system
- Build, run, and test directly from the editor
- Problem matchers for Kotlin compiler errors
This extension includes a Rust-based schema extractor that generates JSON Schema directly from Amper's Kotlin source code. This ensures the schema is always up-to-date with Amper's latest version.
To update the schema when Amper is updated:
npm run extract-schemaAlternatively, use the building script:
cd tools/schema-extractor
./build.ps1See Schema Extraction Guide for details.
- Amper installed in your project (via wrapper scripts)
- JDK (automatically provisioned by Amper)
- Rust (optional, only needed to rebuild the schema extractor)
Amper: Check Version- Display the current Amper versionAmper: Initialize Project- Create a new Amper projectAmper: Convert Maven Project- Convert a Maven project to AmperAmper: Update Amper- Update the Amper wrapperAmper: Clean Shared Caches- Clean global Amper cachesAmper: Clean Bootstrap Cache- Clean JRE/distribution cachesAmper: Show JDK Info- Display JDK informationAmper: Refresh Dependencies- Manually refresh the dependency tree view
- Open an Amper project or initialize a new one
- The extension will automatically detect
module.yamlfiles - Use the Amper Explorer in the Activity Bar to browse modules
- Right-click on modules to run, test, or build
npm install
npm run compileWhen the Amper submodule is updated:
# Update submodule
git submodule update --remote vendor/amper
# Rebuild schema
cd tools/schema-extractor
./build.ps1
# Commit changes
git add schemas/module-schema.json
git commit -m "chore: update schema for Amper vX.Y.Z"- Roadmap - Development roadmap
- Dependency Tree Implementation - Details on the dependency tree view
- Amper CLI Reference - Amper commands
- Schema Extraction - Technical details of schema generation
- Quick Start Guide - Using the schema extractor
- This is an unofficial extension and may not support all Amper features
- Schema extraction requires Rust toolchain (only for developers)
Contributions are welcome! Please check the Roadmap for planned features.
See CHANGELOG.md for release history.
MIT License - See LICENSE for details.
Note: This is an unofficial community extension. For official Amper support, see the Amper documentation.
Enjoy! 🎉