microsoft / microsoft/vscode-languagedetection

Java and Groovy are so much alike

Open
#4 0 comments 0 reactions 1 assignee View on GitHub

@TylerLeonhardt is already working on this.

Since Dec 13, 2022.

accuracy bug
Dominant language
TypeScript
Stars
169
Forks
19
PR merge metrics
No merged PRs in 30d

Description

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);
	}

}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.