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.
NB 200604241800 JDK 1.6 beta2-b81 If I use abbreviaton when recording macro, the abbreviation is correctly transformed in the editor, but incorrectly (not at all) understood by macro recorder. Steps to reproduce: 1) start macro recording 2) type "sout" 3) press space and "sout" is transformed into "System.out.println("|")" 4) type "echo" between the brackets 5) end macro recording 6) assign an unused shortcut to macro and name it 7) try to initiate the macro with the shortcut you just used 8) compare the results Macro generates string "soutecho" instead of "System.out.println("echo")".
Reproducible in the current main trunk. You can check the macro code in the Tools->Options->Editor->Macros, it says "soutecho", but should probably be something like "sout" expand-code-template "echo".
*** This issue has been marked as a duplicate of 63608 ***