[Enhancement] Enhance Handling of Output/Test Tree View Desynchronization in PyCharm
Describe the bug
- first testcase log is not at the correct position 2.Run icon positon is erroneous ,not at the *** Test Cases ***
If possible add some example source code like: *** Settings *** Library OperatingSystem
*** Test Cases *** first Run Keyword And Continue On Failure Log ${Base_Directory}
second [Documentation] 测试用例2 Log 运行测试用例2
Screenshots/ Videos
Pycharm [e.g. 2025.1.1] plugins: robotcode4ij-1.2.0.zip RobotCode Version [e.g. 1.2] OS: [e.g. Windows, Linux] Python Version [e.g. 3.13.2] RobotFramework Version [e.g. 6.1.1] Additional tools like robocop, robotidy
Yes, I'm aware that this can happen from time to time. However, this is not an issue with RobotCode itself — it's caused by the test tree view and the output view in PyCharm not being properly synchronized. This behavior also occurs occasionally with large Java projects or when running Python tests. I'm not sure why this happens exactly.
I'll keep this issue open, but I'll reclassify it as an enhancement so I can revisit it later.