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

Unable to navigate to next variable defined in eclipse template #13

Open
ajay-kumar-90 opened this issue Jun 14, 2022 · 0 comments
Open

Comments

@ajay-kumar-90
Copy link

Hi All,
I have written below template to inject a Dependency :

${:import(org.springframework.beans.factory.annotation.Autowired)}
private final ${class_to_inject} ${var_name};

@Autowired
public ${primary_type_name}(${class_to_inject} ${var_name}){
        this.${var_name} = ${var_name};
}

When I select class_to_inject using ctrl-space. After successful import, eclipse loses the focus on other template variables. I am not able to navigate to next variable using tab key. Below are screen shot that explains the problem -

step 1: Injecting the template

image
step 2: Template loaded in Eclipse

image
step 3: Selecting the Bean

image
step 4: Dependency added in code

After adding the dependency now, I am unable to move to next variable var_name using tab key as IDE loses the focus on the other template variables.

Is it Bug with Eclipse?

image

Note - Some time it works expectedly and some time it don't. I have no idea why is it happening?

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

No branches or pull requests

1 participant