Is this really a problem with academia?
If students are going to want to cheat, they are going to find a way to cheat, and the current cheating methods, are probably just as easy as using ChatGPT and risking a fully BS response, or a sudden change in the quality of the students work.
Back in my day when I took Computer Science, a Developer IDE key features where syntax coloring, and being able to compile a project within the IDE. By the time I graduated, the IDE, allowed for some type ahead features, integrated step debugging and nested code management. Those features would had been considered cheating at the time, because it made the projects too easy for the students to complete the assignments faster, as well not really realize a lot of the auto correct stuff took place, which when I took the class, I may had to spend hours tracing the code to see where I messed up.
The good professors adapted to the new technologies, and used it to accelerate their course, having the CS students focus more on the actual problem vs the coding mechanics of writing code. They may have also made the assignments to have requirements to break the languages and IDE standards.
ChatGPT is really just a tool, that could actually be incorporated within the class. A next class assignment. Ask ChatGPT to create C# class that override operators to do math to a string varable. test it out with a set of formula's (give some examples to generate large numbers) Have the students give you their code for the assignment. Now for the next project using the existing code, modify it to handle different base numbers. Comment the changes any why.