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

Auto Language selection when copy-pasted from one tab to a new tab

Open
#11,473 0 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

feature request

Steps to Reproduce the Issue
  1. Launch npp editor
  2. Have a tab with some code smippet and selected / autodetected language
  3. Create a new tab (blank page)
  4. Copy and paste from the first tab (2) into the newly opened tab (3)
  5. 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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.