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
Open

Embed Labels in Structure Tree #3662

jojo2357 opened this issue Sep 27, 2024 · 1 comment
Labels
enhancement New feature or (non bug related) change to the program.

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
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

No branches or pull requests

2 participants