4

I am running python 3.5.0 on pycharm community edition 4.5.4, and every time i try to insert an open square bracket to , for example, define a list it just gives me an error saying: "Cannot perform refactoring using selected element(s)"

This is really confusing because it seemed to work fine on the older python versions (3.4.3).

1 Answer 1

6

If you are using [Right Alt] + F to insert square bracket (for example with Czech keyboard layout), pycharm interprets it as [Ctrl] + [Alt] + F, which is a shortcut to some sort of refactoring.

You can change the shortcut to something else in File - Settings - Keymap - Main menu - Refactor - Extract - Field..

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.