Search code examples
javavisual-studio-code

How to fix Command "code-runner.run" not found


I'm trying to run a test.java file and also it sends an error Extension host terminated unexpectedly then whenever I restart the host the following Command Appear code-runner.run not found.

Reinstalled extensions

    public static void name(String[] args) {
        System.out.println("Hello World");
    }
}

Hello World


Solution

  • Try deleting the C:\Users\...\.vscode\extensions\formulahendry.code-runner-... folder and installing the extension again.

    See this issue on GitHub