Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It shouldn't have postfix completion for static import #3364

Open
yuyully opened this issue Oct 26, 2023 · 3 comments
Open

It shouldn't have postfix completion for static import #3364

yuyully opened this issue Oct 26, 2023 · 3 comments

Comments

@yuyully
Copy link

yuyully commented Oct 26, 2023

Environment
  • Operating System: linux
  • JDK version: 17.0.7
  • Visual Studio Code version: 1.82.2
  • Java extension version: 1.24.0
Steps To Reproduce
  1. Create a new java file > Copy the following code to the file
  2. Type . following import static java.util.ArrayList;
import static java.lang.Math.*;
import static java.util.ArrayList;

/**
 * Hello
 */
public class Hello {

    public static void main(String[] args) {
        
    }
}
Current Result

image

image

Expected Result

It shouldn't have postfix completion for static import.

@fbricon
Copy link
Collaborator

fbricon commented Oct 26, 2023

@hopehadfield can you please take a look?

@fbricon
Copy link
Collaborator

fbricon commented Oct 26, 2023

This doesn't occur in 1.23

@rgrunber
Copy link
Member

rgrunber commented Oct 26, 2023

I just tried 1.23, 1.20, 1.17.0 (no par here but the other postfix options show) and I still see this behaviour. Am I missing something about this ? Definitely a bug, but not sure how recent. Let me check...

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants