Skip to content

Renaming file causes FileNotFoundException on java language server start #154

@panzer-planet

Description

@panzer-planet

##[provide a description of the issue]

Environment
  • Operating System: 10.12.2
  • JDK version: jdk1.8.0_121
  • Visual Studio Code version: 1.9.1
  • Java extension version: 0.0.10
Steps To Reproduce
  1. Rename a file and folder of package
    In my case it was
    android/app/src/main/java/za/co/io/reactnativekeystore/KeystoreModule.java android/app/src/main/java/za/co/io/reactnativekeystore/KeystorePackage.java
    and I renamed them to
    android/app/src/main/java/za/co/io/reactnativecrypto/CryptoModule.java android/app/src/main/java/za/co/io/reactnativecrypto/CryptoPackage.java
  2. Restart VSCode
  3. Language server fails to start throwing FileNotFoundException

Purging ~/Library/Application Support/Code/User/workspaceStorage and restarting VSCode solved the problem

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions