Cannot use new variables from *.py file

Hello

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

*** Settings ***

Variables …/variables.py

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