Skip to content

Latest commit

 

History

History
75 lines (62 loc) · 3.25 KB

README.md

File metadata and controls

75 lines (62 loc) · 3.25 KB

Version Badge License Badge

Unblockt

Kotlin Language Support for Visual Studio Code

Note: This extension is in its early stages and does not yet support all build systems or Kotlin features. It may also be unstable — please report any issues or unexpected behavior you experience. For more details, see the limitations section.

Your feedback is invaluable — please report any issues you encounter.

Installation

  1. Install the Unblockt extension from the Visual Studio Code Marketplace.
  2. Open any .kt or .kts file to activate the extension.

Upon activation, the extension will:

  • Launch the language server
  • Read the project structure using Gradle
  • Index project files to enable code insight features

Once indexing is complete, you're ready to code!

Basics

  • Memory Widget: A widget in the bottom right corner displays current memory usage.
    Memory widget
  • Unblockt Actions: Click the widget to access a list of actions.

Requirements

  • Java
  • Memory: Minimum 4GB, 8GB recommended

Settings

  • Memory: Configure the language server's heap size (in MB). Restart required.
    Memory settings

Features

  • Semantic Highlighting
    Semantic highlighting
  • Code Completion
    Code completion
  • Go to Definition
    Go to definition

Actions

  • Reload Gradle Project: Updates project structure from Gradle and applies changes.
  • Rebuild Indexes: Clears and rebuilds project indexes.

Limitations

  • Only Gradle projects are supported.
  • Only default source code locations are supported for source sets.
  • Code analysis for Gradle build scripts is not available.
  • Gradle Kotlin plugin version 2.1.0 or later is required for non-JVM projects.

Roadmap

Future features will depend on user feedback. Currently planned:

  • Find Usages
  • Rename Refactoring
  • Standalone Language Server

Feedback

Please, use GitHub Issues to report any feedback.

Our Goal

We want developers to enjoy working with Kotlin without having to change their habits.
To achieve this, we aim to create yet another high-quality tool for Kotlin development, including a standalone Language Server implementation.

Open source software used