#897 TextAutocomplete 1.0.0

closed
Townsfolk
None
5
2013-06-13
2013-03-30
Jakub Holý
No

Source: Source code is in SVN with the tag RELEASE-1.0.0
Announcement: Fix to make it possible to accept a completion with the TAB key.
Requires Java 1.5
Requires jEdit 04.03.15.00

Short Description: It's pretty similar to the jEdit's function "Complete Word" but it's automatic, you don't need to press any key to invoke the list of completions.

Long Description: <p>TextAutocomplete collects "words" in the current buffer and those that you type and offers you automatically a list of possible completions as you type a new word. It's pretty similar to the jEdit's function "Complete Word" but it's automatic, you don't need to press any key to invoke the list of completions. The plugin was inspired by a similar functionality in OpenOffice.org.</p>

<p>The plugin is configurable, you can define what a "word" is, what words (not) to remember etc. - see the docs. It's also possible to modify manually the list of remembered words.</p>

<p>You have to start the autocompletion for every buffer where you want it.</p>

Discussion

  • Townsfolk
    Townsfolk
    2013-04-01

    Hi Jakub,
    I need to modify the build.xml file to set the docs-proc.target to 'none' since the documentation is pre-generated. I'd like to know if there is a reason the jEdit version you require is 4.3 (really old). Since I'm updating the build file is there any reason I shouldn't update the dependency to at least 4.5 final? Ideally I'd like to upgrade it all the way up to 5.0.0 since 4.5 isn't downloadable from the jedit.org website, but 4.5 should be the minimum as we don't support 4.3 any longer.

    There are references in the documentation I need you to fix though. There are links that reference some javadocs but they are not found in SVN and aren't generated in the "build" target. I'm not sure how you want to take care of it, but it needs to be fixed before I can release the plugin otherwise there will be broken links in your documentation.

     
  • Townsfolk
    Townsfolk
    2013-04-01

    • assigned_to: nobody --> elberry
    • status: open --> pending
     
  • Jakub Holý
    Jakub Holý
    2013-05-01

    Hi Elberry,

    I have updated the dependency in jEdit to 5.0 and modified build.xml to enable building of javadoc (by setting the javadoc.packagenames property) and have set docs-proc.target to none as you suggested.

    However I do not now what to do to make sure that the javadocs are actually build ("build" doesn't do it - "dist.complete" or "docs" do) and that they will be included with jEdit so that I could link to them. How to do that? Or should I just generate them myself, push them to SVN, and link to these files?

    Thank you.

    The latest build.xml: https://jedit.svn.sourceforge.net/svnroot/jedit/plugins/TextAutocomplete/trunk/build.xml

     
  • Jakub Holý
    Jakub Holý
    2013-05-01

    • status: pending --> open
     
  • Townsfolk
    Townsfolk
    2013-05-16

    Hi Jakub,
    Thank you very much for updating the build.xml file. I've committed what I think should fix the issue with the docs. Please try it out locally to make sure it works for you. If it does, please recreate the tag and I'll release it.

    Cheers,
    Eric

     
  • Jakub Holý
    Jakub Holý
    2013-05-22

    Hello Elberry, thanks a lot, I have re-created the tag with our updates and it is ready to be released.

    I've checked it locally and javadoc is built into TextAutocomplete/build/docs/javadoc/

     
  • Townsfolk
    Townsfolk
    2013-06-13

    • status: open --> closed
     
  • Townsfolk
    Townsfolk
    2013-06-13

    Released to Plugin Central.

     
  • Townsfolk
    Townsfolk
    2013-06-13

    Sorry for the delay. Thanks very much for your patience.