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 30740 - Macro Once created vanishes into Tools > Options
Summary: Macro Once created vanishes into Tools > Options
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Macros (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 30738 63163 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-06 06:39 UTC by Maya Venkatraman
Modified: 2013-09-02 13:15 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maya Venkatraman 2003-02-06 06:39:32 UTC
Once a macro is created and named it seems to vanish. 
To reach it the user has to traverse the options
dialog. 
It is not reasonable to expect the user to look here 
- or know the type of editior they are using and 
look within that node..
Comment 1 Martin Roskanin 2003-02-06 12:13:40 UTC
What behaviour do you expect?
Where should the user look for the new macro?
Comment 2 Maya Venkatraman 2003-02-06 15:43:52 UTC
I expect to see some menu item regarding Macros - 
perhaps in the Tools Menu. Or may be in the 
editor contexual menu. I am afraid that the
way it is - users who want to use the macros
might not because its hard to find and good
 functionality might go unused..
Comment 3 Martin Roskanin 2003-02-06 15:59:53 UTC
OK, I am ccing our UI expert to solve this problem. Gabo, could you
please look at this. Thanks.
Comment 4 jhoffman 2003-02-06 16:33:59 UTC
Since we have gone to the effort of putting Record and Stop Record
Macro functions on the editor toolbar, it seems like we should also
add a "Invoke Macro" toolbar/menu bar item that would show the list of
macros, allow you to add a key binding (if there isn't already one)
and also just run any macro (whether it has a key binding or not).
Comment 5 jhoffman 2003-02-06 17:13:25 UTC
Also, it is reasonable to present all macros to the user, and not
filter it based on the editor in which you created the macros.  For
example, I may create a macro in the Java editor, but it may be
perfectly acceptable for me to use that same macro within a scriptlet
in the JSP editor.  Similarly, I could create a macro in the HTML
editor that is useful in the JSP editor. I should not be forced to
recreate the macro for each different editor.
Comment 6 ehucka 2003-02-18 12:55:17 UTC
Change version to 3.5.
Comment 7 Martin Roskanin 2003-02-27 16:42:01 UTC
*** Issue 30738 has been marked as a duplicate of this issue. ***
Comment 8 Martin Roskanin 2003-03-10 11:50:07 UTC
For now we have three solutions. 
1. creation of the macros item in the Tools menu
2. creation of the macros item in the editor context menu
3. add the action run macro in the editor toolbar

Which one would be the best?
(As for me, I would preffer the toolbar solution. It is editor bound
and visible place for that)  I wouldn't show the all macros to user,
only the macros for the kit, that is editing. But, perhaps, it could
be some option for that.
How does the "Invoke Macro" macro dialog looks like? Just the list of
the available macros with start and cancel button? Couldn't be the
current Macro dialog from editor settings reused somehow?

Comment 9 Miloslav Metelka 2004-01-20 15:15:42 UTC
Gabo, could you please evaluate the presented possibilities from your
UI point of view? Thanks.
Comment 10 Gabriel Tichy 2004-11-03 14:23:33 UTC
What about placing an action into the toolbar, which opens the "[active] Editor - Macros" 
dialog (now accessible only from Options)?
Comment 11 Jan Becicka 2005-03-18 12:14:10 UTC
Gabo is not responisble for this issue any more. Rudo please take a look at it.
Thanks
Comment 12 Rudolf Bock 2005-04-05 14:28:41 UTC
Yes, there should be a submenu in the menu Tools, which contains always the proper macros (content 
specific).
Comment 13 Roman Strobl 2005-07-09 07:34:11 UTC
The status of this issue should get improved with new Tools | Options dialog
where macros will be easier discoverable.
Comment 14 Martin Roskanin 2005-09-12 12:29:20 UTC
*** Issue 63163 has been marked as a duplicate of this issue. ***
Comment 15 jhoffman 2005-09-12 18:13:42 UTC
Tools > Options is not a sufficient place to put this feature.  Even when the
dialog is improved, it will still not be intuitive, since the Options dialog is
a place that the user goes to configure the IDE and I don't believe it would
ever be clear to a user that running a macro is somehow configuring the IDE. 
Macros deserves its own section of the Tools menu so that all of its features
(creating, running, editing, etc.) can be easily dicoverable.  This is where
many of our competitors place this feature.
Comment 16 Petr Dvorak 2008-07-28 16:39:13 UTC
Hi! I think that this issue should not be classified as a "defect". I would personally say it as an RFE or a feature
proposal. I will now mark this issue as a feature:

jhoffman wrote: "Tools > Options is not a sufficient place to put this feature. ..."

Please feel free to change the issue back to DEFECT if you think it deserves it, but in my opinion FEATURE is more
appropriate for this one...
Comment 17 almson 2013-09-02 13:15:05 UTC
I agree. I've never used macros until I found them today, but the lack of an "invoke" button and the hiding of a "list of all macros" makes the feature broken. Either get rid of macros, or make them sensible. I'd suggest adding to or modifying the buttons that are already in the editor.

Also: improssible to clear a shortcut to a macro, and no warning when the shortcut is a letter (and overrides typing)