Refresh IDEA with IDEAScript command

3 posts / 0 new
Last post
Bert_B
Offline
Joined: 11/04/2020 - 06:46
Refresh IDEA with IDEAScript command

Hi,I am using Python together with IDEAScript and when I created IMD files I have the problem that at the end I need to manually click the refresh button in IDEA in order to refresh IDEA and that it displays the IDEA-files.
 
I wondered if there is an IDEAScript function that I could add at the end of my code to automatically refresh? I checked the help section in IDEA, but couldn't find any command.

Images: 
Brian Element's picture
Brian Element
Offline
Joined: 07/11/2012 - 19:57

Hi Bert, there sure is, just add this line at the end of your script or anytime you want to do a refresh.

 

Client.RefreshFileExplorer

 

Bert_B
Offline
Joined: 11/04/2020 - 06:46

Dear Brian, once again thanks for the quick solution!