Closed
Description
System Details
System Details Output
### VSCode version: 1.27.2 f46c4c469d6e6d8c46f268d1553c5dc4b475840f x64
### VSCode extensions:
[createInstance] extensionManagementService depends on downloadService which is NOT registered.
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
### PSES version: 1.9.0.0
### PowerShell version:
Name Value
---- -----
PSVersion 5.1.17763.1
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.1
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Issue Description
I run a script. During running of the script I edit some stuff and press Save. It does format on save (as designed) but it seems it queue it for later...
Now if i continue edits it will queue it more and more..
Attached Logs
10/6/2018 8:47:46 PM [NORMAL] - Language server starting --
10/6/2018 8:47:46 PM [NORMAL] - exe: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
10/6/2018 8:47:46 PM [NORMAL] - args: C:\Users\pklys\.vscode\extensions\ms-vscode.powershell-1.9.0\modules\PowerShellEditorServices\Start-EditorServices.ps1 -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '1.9.0'-AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'C:\Users\pklys\.vscode\extensions\ms-vscode.powershell-1.9.0\modules'-EnableConsoleRepl -LogLevel 'Diagnostic' -LogPath 'C:\Users\pklys\.vscode\extensions\ms-vscode.powershell-1.9.0\logs\1538851666-301dad12-f1db-4f10-b147-f4b211689b651538724044891\EditorServices.log' -SessionDetailsPath 'C:\Users\pklys\.vscode\extensions\ms-vscode.powershell-1.9.0\sessions\PSES-VSCode-6188-174776' -FeatureFlags @()
10/6/2018 8:47:47 PM [NORMAL] - powershell.exe started, pid: 20588
10/6/2018 8:47:48 PM [NORMAL] - Language server started.
10/6/2018 8:47:48 PM [NORMAL] - Connecting to language service on pipe \\.\pipe\PSES_b63b9071-eebd-42a6-84a5-7cb714b7f19f...
10/6/2018 8:47:48 PM [NORMAL] - {"status":"started","debugServiceTransport":"NamedPipe","languageServiceTransport":"NamedPipe","debugServicePipeName":"\\\\.\\pipe\\PSES_2f66723a-cc27-406c-996b-64363372e615","languageServicePipeName":"\\\\.\\pipe\\PSES_b63b9071-eebd-42a6-84a5-7cb714b7f19f"}
10/6/2018 8:47:48 PM [NORMAL] - Language service connected.
10/6/2018 8:53:29 PM [VERBOSE] - Formatting entire document - file:///c%3A/Users/pklys/OneDrive%20-%20Evotec/Support/GitHub/PSWinDocumentation/Examples/Run-DocumentationADWithPasswordQuality.ps1...
10/6/2018 8:53:30 PM [VERBOSE] - Document formatting finished in 1.387s
10/6/2018 8:55:39 PM [VERBOSE] - Formatting entire document - file:///c%3A/Users/pklys/OneDrive%20-%20Evotec/Support/GitHub/PSWinDocumentation/Examples/Run-DocumentationADWithPasswordQuality.ps1...
10/6/2018 8:55:42 PM [VERBOSE] - Document formatting finished in 3.41s
10/6/2018 8:56:35 PM [VERBOSE] - Formatting entire document - file:///c%3A/Users/pklys/OneDrive%20-%20Evotec/Support/GitHub/PSWinDocumentation/Public/Get-WinADDomainInformation.ps1...
10/6/2018 8:56:42 PM [VERBOSE] - Formatting entire document - file:///c%3A/Users/pklys/OneDrive%20-%20Evotec/Support/GitHub/PSWinDocumentation/Public/Get-WinADDomainInformation.ps1...
10/6/2018 8:56:48 PM [VERBOSE] - Formatting entire document - file:///c%3A/Users/pklys/OneDrive%20-%20Evotec/Support/GitHub/PSWinDocumentation/Public/Get-WinADDomainInformation.ps1...
10/6/2018 9:15:44 PM [VERBOSE] - Formatting entire document - file:///c%3A/Users/pklys/OneDrive%20-%20Evotec/Support/GitHub/PSWinDocumentation/Examples/Run-DocumentationADWithPasswordQuality.ps1...
As you can see the script is running I press Save on multiple times and it seems to be starting reformat and reformat again and again. My guess is that when it's done it will do 4 times reformat right? Maybe it should disable that feature when script is running since it's not doing anything?