Open v-yuyul opened 1 year ago
Describe the bug Unable to resolve unknown type as command "maven.artifactSearch"fails. If remove the code 'static void fun(){}', it will work fine.
To Reproduce Steps to reproduce the behavior:
Create a new java file > Add following code
public class Test { public static void main(string[] args) { } static void fun() { int a for (l < 10) { } } }
Expected behavior Can add a dependency to resolve the unknown type.
Environments (please complete the following information as much as possible):
Screenshots
Describe the bug Unable to resolve unknown type as command "maven.artifactSearch"fails. If remove the code 'static void fun(){}', it will work fine.
To Reproduce Steps to reproduce the behavior:
Create a new java file > Add following code
Expected behavior Can add a dependency to resolve the unknown type.
Environments (please complete the following information as much as possible):
Screenshots