The Python extension uses lazy activation and only activates when:
A Python file is opened
A Python command is executed
A Python interpreter is selected
This function programmatically triggers activation by executing a
lightweight command, allowing kernel discovery to work even when
no Python files are open.
Returns Promise<boolean>
Promise that resolves when extension is active (or after timeout)
Ensures the Python extension is activated.
The Python extension uses lazy activation and only activates when:
This function programmatically triggers activation by executing a lightweight command, allowing kernel discovery to work even when no Python files are open.