Cannot use new variables from *.py file


I do my first steps with Robot Framework in PyCharm.
I have some variables in a file and use them in test.robot file:

*** Settings ***

Variables …/

This is working for existing variables.
The problem is for new created or changed variables . I cannot us them as expected. They are marked as undefined in the robot file. I have to restart the IDE to get them known in the robot file.
Any idea how to solve?

Thanks, Rüdiger