Project: JDT
Bug 42215 enclosing_package template variable doesn't seem to work [code manipulation]
Reported: 2003-08-28 10:05:49 | Status: resolved fixed

I'm trying to use the template variable "enclosing_package" as the value behind a package statement within a template, as follows: package ${enclosing_package}; However, the variable never gets replaced with anything, and I end up having to type out the package name.

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CompilationUnitContext.java