lkeyes
December 8, 2017, 12:11pm
1
Moved to new machine, and instead of using the ISE, I’ve installed VSC with the Powershell extension. Three questions:
Is the integrated Powershell command line the same as a session started from the PowerShell command?
There is no Intellisense on the PS command line with VSC. Is this normal? Intellisense works great within the editor.
Thanks. – L
kinwolf
December 8, 2017, 12:55pm
2
1- Yes.
2- Since it’s really the local shell that is loaded there, you get what you’d get in the normal powershell shell. You can type the line in the editor, using intellisense, and run that line using F8 though.
Note, VSC will not give you all that the ISE provides.
The ISE will not give you all that VSC provides.
Add the PowerShell Extension.
Suggested settings to your VSC user settings for PowerShell Development.
"extensions.autoUpdate": true,
"files.defaultLanguage": "powershell",
"powershell.scriptAnalysis.enable": true,
"powershell.startAutomatically": true,
"powershell.integratedConsole.focusConsoleOnExecute": false,
"powershell.enableProfileLoading": true,
"powershell.developer.editorServicesLogLevel": "Verbose",
"powershell.codeFormatting.openBraceOnSameLine": false,
"editor.formatOnType": true,
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.mouseWheelZoom": true,
"terminal.integrated.shell.windows": "C:\\WINDOWS\\Sysnative\\WindowsPowerShell\\v1.0\\powershell.exe",
"window.zoomLevel": 0,
"workbench.colorTheme": "Monokai Dimmed",
"workbench.iconTheme": "vscode-icons",
"workbench.welcome.enabled": true,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressUpdateNotice": true,
"suppressWelcomeNotice": false