I paste a Java code, but VSCode recognize as a Groovy language. I think these two languages are almost the same, but how can I configure prefer Java over Groovy?
package com.example.demo4;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Demo4Application {
public static void main(String[] args) {
SpringApplication.run(Demo4Application.class, args);
}
}
I paste a Java code, but VSCode recognize as a Groovy language. I think these two languages are almost the same, but how can I configure prefer Java over Groovy?