I changed my project code from python 2.7 to 3.x.
After these changes i get a message \"cannot find declaration to go to\" when hover over any method and press ctrl
Right click on the folders where you believe relevant code is located ->Mark Directory as-> Sources Root
Note that the menu's wording "Sources Root" is misleading: the indexing process is not recursive. You need to mark all the relevant folders.