notepad-plus-plus / notepad-plus-plus/notepad-plus-plus
Auto Language selection when copy-pasted from one tab to a new tab
Open
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
feature request
Steps to Reproduce the Issue
- Launch npp editor
- Have a tab with some code smippet and selected / autodetected language
- Create a new tab (blank page)
- Copy and paste from the first tab (2) into the newly opened tab (3)
- Npp should automatically transfer the language selected in the first tab to the new tab and highlight it
Expected Behavior
Npp should automatically transfer the language selected in the first tab (2) to the new tab (3) and highlight it
Actual Behavior
This is a feature request
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior in Notepad++ by selecting or auto-detecting a language in one tab, creating a blank tab, and pasting code into it. Trace the new-tab and paste handling, then verify that the destination tab inherits the source language and applies syntax highlighting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100