A plugin for IntelliJ IDEA Community Edition that provides support for Apache Cassandra CQL (Cassandra Query Language).
- CQL file type support (*.cql)
- Syntax highlighting for CQL keywords and operators
- Basic code completion for CQL keywords
- Integrated Cassandra connection management
- CQL query execution with visual results display
- Support for User Defined Types (UDT) in query results
- Modern UI with loading indicators and visual feedback
- Connection testing functionality
- Configurable connection settings:
- Host(s)
- Port
- Username/Password
- Keyspace
- Local Datacenter
- Download the latest release from the JetBrains Plugin Repository
- In IntelliJ IDEA, go to Settings/Preferences -> Plugins
- Click "Install Plugin from Disk" and select the downloaded file
- Restart IntelliJ IDEA
- Open the Cassandra tool window (View -> Tool Windows -> Cassandra)
- In the Connection tab, enter your Cassandra connection details:
- Hosts (comma-separated list)
- Port (default: 9042)
- Username and Password
- Keyspace (optional)
- Local Datacenter
- Click "Save Connection" to store your settings
- Click "Test Connection" to verify connectivity
- Switch to the Query tab
- Enter your CQL query in the editor
- Click "Execute Query" or use the keyboard shortcut
- Results will be displayed in a table format below the query editor
- The table supports:
- Column resizing
- Row selection
- Proper formatting of UDT values
- Alternating row colors for better readability
- Clone the repository
- Open the project in IntelliJ IDEA
- Run the Gradle build:
- On Unix-based systems:
./gradlew buildPlugin - On Windows:
gradlew.bat buildPlugin
- On Unix-based systems:
- The plugin will be built in
build/distributions/
- Java 17 or later
- IntelliJ IDEA Community Edition or Ultimate (2023.3 or later)
- Cassandra Java Driver (included in dependencies)
Note: Gradle installation is not required as the project uses the Gradle Wrapper.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.