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.
Summary: | Macro recording doesn't works properly | ||
---|---|---|---|
Product: | editor | Reporter: | -Silver- |
Component: | Macros | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | CC: | dbalek |
Priority: | P2 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
-Silver-
2014-01-12 12:21:14 UTC
I investigate a bit and seems that the problem is due to the fact that the macro doesn't record the code completion. This make impossible to record macros in multiple situations. Suppose as simple example that you want to make a macro that write the string: System.out.println("Hello world"); You can not use the code template "sout" because the macro doesn't expand it. But also if you use the "traditional" mode writing the string by hand when you arrive to write till System.out.println(" the editor, automatically, without your explicit request, complete the line with "); The macro doesn't record this completion Agree, better connection not only to CC could be useful; currently actions that accept input and then modify the text are not integrated well. It's more accepted for actions that e.g. display a GUI rather for code completion, that is more lightweight. Dusane: any thoughts on the integration with TypingHooks ? |