Bug 99705 - [templates] java editor templates should support line number variable
Summary: [templates] java editor templates should support line number variable
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-13 11:50 EDT by Carl Osipov CLA
Modified: 2019-09-06 15:32 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.