I have recently inherited a project that has a fair amount of scripting, and I am being tasked with extending the project to account for additional equipment that fits the pattern of existing equipment.
In reviewing the application, it appears that the original author (now unavailable) had some decent Python skills, but was relatively new to Ignition. There appears to be some artifact code, but it’s been painstaking, using the Find/Replace tool to search for where script functions are called.
If I was in classical, pure text based programming environment, and didn’t have an IDE that provided some level of function call cross reference, I might do something like create a file of function names, and then grep/bash script my way into a useful cross reference.
But that’s not possible (insofar as I know) with Ignition. I tried doing a project export, and though that does export all script in the project, it can’t account for Gateway Scripts or inherited project scripts (I think), and it looks like it can’t peer into such things as tag change events.
I’ve seen some other stale topics on this subject that all seem to end in “just use the Find/Replace tool”, but really, this seems to fall short. So I’d like to resurect this and put it on the developer storyboard if possible.
As an aside, wrt using the Search/Replace tool, the main-menu search replace item indicates use of the Ctrl-F hot key, but when inside a script, this hot key actually brings up a different Find/Replace dialog that’s not useful for what I want to do.