View Full Version : Key Bindings

I am new to Komodo and am just learning to use the editor. One of the most tedious activities is getting the indentation for the various commands. When I tried to utilize the Key Bindings to provide a short-cut for creating the indentation for the structure of the code, the Key Bindings section would not recognize any key combination for doing indentations. I found that many of the functions would not allow any key combinations. Is there a simple way to create indentations as the word processors have done with their outlining feature?

Maybe he's meaning Python Reindent formatting feature? Like pressing Ctrl+Shift+R to reindent the current code... I also cannot find any way to set a key binding for this thing.
UPD: in case you want to re-indent your Python3 code by shortcut you can set Editor: Format Code or Text to Ctrl+Shift+R, then go to Formatters, right click on Python reindent and choose Edit, then change the language to Python3 instead of Python and click OK. After that you will able to pressCtrl+Shift+R to re-indent your code http://forum.komodoide.com/images/emoji/apple/smiley.png?v=0
You can do that for any language, for example if you're working with Javascript, you're able to press Ctrl+Shift+R to beautify your JS, if you're working with HTML - generate a proper HTML5 structure in the code, etc.

Thank you for your responses. I guess I was just looking for a key short cut for indenting. I will work with the software some more. In general, I wondered why under Preferences -key bindings, I could not set a key combination for most of the actions listed. I just get a message that each combination is not available.