new plugin: Text Tools

http://www.deepmagic.com/software/idea.shtml

Text Tools Plugin

This plugin creates a new menu, Text, containing various actions useful for
working on plaintext, such as swapping case, aligning, etc.
Some of the hilites:

- format to 80 columns (word wrap)
- align left/right/center
- insert current date and time
- trip
- upper/lower/title case

This plugin requires IDEA 3.0, and was tested on build 629.
To install, simply copy the jar file into your $IDEA_HOME/plugins folder.

Check for updates at http://www.deepmagic.com, under the Software section.

Known Issues/Questions:
- I'm inserting and replacing the editor's text via the clipboard (ick!)
- aligning is done to 80 columns only
- alignment fails if the IDE is set to format pasted selections

CHANGELOG

Version 1.0 - 6/23/01
- baseline

--
Duane Fields
duane@deepmagic.com


4 comments
Comment actions Permalink

Hello Duane,
How you get access to editor window? Emulational keypressed? Or you find API
for this?
Can you get access to sources?

"Duane Fields" <duane@deepmagic.com> wrote in message
news:af5o13$efv$1@is.intellij.net...

http://www.deepmagic.com/software/idea.shtml

>

Text Tools Plugin

>

This plugin creates a new menu, Text, containing various actions useful

for

working on plaintext, such as swapping case, aligning, etc.
Some of the hilites:

>

- format to 80 columns (word wrap)
- align left/right/center
- insert current date and time
- trip
- upper/lower/title case

>

This plugin requires IDEA 3.0, and was tested on build 629.
To install, simply copy the jar file into your $IDEA_HOME/plugins folder.

>

Check for updates at http://www.deepmagic.com, under the Software section.

>

Known Issues/Questions:
- I'm inserting and replacing the editor's text via the clipboard (ick!)
- aligning is done to 80 columns only
- alignment fails if the IDE is set to format pasted selections

>

CHANGELOG

>

Version 1.0 - 6/23/01
- baseline

>

--
Duane Fields
duane@deepmagic.com

>
>


0
Comment actions Permalink

I anticipate that the API will be opened eventually, but for now I'm using a
hack - I'm calling the actions for the clipboard to pass data through
that.... see the attached.

--
Duane Fields
duane@deepmagic.com
"Alexey Efimov" <aefimov@spklabs.com> wrote in message
news:af6ddu$kcq$1@is.intellij.net...

Hello Duane,
How you get access to editor window? Emulational keypressed? Or you find

API

for this?
Can you get access to sources?

>

"Duane Fields" <duane@deepmagic.com> wrote in message
news:af5o13$efv$1@is.intellij.net...

http://www.deepmagic.com/software/idea.shtml

>

Text Tools Plugin

>

This plugin creates a new menu, Text, containing various actions useful

for

working on plaintext, such as swapping case, aligning, etc.
Some of the hilites:

>

- format to 80 columns (word wrap)
- align left/right/center
- insert current date and time
- trip
- upper/lower/title case

>

This plugin requires IDEA 3.0, and was tested on build 629.
To install, simply copy the jar file into your $IDEA_HOME/plugins

folder.

>

Check for updates at http://www.deepmagic.com, under the Software

section.

>

Known Issues/Questions:
- I'm inserting and replacing the editor's text via the clipboard (ick!)
- aligning is done to 80 columns only
- alignment fails if the IDE is set to format pasted selections

>

CHANGELOG

>

Version 1.0 - 6/23/01
- baseline

>

--
Duane Fields
duane@deepmagic.com

>
>

>
>




0
Comment actions Permalink

As usual, your tool rocks.
One request: make this a submenu off Edit and off the editor right-click menu,
rather than a separate menu. Though of course, I know I can easily change
this by editing plugin.xml.

Duane Fields wrote:

http://www.deepmagic.com/software/idea.shtml

Text Tools Plugin

This plugin creates a new menu, Text, containing various actions useful for
working on plaintext, such as swapping case, aligning, etc.
Some of the hilites:

- format to 80 columns (word wrap)
- align left/right/center
- insert current date and time
- trip
- upper/lower/title case

This plugin requires IDEA 3.0, and was tested on build 629.
To install, simply copy the jar file into your $IDEA_HOME/plugins folder.

Check for updates at http://www.deepmagic.com, under the Software section.

Known Issues/Questions:
- I'm inserting and replacing the editor's text via the clipboard (ick!)
- aligning is done to 80 columns only
- alignment fails if the IDE is set to format pasted selections

CHANGELOG

Version 1.0 - 6/23/01
- baseline

--
Duane Fields
duane@deepmagic.com


--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

Thanks Duane,
I think too :)
I try to do this in my OneInstance plugin. I try to open files by emulating.
But i get no results.

I invoke GotoFile Action. But even i set focus on this Comonent (small
window with textfield) and invoke Paste action nothink happend... :(

"Duane Fields" <duane@deepmagic.com> wrote in message
news:af81om$up1$2@is.intellij.net...

I anticipate that the API will be opened eventually, but for now I'm using

a

hack - I'm calling the actions for the clipboard to pass data through
that.... see the attached.

>

--
Duane Fields
duane@deepmagic.com
"Alexey Efimov" <aefimov@spklabs.com> wrote in message
news:af6ddu$kcq$1@is.intellij.net...

Hello Duane,
How you get access to editor window? Emulational keypressed? Or you find

API

for this?
Can you get access to sources?

>

"Duane Fields" <duane@deepmagic.com> wrote in message
news:af5o13$efv$1@is.intellij.net...

http://www.deepmagic.com/software/idea.shtml

>

Text Tools Plugin

>

This plugin creates a new menu, Text, containing various actions

useful

for

working on plaintext, such as swapping case, aligning, etc.
Some of the hilites:

>

- format to 80 columns (word wrap)
- align left/right/center
- insert current date and time
- trip
- upper/lower/title case

>

This plugin requires IDEA 3.0, and was tested on build 629.
To install, simply copy the jar file into your $IDEA_HOME/plugins

folder.

>

Check for updates at http://www.deepmagic.com, under the Software

section.

>

Known Issues/Questions:
- I'm inserting and replacing the editor's text via the clipboard

(ick!)

- aligning is done to 80 columns only
- alignment fails if the IDE is set to format pasted selections

>

CHANGELOG

>

Version 1.0 - 6/23/01
- baseline

>

--
Duane Fields
duane@deepmagic.com

>
>

>
>

>
>
>


0

Please sign in to leave a comment.