texstudio icon indicating copy to clipboard operation
texstudio copied to clipboard

Goto definition for tikz style

Open francoisschwarzentruber opened this issue 8 months ago • 1 comments

Describe the feature and the current behavior/state

Ctrl + click on a tikzstyle label should go to the definition of that tikzstyle. For the moment Ctrl + click works for bibtex references and for predefined commands via \newcommand.

Example:

      line 1:   \tikzstyle{miaou} = [circle]
      line 2: 
        ...
      line 41 \begin{tikzpicture}
      line 42           \node[miaou] {e};
      line 43  \end{tikpicture}

Ctrl + clicking on "miaou" line 42 should move the user to line 1.

Who will benefit with this feature?

Any users that use the tikz package.

Any Other info

francoisschwarzentruber avatar Apr 26 '25 12:04 francoisschwarzentruber

Unrelated to this query, but please note that \tikzstyle is obsolete. You should use \tikzset instead.

samcarter avatar Apr 28 '25 10:04 samcarter