How can you run a multiple line function call in PyCharm without marking all the code?

Viewed 37

In RStudio it is easy to run a multiple line function call without marking the code, but I haven't found a similar way to achieve the same in PyCharm. Is it possible to do it?

E.g. running the code below by letting the cursor be at any of the 4 lines and then e.g. click cmd + enter?

feature_parameters = dict(maxCorners = 10,
                      qualityLevel = 0.2,
                      minDistance = 5,
                      blockSize = 5)
0 Answers
Related