Hi I wanted to know how intellij tracks the changes made by the user dynamically.
For example when I am changing a method name it automatically detects that is a renaming action and gives the refactoring icon near the method.
And also how it tracks the changes in the psi class? Like if I comment a statement, it is changed from a psi expression (or something else) to a psi-comment.
Where can I find the implementations of these functionalities? I tried for sometime but no luck.
Thanks in advance