Hello,
in addition to my the previouse warnings patch, this
patch includes the following further two enhancements
to the bibtex editor:
1) Content Assist:
The bibtex editor now provides further content assists
for the bibtex fields "author", "editor" and "journal"
to provide suggestions of other authors and journals
use previously in the same bibtex file. It is easily
extendable to other fields if required, although it
special cases "author" and "editor" to handle the "and"
seperated list of the bibtex format.
2) different outline orderings:
I have added an additional representation to the
outline page of the bibtexeditor. It is now possible to
sort and group the bibtex editors either by authors or
by journals. I find especially the grouping by authors
useful, as it allows to quickly identify all papers in
ones list written by the same author.
I have written these changes mainly for my own
purposes. Therefore the code is messy and not always
nicely structured. Furthermore the code changes have
only been tested on my own bibtex files. There are
therefore probably (valid) reference styles that will
cause problems with these patches. If there is
sufficient interest, I might try and clean them up and
make them handle more cases.
However I did feel that these changes might be useful
to others too, and therefore I decided to post them here.
APM
Logged In: YES
user_id=1239063
So where's the file?
Patch
Logged In: YES
user_id=1295344
Ooops, I forgot to add the file, so I'll try again. Sorry
Next version of the Patch
Logged In: YES
user_id=1295344
Hello,
I have improved the patch a little more and it now covers
most of the basics of what I wanted to do.
1) The tree view in the outline can now be multilevel, with
the nth level sorted by the nth letter of the key. I find
this allows to find entries much faster if the number of
references are large.
2) The content assist proposals can now be sorted to offer
the most frequently used values first.
3) If one has the bibentry references in electronic form
stored in a directory named by the bibkey, one can now
simply open and view the file from within eclipse with a
right click on the entry in the outline, which opens it in
the viewers returned by the ViewerManager.
The internal structure was slightly changed compared to the
last time. Most of the completion proposal logic is now
implemented in a seperate datastructure representing the
index of a bib file. Although the code for that
datastructure is still very messy, it abstracts most of the
stuff out of the other files, potentially cleaning it
compared to the last patch.
As usual, I'd be happy about any comments or suggestions an
hope other people find these modifications useful too.
APM
Logged In: YES
user_id=1239063
I updated the patch to match the current CVS head and fixed
a number of bugs in it. Note that this patch doesn't contain
the two viewer class patches (you need to get the earlier
patch for them), because those were under development when I
was checking the patch.
The next release of TeXlipse will feature some of the
features from this patch, but with significant refactoring
and changes to features (though some additions :) So we'll
keep the patch here for now.
Improved version
Logged In: YES
user_id=1295344
Thanks for correcting some of the bugs and including it into
the release.
I noticed, that some of the features that were left out are
actually partly still in the sourcecode though commented
out. Are there any plans to reactivate them? Would you
accept a further patch adapted to the changes you made into
the project? I'd be happy to put in some more effort and
incorporate any suggestions you might have if it has a
chance of inclusion.
many thanks,
APM
P.S. I have noticed, that in the bib outline if the tree is
several layers deep, the displayed range is not correct. I
persume that line 333 of BibOutlineContainer.java should
read "String eName = ((BibOutlineContainer)
children.get(children.size() - 1)).endName;", rather than
eName being the eName of the first child.