Adding missing @Override annotations. Adding RRA/RWA/RUI annotations. Some localization and refactoring#46
Conversation
|
@claude review pr with inline comments |
|
Claude finished @unv-unv's task in 1m 51s —— View job PR Review
This is a large, mostly mechanical PR: adding 🐞 One functional bug (inline suggestion posted)
The protected void elementRenamedOrMoved(PsiElement newElement) {
myClassName = pyClass.getName(); // ← writes the OLD name back
}The original code was Minor (non-blocking) notes
Nothing else stood out — the localization keys, |
| @RequiredReadAction | ||
| protected void elementRenamedOrMoved(PsiElement newElement) { | ||
| myClassName = ((PyClass)newElement).getName(); | ||
| myClassName = pyClass.getName(); |
There was a problem hiding this comment.
Bug: renamed class name is lost. The instanceof PyClass pyClass pattern variable captures the old element, but elementRenamedOrMoved receives the new (renamed) element in newElement. Using pyClass.getName() here writes the old name back into myClassName, so the run configuration stops tracking the class after a rename. Note the PyFunction branch just below correctly keeps ((PyFunction)newElement).getName().
| myClassName = pyClass.getName(); | |
| myClassName = ((PyClass)newElement).getName(); |
… Some localization and refactoring.
|
@claude review pr with inline comments |
|
Claude finished @unv-unv's task in 2m 24s —— View job PR Review
This is a large, mostly mechanical PR:
|
No description provided.