Hello Stefanoni,
Yes, this is possible. There are quite a few options which can search within current scope if you can select the word in that scope.
- Select or double click a word within a function, it will select (grey background) all the occurrences for the word in the function or scope.
- Select a word then press "Ctrl + Shift + G". Else right click on selection and select Search->References->Workspace.
Most of the time I need to search a element inside function to rename a variable or parameter, for which:
- Select the word then use shortcut "Shift + Alt + R". Else right click on selected word select refactor->rename.
Hope this helps.
Thanks,
Lopamudra
lopamudram@mindfiresolutions.com