notepad-plus-plus / notepad-plus-plus/notepad-plus-plus

Feature Request: Side panel: List of mapped sections in an HTML file

Open
#14,925 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
29.4k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Description of the Issue

I use notepad++ with HTML files which often get very large, you know, because of the large nested tags, sections and contents. Sometimes you need to see two sections at the same time, for example the html and its related style.
The idea behind this feature request is to be able to jump between style, script, header, sections and footer tags with a side panel click. Similarly to the sections view of markdown file in Rstudio. If possible, right-clicking to open a new splitted view of that section would make that even easier.
There is now a functions list side panel, which doesn't work with html. It may be possible to add this functionality to it.

Steps to Reproduce the Issue
  1. open a large html file
  2. work with multiple sections of the same file
  3. constantly scroll between those
Expected Behavior
Actual Behavior

click in the side panel to jump to a section

Contributor guide

Open the contributing guide

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

Start by examining the existing Functions List side panel, especially how it currently handles HTML files. Define which HTML tags count as mapped sections and how navigation should work for large files; the optional split-view behavior should be treated separately. Done means the panel lists the chosen sections and clicking one jumps to it in the editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, html
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.