Thank you for your interest in contributing to the Dracula Theme! This document will help you get started with development and debugging.
-
Clone the repository
git clone https://github.com/dracula/jetbrains.git cd jetbrains -
Import into IntelliJ IDEA
- Open IntelliJ IDEA Ultimate
- Select "Open" or "Import Project"
- Choose the cloned directory
- Select "Import project from external model" β "Gradle"
- Follow the import wizard
- JDK 17 or later
- Python 3.10 or later
- IntelliJ IDEA Ultimate 2024.1 or later
Install these IntelliJ IDEA plugins for comprehensive language support and debugging:
| Plugin | Purpose |
|---|---|
| Scala | Scala language support and syntax highlighting |
| Python | Python language support and syntax highlighting |
| Ruby | Ruby language support and syntax highlighting |
| PHP | PHP language support and syntax highlighting |
| Go | Go language support and syntax highlighting |
dracula-theme/
βββ src/main/
β βββ kotlin/ # Plugin logic
β βββ resources/
β βββ themes/ # Theme files (.xml, .theme.json)
β βββ META-INF/ # Plugin metadata
βββ build.gradle.kts # Build configuration
βββ README.md
- Color Schemes: Located in
src/main/resources/themes/ - UI Themes: Defined in
.theme.jsonfiles - Editor Schemes: Defined in
.xmlfiles
# Run IDE with plugin for testing
./gradlew runIde
# Verify plugin compatibility
./gradlew verifyPlugin
# Create plugin distribution
./gradlew buildPluginDracula.xml- Classic color schemeDraculaColorful.xml- Colorful variantDraculaAlucard.xml- Alucard variant
Dracula.theme.json- Classic UI themeDraculaColorful.theme.json- Colorful UI themeDraculaAlucard.theme.json- Alucard UI theme
{
"colors": {
"accentColor": "#ff79c6",
"secondaryAccentColor": "#bd93f9",
"primaryForeground": "#f8f8f2",
"primaryBackground": "#414450",
"selectionBackground": "#44475a"
}
}- Set breakpoints in Kotlin files
- Use IntelliJ's built-in debugger
- Check the IDE log for errors
- Use IntelliJ's "Settings" β "Editor" β "Color Scheme" to preview changes
- Test with different file types and languages
- Verify contrast ratios for accessibility
- Theme not loading: Check plugin.xml configuration
- Colors not applying: Verify color scheme inheritance
- Build failures: Ensure JDK 11+ is being used
git checkout -b feature/your-feature-name- Edit theme files in
src/main/resources/themes/ - Update plugin logic in
src/main/kotlin/ - Test thoroughly with different languages
- Build the plugin:
./gradlew buildPlugin - Install the plugin in a test IntelliJ instance
- Test with various file types and languages
- Fork the repository
- Push your changes to your fork
- Create a pull request with a clear description
- IntelliJ Platform SDK - Complete guide to theme development
- Gradle IntelliJ Plugin - Build system documentation
- Dracula Theme - Official Dracula theme website
- IntelliJ Platform Plugin SDK - Plugin development guide
Please be respectful and inclusive when contributing. We welcome contributions from developers of all skill levels and backgrounds.
By contributing to this project, you agree that your contributions will be licensed under the same license as the project.
Need help? Open an issue on GitHub or join our community discussions!