Skip to content

Add workspace clean command to delete classpath cache #172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

juchanei
Copy link

Changes

  • Added new command kotlin.clean.workspace that allows users to clean the Kotlin laguage server workspace
    • This command serves as a recovery mechanism when the classpath cache becomes corrupted, often as a result of local environment inconsistencies (e.g., issues in Gradle configuration), allowing users to reset to a clean state.
  • Implements a confirmation dialog to prevent accidental workspace cleaning
  • Removes workspace directory and reloads window to apply changes

Testing

  • Tested manual cleaning through command palette
  • Verified workspace directory is properly removed
  • Confirmed window reload behavior works as expected

@github-actions github-actions bot added the extension Related to the VSCode extension label May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension Related to the VSCode extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant