TypeSaver Plugin By Valery Kondakoff
strauss@orc.ru

General Information
Change Log To Do

General Information

The TypeSaver Plugin is simple and useful (I hope) tool to save you from unnecessary typing. It consists of two main functions: "Line comment-uncomment" is a replacement for internal jEdit function "Block comment".

"Predefined abbreviation expansion" is a replacement for internal jEdit "Expand Abbreviation" function (available since jEdit-2.3pre1) Note, that if you use older jEdit version (before jEdit-2.3pre1), you need to use older TypeSaver version 1.1.1!


Line comment-uncomment

Plugins>TypeSaver>TS: Line comment-uncomment

This function acts like jEdit "Block Comment". It places comment at the start of each full or partially selected line. If the entire line was previously commented, applying this function again will uncomment it. Note: comments in the middle of the line are not added/removed. The string used for block commenting can be changed using buffer-local properties (:blockComment=xxx:)

If you want to use "Line comment-uncomment" instead of "Block comment" just redefine the default keyboard shortcut (C+e C+k) from "Block comment" to "TS: Line comment-uncomment".


Predefined abbreviation expansion

Plugins>TypeSaver>TS: Complete predefined abbreviation

This is my first attempt to "merge" TypeSaver expand abbreviation functionality with jEdit internal "Expand Abbreviation" function. Instead of maintaining it's own abbreviation set TypeSaver now uses jEdit built-in abbreviations.

What do you need to do to make TypeSaver work? Just assign different keyboard shortcut to "TS: complete predefined abbreviation" command. (<C+e C+s> or <ESCAPE> for example). When you want to add or change some abbreviations - just go to Utilities>Global Options>Abbreviations and change abbreviations in the list. If you want you can use both abbreviation expansion methods simultaneously (TS and jEdit-internal).

What new functionality is added compared to jEdit internal "Expand Abbreviation" function:

What functionality is missed: There is a list of enhanced Java abbreviations, inherited from older TypeSaver versions. If you want to use them, exit jEdit and copy and paste abbreviations in [java] section of "abbrevs" file, that is located in jEdit user settings directory ($HOME/.jedit).
"|"|"
'|'|'
(|();
/|/* | */
<|<|>
[|\[|\]
Psf|public static final
Psfb|public static final boolean
Psfi|public static final int
Psfs|public static final String
ab|abstract
bo|boolean
br|break
ca|catch (|) {\\n\\n}
cl|class
cn|continue
db|double
de|default
do|do {\\n|\\n} while () {\\n\\n}
doc|/**\\n * |\\n*/
el|else
ex|extends
fa|false
fi|final
fl|float
for|for (|;;) {\\n\\n}
fy|finally
ie|interface
if|if (|) {\\n\\n}
im|implements
impa|import java.awt.
impj|import java.
imps|import javax.swing.
impu|import java.util.
iof|instanceof
ir|import
main|public static void main(String[] args) {\\n\\n|\\n}
pe|protected
pr|private
psf|private static final
psfb|private static final boolean
psfi|private static final int
psfs|private static final String
pst|printStackTrace();
pu|public
re|return
sh|short
st|static
sw|switch (|) {\\n\\n}
sy|synchronized
tds|Thread.dumpStack();
th|throws
tr|transient
try|try {\\n|\\n} catch () {\\n\\n}
tw|throw
twn|throw new
vo|void
wh|while (|) {\\n\\n}
{|{\\n|\\n}

Change Log

Version 2.1.3

Version 2.1.2

Version 2.1.1

Version 2.1.0

Version 2.0.0

Version 1.1

Version 1.0

Version 0.6

Version 0.5

Version 0.4

Version 0.3

Version 0.2

Version 0.1


To Do