Macros for HTML

Since the invention of the wheel, I have been using SlickEdit with its
macros to prepare text, especially HTML.  I have been experimenting to
see what it would be like to use IntelliJ for my HTML.

What I would like to do, similar to what I do in SlickEdit,  is assign
my dozens of macros to tiny icons and have them arrayed in a strip
across the top of the screen, so I can invoke a macro with just a
click. Is there a way of doing this already? If not, would anyone be
interested in writing a plugin to do that? I could provide an
honorarium.
--
Roedy Green Canadian Mind Products http://mindprod.com
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development
time.
~ Tom Cargill  Ninety-ninety Law

2 comments

On Fri, 18 Jan 2013 04:49:08 -0800, Roedy Green
<see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted
someone who said :

>If not, would anyone be
>interested in writing a plugin to do that?

you might feed it  file with a list of macro names and image
filenames, and it generates the strip of icons, fields the mouse
click, calculates the corresponding grid slot #, and looks up the
corresponding macro name and invoke it. There would be some way of
making the strip disappear with a click and reappear with a menu item
or keystroke.

I could write the thing in Java no problem. I just don't know how to
integrate it into Intellij.

.
--
Roedy Green Canadian Mind Products http://mindprod.com
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development
time.
~ Tom Cargill  Ninety-ninety Law

0

On Fri, 18 Jan 2013 04:55:45 -0800, Roedy Green
<see_website@mindprod.com.invalid> wrote, quoted or indirectly quoted
someone who said :

>you might feed it  file with a list of macro names and image
>filenames, and it generates the strip of icons, fields the mouse
>click, calculates the corresponding grid slot #, and looks up the
>corresponding macro name and invoke i

You might be able to configure grid size, with small icons padded and
centered and large icons clipped or shrunk to fit.

You might be able to configure the background colour.

You might be able to configure multiple rows.

You might be able to configure a different constellation of macros for
each language you edit.

For fast repaint you might compose a single Image of all the tiny
icons.

If you get fancy, you might be able to configure the macro bar
dynamically with a mouse rather than by composing a configuration
file.
--
Roedy Green Canadian Mind Products http://mindprod.com
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development
time.
~ Tom Cargill  Ninety-ninety Law

0

Please sign in to leave a comment.