How can I get autocomplete for objects created by dot-sourced PowerShell scripts?
I'm writing CI/CD scripts in PowerShell and split larger scripts into separate .ps1 files for clarity. For example, a paths.ps1 script creates a common paths object, which I…