Project: JDT
Bug 153247 [templates] Templates content assist additional info outdated and improvable
Reported: 2006-08-09 04:44:23 | Status: resolved fixed

I20060807-2000 Templates content assist additional info is outdated and improvable. - Some proposals like arg have a cryptic string at the end. I guess that's an example of usage. If so, then this should be clearly stated with a title "Example: ..." - arg: refers to TypeVar, should be arg - elem: refers to ElementType - name and var: should have an example - variables that accept arguments should - show their arguments in the proposal name - start their additional info with the full definition as in help, e.g. ${id:var(type name)} for var

Files changed in fix:
org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/CompilationUnitCompletion.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/ElementTypeResolver.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/FieldResolver.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContext.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaContextType.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/JavaVariable.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/LocalVarResolver.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/TypeVariableResolver.java org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/template/java/VarResolver.java