Bug 99705

Summary: [templates] java editor templates should support line number variable
Product: [Eclipse Project] Platform Reporter: Carl Osipov <kosipov>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Carl Osipov CLA 2005-06-13 11:50:12 EDT
Currently the Java Editor allows a user to customize templates: a quickly
accessible snippets of text that can be dynamically populated with variables
that capture the context of the editor. For example a user can type in systr and
hit Ctrl-Space to autocomplete which will create a System.out.println() call
with the text of the current method in the editor.

It would be very helpful if a line number variable was added to the list of the
variables already available: it would greatly simplify addition of logging
statements to existing code.
Comment 1 Dani Megert CLA 2005-06-13 12:12:45 EDT
Those line numbers would be outdated very quickly.
There are currently no plans to add this.
Comment 2 Dani Megert CLA 2007-06-22 09:59:24 EDT
Get rid of deprecated state.
Comment 3 Eclipse Webmaster CLA 2019-09-06 15:32:34 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.