Is it possible in Pycharm to map a tab to produce

2020-07-23 08:16发布

问题:

this is my first time using an IDE. I was wondering if its possible, as I've done in vim with imap, to make it so that when I press tab 4 spaces are produced in the editor. If this is possible, please point me how to do it. I'm not super familiar with key symbols so please be as explicit a possible; I poked around the keymap under settings but it was pretty confusing.

回答1:

You can customize the Tab size in Pycharm. Goto Preference --> Editor --> Code Style --> Python.