diff --git a/HostInjection/Models.cs b/HostInjection/Models.cs index 4275028..20ac68d 100644 --- a/HostInjection/Models.cs +++ b/HostInjection/Models.cs @@ -12,7 +12,8 @@ public class TextEdit public string Content { get; set; } public string FileName { get; set; } public TextEditType Type { get; set; } - + public string Uri { get; set; } + public static TextEdit None { @@ -30,7 +31,8 @@ public override bool Equals(object obj) EqualityComparer.Default.Equals(Cursor, edit.Cursor) && Content == edit.Content && FileName == edit.FileName && - Type == edit.Type; + Type == edit.Type && + Uri == edit.Uri; } public override int GetHashCode() @@ -41,6 +43,7 @@ public override int GetHashCode() hashCode = hashCode * -1521134295 + EqualityComparer.Default.GetHashCode(Cursor); hashCode = hashCode * -1521134295 + EqualityComparer.Default.GetHashCode(Content); hashCode = hashCode * -1521134295 + EqualityComparer.Default.GetHashCode(FileName); + hashCode = hashCode * -1521134295 + EqualityComparer.Default.GetHashCode(Uri); hashCode = hashCode * -1521134295 + Type.GetHashCode(); return hashCode; } @@ -62,12 +65,14 @@ public class TextEditorState public TextPosition SelectionEnd { get; set; } public TextPosition DocumentEnd { get; set; } public IPoshToolsServer Server { get; set; } + public string Uri { get; set; } public override bool Equals(object obj) { return obj is TextEditorState state && Content == state.Content && FileName == state.FileName && + Uri == state.Uri && EqualityComparer.Default.Equals(SelectionStart, state.SelectionStart) && EqualityComparer.Default.Equals(SelectionEnd, state.SelectionEnd) && EqualityComparer.Default.Equals(DocumentEnd, state.DocumentEnd) && @@ -82,6 +87,7 @@ public override int GetHashCode() hashCode = hashCode * -1521134295 + EqualityComparer.Default.GetHashCode(SelectionStart); hashCode = hashCode * -1521134295 + EqualityComparer.Default.GetHashCode(SelectionEnd); hashCode = hashCode * -1521134295 + EqualityComparer.Default.GetHashCode(DocumentEnd); + hashCode = hashCode * -1521134295 + EqualityComparer.Default.GetHashCode(Uri); hashCode = hashCode * -1521134295 + EqualityComparer.Default.GetHashCode(Server); return hashCode; } @@ -156,7 +162,7 @@ public RefactorInfo() { } public RefactorInfo(string name, RefactorType type) { Name = name; - Type = type; + Type = type; } public string Name { get; set; } diff --git a/HostInjection/Refactoring/ConvertToDollarUnder.cs b/HostInjection/Refactoring/ConvertToDollarUnder.cs index 329c2a9..edf9eef 100644 --- a/HostInjection/Refactoring/ConvertToDollarUnder.cs +++ b/HostInjection/Refactoring/ConvertToDollarUnder.cs @@ -27,6 +27,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl yield return new TextEdit { + Uri = state.Uri, Content = "$_", FileName = state.FileName, Type = TextEditType.Replace, diff --git a/HostInjection/Refactoring/ConvertToMultilineCommand.cs b/HostInjection/Refactoring/ConvertToMultilineCommand.cs index e43626b..ad234c5 100644 --- a/HostInjection/Refactoring/ConvertToMultilineCommand.cs +++ b/HostInjection/Refactoring/ConvertToMultilineCommand.cs @@ -70,6 +70,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl yield return new TextEdit { + Uri = state.Uri, Content = stringBuilder.ToString().Trim().TrimEnd('`'), Type = TextEditType.Replace, Start = new TextPosition diff --git a/HostInjection/Refactoring/ConvertToPsItem.cs b/HostInjection/Refactoring/ConvertToPsItem.cs index 5a2bb43..2443f8b 100644 --- a/HostInjection/Refactoring/ConvertToPsItem.cs +++ b/HostInjection/Refactoring/ConvertToPsItem.cs @@ -23,9 +23,10 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl { yield break; } - + yield return new TextEdit { + Uri = state.Uri, Content = "$PSItem", FileName = state.FileName, Type = TextEditType.Replace, diff --git a/HostInjection/Refactoring/ConvertToSplat.cs b/HostInjection/Refactoring/ConvertToSplat.cs index adc3a71..5c52349 100644 --- a/HostInjection/Refactoring/ConvertToSplat.cs +++ b/HostInjection/Refactoring/ConvertToSplat.cs @@ -93,6 +93,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl yield return new TextEdit { + Uri = state.Uri, Content = stringBuilder.ToString(), Type = TextEditType.Insert, Start = new TextPosition @@ -103,9 +104,10 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl }, FileName = state.FileName }; - + yield return new TextEdit { + Uri = state.Uri, Content = $"{commandName} @Parameters", Type = TextEditType.Replace, Start = new TextPosition diff --git a/HostInjection/Refactoring/ExportModuleMember.cs b/HostInjection/Refactoring/ExportModuleMember.cs index e8458f1..6731991 100644 --- a/HostInjection/Refactoring/ExportModuleMember.cs +++ b/HostInjection/Refactoring/ExportModuleMember.cs @@ -37,6 +37,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl { yield return new TextEdit { + Uri = state.Uri, Type = TextEditType.Insert, Content = $"{Environment.NewLine}Export-ModuleMember -Variable '{variableExpression.VariablePath.UserPath}'", Start = new TextPosition @@ -51,6 +52,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl { yield return new TextEdit { + Uri = state.Uri, Type = TextEditType.Insert, Content = $"{Environment.NewLine}Export-ModuleMember -Function '{functionDef.Name}'", Start = new TextPosition diff --git a/HostInjection/Refactoring/ExtractFile.cs b/HostInjection/Refactoring/ExtractFile.cs index 708928e..7ece8ac 100644 --- a/HostInjection/Refactoring/ExtractFile.cs +++ b/HostInjection/Refactoring/ExtractFile.cs @@ -43,6 +43,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl yield return new TextEdit { + Uri = state.Uri, Content = $"& \"$PSScriptRoot\\{fileName}\"", Start = new TextPosition { diff --git a/HostInjection/Refactoring/ExtractFunction.cs b/HostInjection/Refactoring/ExtractFunction.cs index 9d13754..a6fbc7a 100644 --- a/HostInjection/Refactoring/ExtractFunction.cs +++ b/HostInjection/Refactoring/ExtractFunction.cs @@ -75,6 +75,7 @@ m is AssignmentStatementAst assignment && yield return new TextEdit { + Uri = state.Uri, Content = stringBuilder.ToString(), Start = new TextPosition { diff --git a/HostInjection/Refactoring/ExtractVariable.cs b/HostInjection/Refactoring/ExtractVariable.cs index ba4aa35..e6a042c 100644 --- a/HostInjection/Refactoring/ExtractVariable.cs +++ b/HostInjection/Refactoring/ExtractVariable.cs @@ -75,6 +75,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl yield return new TextEdit { + Uri = state.Uri, Content = stringBuilder.ToString(), Start = new TextPosition { diff --git a/HostInjection/Refactoring/GenerateFunctionFromUsage.cs b/HostInjection/Refactoring/GenerateFunctionFromUsage.cs index 99abeef..19e54da 100644 --- a/HostInjection/Refactoring/GenerateFunctionFromUsage.cs +++ b/HostInjection/Refactoring/GenerateFunctionFromUsage.cs @@ -121,6 +121,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl yield return new TextEdit { + Uri = state.Uri, Content = stringBuilder.ToString(), Type = TextEditType.Insert, Start = new TextPosition diff --git a/HostInjection/Refactoring/GenerateProxyFunction.cs b/HostInjection/Refactoring/GenerateProxyFunction.cs index 594d3af..1474bb3 100644 --- a/HostInjection/Refactoring/GenerateProxyFunction.cs +++ b/HostInjection/Refactoring/GenerateProxyFunction.cs @@ -41,6 +41,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerab edits.Add(new TextEdit { + Uri = state.Uri, Content = stringBuilder.ToString(), Type = TextEditType.Insert, Start = new TextPosition diff --git a/HostInjection/Refactoring/IntroduceUsing.cs b/HostInjection/Refactoring/IntroduceUsing.cs index 97c4b0a..230da0f 100644 --- a/HostInjection/Refactoring/IntroduceUsing.cs +++ b/HostInjection/Refactoring/IntroduceUsing.cs @@ -51,6 +51,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl yield return new TextEdit { + Uri = state.Uri, Content = $"using namespace {namespaceName}{Environment.NewLine}", FileName = state.FileName, Type = TextEditType.Insert, diff --git a/HostInjection/Refactoring/Reorder.cs b/HostInjection/Refactoring/Reorder.cs index 15990e8..369a957 100644 --- a/HostInjection/Refactoring/Reorder.cs +++ b/HostInjection/Refactoring/Reorder.cs @@ -82,7 +82,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl } if (direction == "Right") - { + { if (targetParameterIndex + 1 == currentParameterIndex) { yield break; @@ -143,6 +143,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl yield return new TextEdit { + Uri = state.Uri, Content = stringBuilder.ToString(), Type = TextEditType.Replace, Start = new TextPosition diff --git a/HostInjection/Refactoring/SplitPipe.cs b/HostInjection/Refactoring/SplitPipe.cs index f4d1b59..8d33926 100644 --- a/HostInjection/Refactoring/SplitPipe.cs +++ b/HostInjection/Refactoring/SplitPipe.cs @@ -47,6 +47,7 @@ public IEnumerable Refactor(TextEditorState state, Ast ast, IEnumerabl yield return new TextEdit { + Uri = state.Uri, Content = stringBuilder.ToString(), Type = TextEditType.Replace, Start = new TextPosition diff --git a/HostInjection/Variable.cs b/HostInjection/Variable.cs index 362e8a7..e8825a8 100644 --- a/HostInjection/Variable.cs +++ b/HostInjection/Variable.cs @@ -234,7 +234,7 @@ public IEnumerable GetChildren() yield break; } - if (_propertyInfo.Value == null) yield break; + if (_propertyInfo?.Value == null) yield break; foreach (var item in ProcessObject(_propertyInfo.Value)) { diff --git a/PowerShellToolsPro.Cmdlets/PowerShellProTools.psd1 b/PowerShellToolsPro.Cmdlets/PowerShellProTools.psd1 index 1408a3f..7198d69 100644 --- a/PowerShellToolsPro.Cmdlets/PowerShellProTools.psd1 +++ b/PowerShellToolsPro.Cmdlets/PowerShellProTools.psd1 @@ -3,7 +3,7 @@ # # Generated by: Ironman Software, LLC # -# Generated on: 7/10/2024 +# Generated on: 7/18/2024 # @{ @@ -18,7 +18,7 @@ ModuleVersion = '2024.7.0' # CompatiblePSEditions = @() # ID used to uniquely identify this module -GUID = '67c5dc55-fa45-4f33-856f-fbab0a85e9eb' +GUID = 'c9ea3714-d2c0-4a2d-9e85-e275d09854cd' # Author of this module Author = 'Ironman Software, LLC' diff --git a/PowerShellToolsPro.Cmdlets/PowerShellProTools.psm1 b/PowerShellToolsPro.Cmdlets/PowerShellProTools.psm1 index 8b71b75..3bd0778 100644 --- a/PowerShellToolsPro.Cmdlets/PowerShellProTools.psm1 +++ b/PowerShellToolsPro.Cmdlets/PowerShellProTools.psm1 @@ -52,7 +52,7 @@ function Expand-Object { } # SIG # Begin signature block -# MIIo2QYJKoZIhvcNAQcCoIIoyjCCKMYCAQMxDTALBglghkgBZQMEAgEwewYKKwYB +# MIIo2gYJKoZIhvcNAQcCoIIoyzCCKMcCAQMxDTALBglghkgBZQMEAgEwewYKKwYB # BAGCNwIBBKBtBGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAYHe0V71QM+EvM # YkGubPgWGiXnp7h+1iduu7+KNbvDzKCCDkYwggbmMIIEzqADAgECAhB3vQ4DobcI @@ -131,7 +131,7 @@ function Expand-Object { # Hk7NR1OHrPR2mO8uPIzHwE54UIc1YOBs49SInHsTkDzoFAFa4cP5Mk7OdclJfbN7 # h/h58+um8CqNPbRAJXvNdWPHotRYuHUz7aKGMEYjgOk03S2ZTTUrVN9tSTdhgfjN # qavYppaJrKKm5VhrEER2K2HAwW7GoW9mh25AzkmsQ4aoeedgLsnvVV8OGfYrT2bO -# 01Djyr6LsTSIjXMufvzonovfy6b2oqfeHJtJCnataBAxghnpMIIZ5QIBATBpMFkx +# 01Djyr6LsTSIjXMufvzonovfy6b2oqfeHJtJCnataBAxghnqMIIZ5gIBATBpMFkx # CzAJBgNVBAYTAkJFMRkwFwYDVQQKExBHbG9iYWxTaWduIG52LXNhMS8wLQYDVQQD # EyZHbG9iYWxTaWduIEdDQyBSNDUgQ29kZVNpZ25pbmcgQ0EgMjAyMAIMD8vFb5IC # fmzAlZMIMAsGCWCGSAFlAwQCAaB8MBAGCisGAQQBgjcCAQwxAjAAMBkGCSqGSIb3 @@ -148,126 +148,126 @@ function Expand-Object { # 5wt42E1GzpzBKtixmjcbDjWPhJ0WCLy9KhJ00B4dCxJVUhHU7k+c22nXE7bl65y0 # clFG5sofHpXy5c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BtpNoSTWQYItIwqFRjC5+zOFprkbcxlc6sUynfCSe6NGeewdAH +# MiqIFNfac8C6W222tAP2Us0NDByNSCNsXsOCcdTxn/YKgXjA00QSjVqzEbliNQ== # SIG # End signature block diff --git a/vscode/powershellprotools/package-lock.json b/vscode/powershellprotools/package-lock.json index 4f8e7e3..887b760 100644 --- a/vscode/powershellprotools/package-lock.json +++ b/vscode/powershellprotools/package-lock.json @@ -1,12 +1,12 @@ { "name": "powershellprotools", - "version": "2024.7.3", + "version": "2024.7.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "powershellprotools", - "version": "2024.7.3", + "version": "2024.7.5", "dependencies": { "cheerio": "^1.0.0-rc.2", "extract-zip": "^2.0.1", @@ -793,9 +793,9 @@ "dev": true }, "node_modules/is-core-module": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", - "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", + "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", "dev": true, "dependencies": { "hasown": "^2.0.2" @@ -1770,9 +1770,9 @@ "dev": true }, "is-core-module": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.14.0.tgz", - "integrity": "sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==", + "version": "2.15.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.0.tgz", + "integrity": "sha512-Dd+Lb2/zvk9SKy1TGCt1wFJFo/MWBPMX5x7KcvLajWTGuomczdQX61PvY5yK6SVACwpoexWo81IfFyoKY2QnTA==", "dev": true, "requires": { "hasown": "^2.0.2" diff --git a/vscode/powershellprotools/package.json b/vscode/powershellprotools/package.json index cc61739..db63c70 100644 --- a/vscode/powershellprotools/package.json +++ b/vscode/powershellprotools/package.json @@ -2,7 +2,7 @@ "name": "powershellprotools", "displayName": "PowerShell Pro Tools", "description": "Powerful extensions for PowerShell development.", - "version": "2024.7.4", + "version": "2024.7.5", "publisher": "ironmansoftware", "repository": { "type": "git", diff --git a/vscode/powershellprotools/src/commands/refactoring.ts b/vscode/powershellprotools/src/commands/refactoring.ts index 2cd97a7..ccffe4b 100644 --- a/vscode/powershellprotools/src/commands/refactoring.ts +++ b/vscode/powershellprotools/src/commands/refactoring.ts @@ -117,6 +117,7 @@ export class RefactoringCommands implements ICommand, vscode.CodeActionProvider request.editorState = new TextEditorState(); request.editorState.content = document.getText() request.editorState.fileName = document.fileName + request.editorState.uri = document.uri.toString() request.editorState.documentEnd = { Character: document.lineAt(document.lineCount - 1).range.end.character, Line: document.lineCount - 1 @@ -205,7 +206,8 @@ export class RefactoringCommands implements ICommand, vscode.CodeActionProvider let we = new vscode.WorkspaceEdit(); for (var edit of result) { - let uri = vscode.Uri.file(edit.FileName); + + let uri = edit.Uri ? vscode.Uri.parse(edit.Uri) : vscode.Uri.file(edit.Uri); switch (edit.Type) { case TextEditType.replace: diff --git a/vscode/powershellprotools/src/types.ts b/vscode/powershellprotools/src/types.ts index a0ff85d..d04e07a 100644 --- a/vscode/powershellprotools/src/types.ts +++ b/vscode/powershellprotools/src/types.ts @@ -5,6 +5,7 @@ export class RefactorTextEdit { Content: string; FileName: string; Type: TextEditType; + Uri: string; } export class RefactorInfo { @@ -22,6 +23,7 @@ export enum TextEditType { export class TextEditorState { content: string; fileName: string; + uri: string; selectionStart: TextPosition; selectionEnd: TextPosition; documentEnd: TextPosition;