[Github-comments] [geany/geany] Shortcut suggestions (#1929)

Enrico Tröger notifications at xxxxx
Sat Aug 25 15:16:43 UTC 2018


You probably know, toggling case (lower vs. upper case) can already be done with `Ctrl`-`Alt`-`u` and this shortcut can also be configured.

For CamelCase conversion, ages ago I wrote a simple little Python script to just do that:
https://gist.github.com/eht16/52067a31f2d8cfc3c0fac87d2ab70e28

Configure this script in Geany as command in the "Send selection to" settings, like in the screenshot.
Then select some text and use `Edit->Send Selection to->CamelCase`. The script also tries to detect if it is CamelCase to convert to lower_case and vice versa.
For me this works fine since a couple of years.

If I find time, I'll put it in the wiki.
HTH.
![geany_camel_case](https://user-images.githubusercontent.com/617017/44619652-9eebb200-a88a-11e8-9b04-76e57a8a6779.png)


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1929#issuecomment-415976173
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180825/6ea5b953/attachment.html>


More information about the Github-comments mailing list