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

Add options to paste clipboard content in different formats #24657

Open
marison opened this issue Mar 8, 2023 · 3 comments
Open

Add options to paste clipboard content in different formats #24657

marison opened this issue Mar 8, 2023 · 3 comments
Labels
Idea-Enhancement New feature or request on an existing product Product-Advanced Paste Refers to the Advanced Paste module

Comments

@marison
Copy link

marison commented Mar 8, 2023

I would like to have more options to paste the clipboard content as plain text, such as:

  • Paste in uppercase, lowercase, or title case
  • Paste without letters, numbers, punctuation marks, or spaces
  • Remove spaces and upper case the first letter of all words (camel case): myAge, mainViewController, defaultUserParameters
  • It could be useful to get alternatives such as: PascalCase, snake_case, kebab-case: https://www.codingem.com/what-is-camel-case/
  • bonus points if you can add regular expressions transformations

Scenario when this would be used?

Steps to reproduce:

  1. Copy some text from any source
  2. Press a keyboard shortcut to open the “Paste as plain text” menu
  3. Select one of the options to paste the clipboard content in a different format

Expected behavior:
The clipboard content is pasted as plain text in the selected format.

Actual behavior:
Currently, there is only one option to paste as plain text without any formatting.

Supporting information

No response

@marison marison added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Mar 8, 2023
@stefansjfw stefansjfw added Idea-Enhancement New feature or request on an existing product Product-Advanced Paste Refers to the Advanced Paste module labels Mar 8, 2023
@PesBandi
Copy link
Contributor

Could also add a feature to format if the text to paste matches a (regex) pattern.
Use case: ESET antivirus displays MAC addresses as AA-BB-CC... and I need to have it as AA:BB:CC... for my router to accept it. With this I could add a rule so that if my clipboard text matches /^([0-9A-F]{2}:){5}([0-9A-Fa-f]{2})$/i it would replace "-" with ":".

@crutkas crutkas removed the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Aug 3, 2023
@radobot
Copy link

radobot commented Apr 12, 2024

I'm not sure if I should create a new issue for this, but I would like if I could normalize the text using the standard Unicode normalization transformations. I find that I often need to paste text to VSCode and then run NFKC on it using an extension.

@Valla56
Copy link

Valla56 commented Nov 22, 2024

This,
Honestly, a full text editing Suite like what Tooly for Android has would be brilliant

A Find and replace tool
Line sotting by x
Text counter details

Line removal (Spaces, Empty lines, Duplicate lines, Duplicate words, Break lines

Prefix/suffix
Add to/numbers to lines
Reverse lines order
Add break lines

Maybe a basic Markdown and AsciiDoc etc editor/convertor
Unit conversion tools
QR code creator

Thing like this

Obviously Notepad++ does most of this but a in built quick access of these tools would be very useful
And I know this is a a lot to ask for, but feels like core functionality for what Powertoys is trying to do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Product-Advanced Paste Refers to the Advanced Paste module
Projects
Status: No status
Development

No branches or pull requests

6 participants