Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocompletion breaks down when .bib file contains @comment #50

Closed
apc opened this issue Jul 10, 2012 · 2 comments
Closed

Autocompletion breaks down when .bib file contains @comment #50

apc opened this issue Jul 10, 2012 · 2 comments

Comments

@apc
Copy link

apc commented Jul 10, 2012

The script for getting citations from a .bib file stops working when .bib files include comments in the format specified here. Here is a minimal example:

@article{plato,
    title="Hello world",
    author="Plato"
}

@comment{hello}

If I type cite<tab> I simply get the default autocompletion behavior of ST2. If I remove the @comment entry from the bib file, cite<tab> outputs, as expected, \cite{plato}. With the @comment entry, cite<tab> only outputs words starting with a 'c' from the current .tex file.

@msiniscalchi
Copy link
Contributor

That makes me sad :-( I'll have to work that in. Thanks for the report.
On Jul 10, 2012 12:29 PM, "apc" <
reply@reply.github.com>
wrote:

The script for getting citations from a .bib file stops working when .bib
files include comments in the format specified here. Here is a minimal example:

@article{plato,
        title="Hello world",
        author="Plato"
}

@comment{hello}

If I type cite<tab> I simply get the default autocompletion behavior of
ST2. If I remove the @comment entry from the bib file, cite<tab>
outputs, as expected, \cite{plato}. With the @comment entry,
cite<tab> only outputs words starting with a 'c' from the current .tex
file.


Reply to this email directly or view it on GitHub:
#50

@apc
Copy link
Author

apc commented Jul 11, 2012

I suppose this is related to issue 27. At least the problem is the same as that raised in the comments by @inkytonik. (So, no additional reason to be sad?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants