You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Path completion for using module should use the current script filepath if provided by the editor #19180
When defining relative paths in using module statements, the relative path is based around the location of the file with the statement, rather than the current location of the shell.
The tab completion should have the same behavior so people don't end up making mistakes when typing out the relative path.
The tab completion already handles this with $PSScriptRoot where editors like VS code can provide PowerShell with the current file path of the file in the editor so I can't imagine it would be too difficult to implement.
Activity
microsoft-github-policy-service commentedon Feb 27, 2025
📣 Hey MartinGC94, how did we do? We would love to hear your feedback with the link below! 🗣️
🔗 https://aka.ms/PSRepoFeedback