texstudio-org / texstudio-org/texstudio

Enhancement: Optionally add labels to the Section structure

Open
#290 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C++
Stars
3.6k
Forks
403
Avg merge
3h 14m
Merged PRs (30d)
12

Description

Actual behaviour

All the labels of the opened file are listed with the order of appearance in the file.
This behaviour becomes totally ineffective (my perception) as soon as the number of label exceeds, lets say, 50 items.

Enhanced behaviour

The labels are distributed as nodes in the section structure

\chapter{Ch. 1}
\begin{lemma} \label{lem:aaa}
\end{lemma}
\section{Sect. 1}
\begin{lemma} \label{lem:bbb}
\end{lemma}

becomes

Ch. 1
  lem:aaa
  Sect. 1
    lem:bbb

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the code that builds the section structure and the list of labels for the opened LaTeX file; done means labels appear as nodes under the corresponding chapter or section while preserving the shown hierarchy.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, latex
Domain
desktop, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.