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

Embed Labels in Structure Tree #3662

Open
jojo2357 opened this issue Sep 27, 2024 · 1 comment · May be fixed by #3811
Open

Embed Labels in Structure Tree #3662

jojo2357 opened this issue Sep 27, 2024 · 1 comment · May be fixed by #3811
Labels
enhancement New feature or (non bug related) change to the program.
Milestone

Comments

@jojo2357
Copy link
Contributor

\documentclass[12pt]{article}

\begin{document}
	\section{Part 1}
	\subsection{Part A}
			\begin{figure}
				\centering
				\label{figure}
			\end{figure}
	\subsection{The Next Part}
\end{document}

This gives the following tree for the file structure:
image

I think it could be useful for the label figure to be nested in the tree one level deep under 1.1 rather than appended at the end. I understand they are currently grouped together. I think that an option is in order.

@jojo2357 jojo2357 added enhancement New feature or (non bug related) change to the program. untriaged Issue type still needs to be triaged or verified. labels Sep 27, 2024
@PHPirates
Copy link
Collaborator

Looking at a structure view for Kotlin as example, it looks like all structure view items should appear in the same order as they are in the source file, so indeed figure should be after part A by default (unless they are sorted otherwise)

@PHPirates PHPirates removed the untriaged Issue type still needs to be triaged or verified. label Sep 28, 2024
@PHPirates PHPirates added this to the Next milestone Dec 14, 2024
@PHPirates PHPirates linked a pull request Dec 15, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or (non bug related) change to the program.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants