This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 197936 - Template "soutv" is not working correctly
Summary: Template "soutv" is not working correctly
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: -S1S-
Hardware: PC Linux
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-21 08:05 UTC by Rogach
Modified: 2011-04-28 05:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rogach 2011-04-21 08:05:25 UTC
In Netbeans 6.9, when I typed "soutv" and pressed tab, editor inserted a line, outputting a last declared variable, like "System.out.println('x = ' + x);". It was very handy, when I needed to debug-output many variables from code.
Now, it uses "exp" as a variable name, and I always need to type the variable name by hand. Can it be fixed?
Comment 1 Dusan Balek 2011-04-21 13:02:05 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/5f3a712dc278
Comment 2 Quality Engineering 2011-04-27 04:47:37 UTC
Integrated into 'main-golden', will be available in build *201104270000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5f3a712dc278
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #197936: Template "soutv" is not working correctly - fixed.
Comment 3 Quality Engineering 2011-04-28 05:05:32 UTC
Integrated into 'main-golden', will be available in build *201104280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5f3a712dc278
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #197936: Template "soutv" is not working correctly - fixed.