#164 SuperAbbrevs - initial Plugin Central release

2005-08-01
closed
None
8
2005-07-24
2005-07-21
No

1. Name- Super Abbreviations
2. Version Number- 0.01
3. All Requirements-
- JDK compatibility 1.3
- jEdit version 4.2
- plugin dependencies none
- required third-party applications (indicate version if applicable)
- libraries to be bundled with the release- none
4. Announcement- initial Plugin Central release
5. Source Code- ?
6. Descriptions- Eclipse like code templates

I'm new to this, so if there is any problem feel free to email me.

- Sune Simonsen

Discussion

  • Sune Simonsen

    Sune Simonsen - 2005-07-21
    • summary: SuperAbbrevs --> SuperAbbrevs - initial Plugin Central release
     
  • Jeffrey Hoyt

    Jeffrey Hoyt - 2005-07-21
    • assigned_to: nobody --> jchoyt
     
  • Sune Simonsen

    Sune Simonsen - 2005-07-21

    Logged In: YES
    user_id=1316416

    Source Code- attached

    Short Description:
    Eclipse like code templates. Enables you to expand an abbreviation with
    variables in it. TAB from variable to variable, and change to text of a variable
    everywhere in the template.

    Long Description
    This plugin gives you eclipse style code templates. You can define a
    template wich contains variables. You assosiate the template with a
    abbreviation, if you expand a template, the first variable will be selected. If you
    change the selected variable text, it vil be change everywhere in the template.
    You can use the TAB and Shift-TAB keys, to jump back and forth between the
    variables.

    Question: Is there a way to change the summary. (I feel pretty stupid)

     
  • Jeffrey Hoyt

    Jeffrey Hoyt - 2005-07-22
    • priority: 5 --> 8
     
  • Jeffrey Hoyt

    Jeffrey Hoyt - 2005-07-22

    Logged In: YES
    user_id=396194

    Nope, no way that I know of to change the summary. Slava
    should find this, though. No worries here. There are a few
    things, though:

    Above you have the version number 0.01. In the properties
    file you have 1.0. I went with 0.01 - if that is wrong,
    please correct me.

    Why do you need to inititalize at startup instead of defer?
    I would think setting up all the default abbreviations
    could be done the first time one tries to access one.....

    There is no list of the default abbreviations. I think I
    found them from the code, but you need to put the list
    somewhere or people will never use this plugin.

    Lastly, I noticed in SuperAbbrevs.java:
    //this is not a god way to make defaults
    //but i can not figure out how to copy a file from the jar
    file

    Try this:

    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=34&t=002601

    or creating a subdirectory for yourself in the settings
    directory and creating the file once there, then accessing
    it ever after from there. No need to change anything for
    the release - just a suggestion.

    Otherwise, it looks great. Thanks for using a standard
    build.xml file - it makes our lives SO much easier.

    Jeff

     
  • Sune Simonsen

    Sune Simonsen - 2005-07-22

    Logged In: YES
    user_id=1316416

    I will solve all these problems today, and upload the new source. Thanks for the
    help.
    By the way there is a option pane for the plugin where you can see and change
    all the abbreviations (I modified the code from slavas abbriviations, thanks
    slava :-). Thats why I havent listed all the default abbriviations.

    - Sune Simonsen

     
  • Sune Simonsen

    Sune Simonsen - 2005-07-22

    Logged In: YES
    user_id=1316416

    I changed the version number to 0.01 and now I use
    defer instead of inititalize at startup.

    The default abbriviations and macros is getting copied to the .jedit from the jar
    file now, thank to the hint from jchoyt. The defaults is only copied if the files
    doesn't exist.

    I attached the new source.

    - Sune Simonsen

     
  • Jeffrey Hoyt

    Jeffrey Hoyt - 2005-07-24

    Logged In: YES
    user_id=396194

    Packaged and uploaded - should be ready for the next
    release. Thanks for getting this done so quickly. I like
    the plugin.

    Only thing I'd recommend for next release is that you add a
    "show abbreviations" on the menu, or add somewhere in the
    documentation that you can use the option pane to see what
    abbreviations are available.

    Jeff

     
  • Jeffrey Hoyt

    Jeffrey Hoyt - 2005-07-24
    • milestone: --> 2005-08-01
    • status: open --> closed
     
  • Sune Simonsen

    Sune Simonsen - 2005-07-24

    Logged In: YES
    user_id=1316416

    Perfect. I will do a Show Abbreviations for the next version. Thanks for
    making the plugin available so soon.

    Is there a way to get a CVS account for the plugin, on the jEdit CVS.

    - Sune Simonsen

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks