Skip to content

Instantly share code, notes, and snippets.

@mmcintyre123
mmcintyre123 / Microsoft.VSCode_profile.ps1
Created February 11, 2026 02:04
VS Code PowerShell profile: auto-loads powershell script functions with comment-based help for IntelliSense hover tooltips. See https://github.com/PowerShell/vscode-powershell/issues/2472
# VSCode-specific PowerShell profile
# This profile is loaded when PowerShell runs inside VS Code.
#
# It automatically discovers PowerShell files from two sources:
# 1. Recursive scan of the workspace directory
# 2. ALL open .ps1 editor tabs across ALL VS Code windows (via state.vscdb)
#
# All discovered functions (with their comment-based help blocks) are loaded
# into the session so that IntelliSense hover tooltips and Get-Help work.
#