Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: How to install a add-on into ISE?

$
0
0

It looks like as long as ConvertTo-PSCustomObject.ps1 , Edit-Live.ps1, and New-FunctionFromSelectedText.ps1 are in the same directory as your profile script, what you did should work okay. The first few lines of psharp.ps1 try to dot source those scripts from its current directory. Rather than copying the contents of psharp.ps1 into your profile, though, you should probably just dot source it. That way you can download updates without having to recopy it into your profile.

# Microsoft.PowerShellISE_profile.ps1
. C:\Path\To\psharp.ps1

I’m not sure what the purpose is for the other ps1 scripts in the “spike” folder of the git repository. They don’t seem to be used right now.


Viewing all articles
Browse latest Browse all 13067

Trending Articles