omz / Pythonista-Issues

Issue tracker for Pythonista (iOS)
169 stars 14 forks source link

HW keyboard shortcut - comment/uncomment lines #319

Closed zrzka closed 7 years ago

zrzka commented 7 years ago

It would be nice if we can get HW keyboard shortcut for comment/uncomment lines. I read the forum, I know that I can write script for this (already using it), I know that I can add it to the wrench menu, ... But it’s not convenient when I’ve got HW keyboard.

jsbain commented 7 years ago

Have you seen the thread re: assigning scripts to HW keys? https://forum.omz-software.com/topic/3029/keyboard-shortcuts-physical You can include something like this in your pythonista_startup

zrzka commented 7 years ago

@jsbain thanks, I know these threads. But I still think it would be nice to have it in the UI for people who are not aware of iOS SDK / UIKit / ... internals, etc.

Shaolo commented 7 years ago

I too badly want this to be a part of the default UI.

I want to hack on my Python scripts. Not the editor.

zrzka commented 7 years ago

Closing this in favour of #321. Toggle comments is a script, can be added to wrench and if #321 will be implemented somehow, this one will be done as well.