How to iterate all defined 'run configurations'

Hi.

My plugin let user define 'Run Configuration' which is specific to our project.
In this 'run configuration' the user have a place to add 'user defined' settings. This settings are saved in '.iws' even if the configuration is shared.

So i have a project component that assumed to iterate all the defined configurations and save the 'user settings' in '.iws'.

My question:
- how can i iterate all existing 'run configurations'
- How can i tell if a configuration is shared or not.

I looked for a manager or component that have this ability but i can't found.

Thanks
Boaz


Thanks

0
1 comment
Avatar
Permanently deleted user

I think this might work for you:

RunManager.getInstance(myProject).getAllConfigurations()

1

Please sign in to leave a comment.