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

Funky citation search #1518

Closed
clsmt opened this issue Jul 19, 2019 · 1 comment
Closed

Funky citation search #1518

clsmt opened this issue Jul 19, 2019 · 1 comment

Comments

@clsmt
Copy link

clsmt commented Jul 19, 2019

Disable all the other extensions except for LaTeX Workshop, and check that you still see this issue. [Required]

You still see this issue?: Yes

Make sure to visit the wiki FAQ before filling an issue.

Describe the bug [Required]

When typing \cite{, a list of citations pop up. Then one start typing, for example, a word in the citation title, and that citation should be displayed (other non-matching items should disappear). However, this doesn't always work.

To Reproduce
A minimal example here
the tex file:

\documentclass[reprint]{revtex4-1}

\begin{document}

\title{random}

\author{clsmt}

\date{\today}

\maketitle

Trying some citation \cite{}

\bibliography{library.bib}

\end{document}

library.bib:

@article{Moerman1997,
abstract = {The past few years a lot of effort has been put in the development and fabrication of III-V semiconductor waveguiding devices with monolithic integrated mode size converters (tapers). By integrating a taper with a waveguide device, the coupling losses and the packaging cost of OEICs in future fiber-optical networks can be much reduced. This paper gives an overview of different taper designs, the possible fabrication technologies and performances of tapered devices},
author = {Moerman, Ingrid and {Van Daele}, P.P. and Demeester, P.M.},
doi = {10.1109/2944.658785},
isbn = {1077-260X},
issn = {1077260X},
journal = {IEEE Journal of Selected Topics in Quantum Electronics},
keywords = {III-V semiconductors,Mode-size converters,Monolithic integration,Optoelectronic integrated circuits},
number = {6},
pages = {1308--1320},
title = {{A review on fabrication technologies for the monolithic integration of tapers with III-V semiconductor devices}},
url = {http://ieeexplore.ieee.org/document/658785/},
volume = {3},
year = {1997}
}
@article{Yazaki1991,
author = {Yazaki, P.A. and Komori, Kazuhiro and Bendelli, Giampaolo and Arai, Shigehisa and Suematsu, Yasuharu},
doi = {10.1109/68.118000},
issn = {1041-1135},
journal = {IEEE Photonics Technology Letters},
month = {dec},
number = {12},
pages = {1060--1063},
title = {{A GaInAsP/InP tapered-waveguide semiconductor laser amplifier integrated with a 1.5 mu m distributed feedback laser}},
url = {http://ieeexplore.ieee.org/document/118000/},
volume = {3},
year = {1991}
}

Now in the .tex file, type \cite{, one would see this:
image

Then, proceed to type review or fabricate, both citations disappear.

If typing \cite{A, it looks like this:
image
which is what I want. Then keep going to type \cite{A r, expecting to see the second item starting with A review..., but instead I see this:
image

I don't understand why this functions in this way?

Desktop [Required]:

  • OS: [Windows 7]
  • VS Code version: [1.36.1]
  • Extension version: [7.1.0]

Additional context
I think that search doesn't search the title or something?

@jlelong
Copy link
Collaborator

jlelong commented Jul 19, 2019

Related to #1379. The text used to do the filtering is built as label author title journal. Due a limitation in vscode (see microsoft/vscode/issues/74133), only the first 54 characters are considered for filtering.

@jlelong jlelong closed this as completed Jul 19, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants