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

False positive "duplicate identifier" error for multiple @String in .bib file #3361

Closed
osayamenja opened this issue Dec 13, 2023 · 1 comment · Fixed by #3370
Closed

False positive "duplicate identifier" error for multiple @String in .bib file #3361

osayamenja opened this issue Dec 13, 2023 · 1 comment · Fixed by #3370
Assignees
Labels
bug Deficiencies in TeXiFy behaviour.
Milestone

Comments

@osayamenja
Copy link

osayamenja commented Dec 13, 2023

Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version

IntelliJ IDEA Ultimate 2023.3.1

Operating System

MacOS w MacTex installed via Homebrew

TeXiFy IDEA version

0.9.2

What I did (steps to reproduce)

  • Open the ACM official template
  • Open sample-base.bib in the IDE
  • Notice that all @String items are inspected as "duplicate identifier" errors.

Minimal example to reproduce the problem

See steps to reproduce.

Expected behavior

  • The inspected errors for @String in sample-base.bib are false positives, as BibTex compiles the file without errors.
  • Running bibtex-tidy on sample-base.bib also reported no errors.

Actual behavior

  • See steps to reproduce.
  • Also, the errors go away when there is only one @String item in the file

Comment

A workaround would be suppressing/deactivating (within the IDE) the inspection, but this would also prevent inspecting actual errors as well.

@osayamenja osayamenja added bug Deficiencies in TeXiFy behaviour. untriaged Issue type still needs to be triaged or verified. labels Dec 13, 2023
@osayamenja osayamenja changed the title False positive "duplicate identifier" error for @String in .bib file False positive "duplicate identifier" error for multiple @String in .bib file Dec 13, 2023
@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Dec 17, 2023
@slideclimb slideclimb self-assigned this Dec 26, 2023
PHPirates added a commit that referenced this issue Dec 30, 2023
…g-id

Fix #3361: false positive on duplicate identifier on @string entries in bib files
@osayamenja
Copy link
Author

osayamenja commented Jan 18, 2024

Confirming that this is fixed in 0.9.3 🎉

@PHPirates PHPirates added this to the v0.9.3 milestone Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Deficiencies in TeXiFy behaviour.
Projects
None yet
3 participants