I've created a python toolbox in ArcGIS Pro. When I right click either the toolbox or the new script called "Tool" within the toolbox and click "Edit", nothing happens. A spinning circle appears next to the cursor for a moment but then disappears.
Has anyone encountered this? I can't find a similar problem on here.
This is probably a syntax error in the toolbox preventing it from loading.
Right-click and check syntax.
Oh wait I misread.
Honestly, it's better to edit the pyt in a text editor (I like notepad++), rather than using IDLE.
Saving the pyt document will automatically carry over to the toolbox loaded in Pro, with the exception of any changes to parameters or tool names. For those you have to refresh the pyt in Pro.
For your particular problem, I'd try restarting Pro and seeing if that fixes it, then checking the syntax.