Vitals:
ArcGIS Pro 2.9.1
Python 3.7.10 64-bit
PyScripter 3.6.4.0 x64
Windows 10 Professional
I have set up PyScripter as my IDE for editing tool scripts and Python toolboxes. It works great: no problems with the virtual environment. The issue I run into is that, when I choose Edit ... from the right-click menu for a Python toolbox or a script tool in the Catalog Pane, the toolbox/script tool is opened for editing simultaneously in both PyScripter (in same PyScripter instance, if already open, which is how it should be) and Notepad. Edits are possible and saveable in both windows. I want the scripts to open only in PyScripter. Is there a setting I am missing somewhere? Is this a PyScripter problem (I can't see how) or an ArcGIS Pro problem? I cannot upgrade PyScripter at this time, because I still need the Python 2.7 functionality for managing legacy scripts. Also, I cannot upgrade to ArcGIS Pro 3.x, as I have active projects using Python.NET, and the pythonnet module does not (yet) officially support .NET 6. (pythonnet alpha dev adds .NET 6 support, but I am not allowed to use that version for my work.)
I will admit this behavior is more of a major annoyance than a work-halting problem, but it really should not be happening. Any help would be greatly appreciated.