Re-Reading and parsing the import modules

SyntaxEditor Python Language Add-on for WPF Forum

Posted 9 years ago by Bob Puckett
Version: 15.1.0622
Avatar

In my application, some import modules may be regenerated at run time.

In some cases, the import module may not exist when the editor is loaded, but may be generated within a short time..

Right now, if I start the editor and then change an imported module, the new changes are not picked up by intellisense.

Is there a way for me to tell the editor to reparse the document inculding the import modules?

Thanks.

Comments (2)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Bob,

You can invoke a re-examination of the modules via this method:

AmbientPackageRepositoryProvider.Repository.QueuePackageCacheUpdate(...)


Actipro Software Support

Posted 9 years ago by Bob Puckett
Avatar

Perfect!  Worked great.  Thanks.

The latest build of this product (v24.1.3) was released 26 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.