Skip to content

Auto completion does not work properly #4017

@xiaoyuleiba

Description

@xiaoyuleiba

Environment

  • TeXstudio: 4.8.6 (both)
  • Qt: 6.8.2 (both)
  • OS: windows 10 and macos 15.3.1
  • TeX distribution: miktex fo windows and mactex for mac

Expected behavior

For any option waiting for auto completion, if it seems like a=b, if I press ctrl+space to choose b, it is supposed show all posibilities of b.

Actual behavior

It shows all posibilities of a. It is confirmed on my windows and macos machine, and does not occur on txs 4.8.5 and older versions.

How to reproduce

Not the simplest example, but it is simple enough.

% !TeX TS-program = pdflatex
\documentclass[journal=<!-- ctrl+space here to show -->]{achemso}
\title{1}
\begin{document}
\end{document}

Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions