i also hate ETO… but… we did need to convert our plugin from winforms, so i started this project with this very simple question to chatGPT and it literally built the entire UX. (thereafter i was impressed enough to start asking it to add function, my only contribution to this code was passing the statics for our alloys and their specific gravities, the rest is 100% ChatGPT code , it also completely refactored all code to remove reliance on netfx and ensure all code is netcore. it also fully documents all the code.
Id say maybe in total 5 times i had to correct, but once you do, it remembers that in that session and the error will not recur.
in order for example,
the prompts to build the entire “UX colour customiser” in the tools tab, were
and its output nailed it in a single shot, creating the ux, creating the xml in plugin root to repopulate the selection on load etc
i had to tweak it once to add a reset button.
otherwise the crazy selections are hard to return to normal
this represent three mornings of work ~ 6hours, as I only have a few hours to spare before the staff get to work.
A tick for anyone trying this is save the last good copy of your code somewhere beside VS, it has a habit of omitting entire functions, my viewpanel class for example is 2300 line of eto code, about 40-50 functions, and if i make a small tweak somewhere it might omit an entire panel tab when it returns the code to me, if that happens paste your last working copy back into it, ask it to “read it carefully and not omit any functions, only add the requested changes”, then it nails it, I needed to do this about 10 times through this build, and if you werent aware and 10 functions later you lost half your core that would be a disaster… outside of that annoyance it was an awesome experience. (i use comparator in notepad++ to double check its submissions)
Video of the ux in action, including the implimentation of some of the function.
so we are clear, these functions in this video are ALSO built by ChatGPT, my original core code is spaghetti, so im taking the opportunity to rebuild it cleaner using chatgpt, the functions it is replicating, i find then to be ~ 1/3rd of the orginal size and cleaner to read)