Skip to content

psedit non PowerShell files are not actually saved. #1215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bgelens opened this issue Feb 26, 2018 · 4 comments
Closed

psedit non PowerShell files are not actually saved. #1215

bgelens opened this issue Feb 26, 2018 · 4 comments
Labels
Area-psEditor Issue-Bug A bug to squash. Needs: Fix Verification Please verify the fix for us! Resolution-Duplicate Will close automatically.

Comments

@bgelens
Copy link

bgelens commented Feb 26, 2018

System Details

code -v
1.20.1
f88bbf9137d24d36d968ea6b2911786bfe103002
x64

$pseditor.EditorServicesVersion
Major  Minor  Build  Revision
-----  -----  -----  --------
1      6      0      0

code --list-extensions --show-versions
2gua.rainbow-brackets@0.0.6
ban.spellright@2.1.20
DavidAnson.vscode-markdownlint@0.13.0
dbaeumer.jshint@0.10.16
donjayamanne.githistory@0.4.0
DotJoshJohnson.xml@1.9.2
eamodio.gitlens@8.0.2
emilast.LogFileHighlighter@2.1.1
Equinusocio.vsc-material-theme@1.4.2
haaaad.ansible@0.2.7
humao.rest-client@0.17.0
icsharpcode.ilspy-vscode@0.3.0
jpogran.puppet-vscode@0.9.0
mauve.terraform@0.0.20
mindginative.terraform-snippets@2.0.1
ms-mssql.mssql@1.3.0
ms-python.python@2018.1.0
ms-vscode.azure-account@0.3.1
ms-vscode.azurecli@0.4.0
ms-vscode.csharp@1.14.0
ms-vscode.jscs@0.1.9
ms-vscode.PowerShell@1.6.0
msazurermtools.azurerm-vscode-tools@0.4.0
Pendrica.chef@0.6.4
PeterJausovec.vscode-docker@0.0.24
PKief.material-icon-theme@3.2.3
Shan.code-settings-sync@2.8.7
wayou.vscode-todo-highlight@0.5.11

$PSVersionTable

Name                           Value                                                                                                                                                          
----                           -----                                                                                                                                                          
PSVersion                      5.1.16299.248                                                                                                                                                  
PSEdition                      Desktop                                                                                                                                                        
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                                        
BuildVersion                   10.0.16299.248                                                                                                                                                 
CLRVersion                     4.0.30319.42000                                                                                                                                                
WSManStackVersion              3.0                                                                                                                                                            
PSRemotingProtocolVersion      2.3                                                                                                                                                            
SerializationVersion           1.1.0.1

Issue Description

Enter a PSSession and open a PowerShell file (ps1) and edit is with vs code. Save it and works as expected.

Now do the same for a different file type (e.g. .rb) adjust and save it. The modification is not saved. VS Code gives you the impression it is handled. But it isn't.

See gif for both cases:

2018-02-26_21-30-21

@TylerLeonhardt
Copy link
Member

Looks like a bug to me. Thanks for the report!

@p-rogalski
Copy link

Duplicate of #2166

@andyleejordan andyleejordan added the Resolution-Duplicate Will close automatically. label Nov 5, 2024
Copy link
Contributor

github-actions bot commented Nov 5, 2024

This issue has been labeled as resolved, please verify the provided fix (or other reason).

@github-actions github-actions bot added the Needs: Fix Verification Please verify the fix for us! label Nov 5, 2024
Copy link
Contributor

This issue has been labeled as needing fix verification and has not had any activity a week. It has been closed for housekeeping purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-psEditor Issue-Bug A bug to squash. Needs: Fix Verification Please verify the fix for us! Resolution-Duplicate Will close automatically.
Projects
None yet
Development

No branches or pull requests

4 participants