'Compare two Python methods in PyCharm
I've recently switched from Eclipse to PyCharm, and I wonder if PyCharm can compare two methods to each other, like Eclipse can. So far, my searching has failed.
I have two similar methods, and I want to check exactly what the differences are.
Solution 1:[1]
1
highlight one function and copy it into the clipboard....
highlight the second function and right click select "compare with clipboard"
2
take highlight the first method and hit delete
paste in the second method where the first one was
right click and select "local history"
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Community |