eclipse-jdt / eclipse-jdt/.github
Unable to navigate to next variable defined in eclipse template
- Dominant language
- No language data
- Stars
- 1
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
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**

step 2: **Template loaded in Eclipse**

**step 3: Selecting the Bean**

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?

Note - Some time it works expectedly and some time it don't. I have no idea why is it happening?
Contributor guide
Assessment
This issue has not been assessed yet.