Greetings,
I would like to introduce myself by proposing a new feature for Geany.
When dealing with large bibliography files with lots of Bibtex items I was missing an overview of the entries in the sidebar of the editor. Recently, I got so annoyed of scrolling around in my files that I decided to do something.
The result I'd like to propose is a ctags parser which is a modified version of the tex-parser already present. So far, the new bibtex parser parses the entry types listed here: https://en.wikipedia.org/wiki/BibTeX#Entry_types It extracts and aggregates their identifiers. I modified some of the other source files so that the identifiers are now listed in the sidebar of the editor.
If you would like to have a look, please see the branch in my git-fork: https://github.com/TwlyY29/geany/tree/bibtex-parser I will be happy to create a pull request there if you are interested.
Best Mirco
On 2019-07-09 8:03 a.m., Mirco Schönfeld wrote:
Greetings,
I would like to introduce myself by proposing a new feature for Geany.
Welcome and nice work!
When dealing with large bibliography files with lots of Bibtex items I was missing an overview of the entries in the sidebar of the editor. Recently, I got so annoyed of scrolling around in my files that I decided to do something.
The result I'd like to propose is a ctags parser which is a modified version of the tex-parser already present. So far, the new bibtex parser parses the entry types listed here: https://en.wikipedia.org/wiki/BibTeX#Entry_types It extracts and aggregates their identifiers. I modified some of the other source files so that the identifiers are now listed in the sidebar of the editor.
If you would like to have a look, please see the branch in my git-fork: https://github.com/TwlyY29/geany/tree/bibtex-parser I will be happy to create a pull request there if you are interested.
The only obvious thing I can see that may block a PR being merged is that - since Ctags has started being maintained again - it would be nice to upstream[0] the parser there as well. There's currently an effort underway to get our Ctags fork in sync with upstream.
Other than that, it looks good and I don't see any reason a PR wouldn't be merged.
Regards, Matthew Brush
On Wed, 10 Jul 2019 at 00:33, Matthew Brush mbrush@codebrainz.ca wrote:
On 2019-07-09 8:03 a.m., Mirco Schönfeld wrote:
Greetings,
I would like to introduce myself by proposing a new feature for Geany.
Welcome and nice work!
Thanks :-)
When dealing with large bibliography files with lots of Bibtex items I
was
missing an overview of the entries in the sidebar of the editor.
Recently,
I got so annoyed of scrolling around in my files that I decided to do something.
The result I'd like to propose is a ctags parser which is a modified version of the tex-parser already present. So far, the new bibtex parser parses the entry types listed here: https://en.wikipedia.org/wiki/BibTeX#Entry_types It extracts and
aggregates
their identifiers. I modified some of the other source files so that the identifiers are now listed in the sidebar of the editor.
If you would like to have a look, please see the branch in my git-fork: https://github.com/TwlyY29/geany/tree/bibtex-parser I will be happy to create a pull request there if you are interested.
The only obvious thing I can see that may block a PR being merged is that - since Ctags has started being maintained again - it would be nice to upstream[0] the parser there as well. There's currently an effort underway to get our Ctags fork in sync with upstream.
Ok. I couldn't exactly figure out your plans in this regard. That's why I thought integrating it directly into geany would be the pragmatic way to go. But I'll see if I can get it to work with the Ctags framework as well.
Other than that, it looks good and I don't see any reason a PR wouldn't be merged.
I'll create the pull request then ;-)
Best Mirco
Regards, Matthew Brush
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
On Wed, 10 Jul 2019 at 09:06, Mirco Schönfeld twlyy29@gmail.com wrote:
On Wed, 10 Jul 2019 at 00:33, Matthew Brush mbrush@codebrainz.ca wrote:
On 2019-07-09 8:03 a.m., Mirco Schönfeld wrote:
Greetings,
I would like to introduce myself by proposing a new feature for Geany.
Welcome and nice work!
Thanks :-)
When dealing with large bibliography files with lots of Bibtex items I
was
missing an overview of the entries in the sidebar of the editor.
Recently,
I got so annoyed of scrolling around in my files that I decided to do something.
The result I'd like to propose is a ctags parser which is a modified version of the tex-parser already present. So far, the new bibtex parser parses the entry types listed here: https://en.wikipedia.org/wiki/BibTeX#Entry_types It extracts and
aggregates
their identifiers. I modified some of the other source files so that the identifiers are
now
listed in the sidebar of the editor.
If you would like to have a look, please see the branch in my git-fork: https://github.com/TwlyY29/geany/tree/bibtex-parser I will be happy to create a pull request there if you are interested.
The only obvious thing I can see that may block a PR being merged is that - since Ctags has started being maintained again - it would be nice to upstream[0] the parser there as well. There's currently an effort underway to get our Ctags fork in sync with upstream.
Ok. I couldn't exactly figure out your plans in this regard. That's why I thought integrating it directly into geany would be the pragmatic way to go. But I'll see if I can get it to work with the Ctags framework as well.
The parser is now part of Ctags: https://github.com/universal-ctags/ctags/pull/2137
Best Mirco
Other than that, it looks good and I don't see any reason a PR wouldn't be merged.
I'll create the pull request then ;-)
Best Mirco
Regards, Matthew Brush
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel
On 2019-07-12 12:14 a.m., Mirco Schönfeld wrote:
On Wed, 10 Jul 2019 at 09:06, Mirco Schönfeld twlyy29@gmail.com wrote:
On Wed, 10 Jul 2019 at 00:33, Matthew Brush mbrush@codebrainz.ca wrote:
On 2019-07-09 8:03 a.m., Mirco Schönfeld wrote:
Greetings,
I would like to introduce myself by proposing a new feature for Geany.
Welcome and nice work!
Thanks :-)
When dealing with large bibliography files with lots of Bibtex items I
was
missing an overview of the entries in the sidebar of the editor.
Recently,
I got so annoyed of scrolling around in my files that I decided to do something.
The result I'd like to propose is a ctags parser which is a modified version of the tex-parser already present. So far, the new bibtex parser parses the entry types listed here: https://en.wikipedia.org/wiki/BibTeX#Entry_types It extracts and
aggregates
their identifiers. I modified some of the other source files so that the identifiers are
now
listed in the sidebar of the editor.
If you would like to have a look, please see the branch in my git-fork: https://github.com/TwlyY29/geany/tree/bibtex-parser I will be happy to create a pull request there if you are interested.
The only obvious thing I can see that may block a PR being merged is that - since Ctags has started being maintained again - it would be nice to upstream[0] the parser there as well. There's currently an effort underway to get our Ctags fork in sync with upstream.
Ok. I couldn't exactly figure out your plans in this regard. That's why I thought integrating it directly into geany would be the pragmatic way to go. But I'll see if I can get it to work with the Ctags framework as well.
The parser is now part of Ctags: https://github.com/universal-ctags/ctags/pull/2137
Good job!
The rest of the changes look pretty straightforward. I guess it's just a matter of copying the updated version of the Ctags parser back into PR#2212 and checking it all still works.
Regards, Matthew Brush