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

[Feature] make conversion in context menu #26

Open
claudchan opened this issue Sep 20, 2016 · 2 comments
Open

[Feature] make conversion in context menu #26

claudchan opened this issue Sep 20, 2016 · 2 comments

Comments

@claudchan
Copy link

Hi,
Highlight text, right-click (open context menu), change case.

@pykong
Copy link
Contributor

pykong commented Jul 31, 2017

Second that. I doubt anyone could remember all the different key bindings.
It would be great to display in the style:
NameOfCase: PreviewOfWord

Like
PascalCase: MyConvertedWordPreview

@pykong
Copy link
Contributor

pykong commented Aug 3, 2017

I have created an early version of such improved CaseConversion plugin:
https://github.com/bfelder/CaseConversion/blob/master/case_conversion.py

Just use a test view with words like CaseConversionTest in it.
Mark them with caret and run:

view.run_command('toggle_case_converter')

A quick panel will be displayed offering all types of case conversions. The best part is that as you move through the quick_panel the selected word is changed on the fly. Very cool.
This patch is early stage and still has major hiccups.
(Note lower-, upper-, and title case conversions are also supported: #36)

@claudchan @jdc0589
Still, I'd like to have some feedback on it. Do you like it? What do you not like?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants