René's URL Explorer Experiment


Title: Add support for renaming PowerShell class references · Issue #2293 · PowerShell/PowerShellEditorServices · GitHub

Open Graph Title: Add support for renaming PowerShell class references · Issue #2293 · PowerShell/PowerShellEditorServices

X Title: Add support for renaming PowerShell class references · Issue #2293 · PowerShell/PowerShellEditorServices

Description: Prerequisites I have written a descriptive issue title. I have searched all open and closed issues to ensure it has not already been reported. I have read the troubleshooting guide. I am sure this issue is with PowerShell Editor Services...

Open Graph Description: Prerequisites I have written a descriptive issue title. I have searched all open and closed issues to ensure it has not already been reported. I have read the troubleshooting guide. I am sure this ...

X Description: Prerequisites I have written a descriptive issue title. I have searched all open and closed issues to ensure it has not already been reported. I have read the troubleshooting guide. I am sure this ...

Opengraph URL: https://github.com/PowerShell/PowerShellEditorServices/issues/2293

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for renaming PowerShell class references","articleBody":"### Prerequisites\n\n- [x] I have written a descriptive issue title.\n- [x] I have searched all [_open and closed_ issues](https://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue) to ensure it has not already been reported.\n- [x] I have read the [troubleshooting](https://github.com/PowerShell/vscode-powershell/blob/main/docs/troubleshooting.md) guide.\n- [x] I am sure this issue is with _PowerShell Editor Services itself_ and does not reproduce in a standalone [PowerShell](https://github.com/PowerShell/PowerShell/issues/new/choose) instance, and is not an issue with my editor.\n- [x] I have verified that I am using the latest version of PowerShell Editor Services.\n- [ ] If this is a security issue, I have read the [security issue reporting guidance](https://github.com/PowerShell/vscode-powershell/blob/main/SECURITY.md).\n\n### Summary\n\nThis is not a bug, but the README says that rename scenarios should be filed as bug reports, so that's what I'm doing.\nI think it should be fairly trivial to add renaming support for PowerShell classes defined in the same script file.\nExpected:\n\n```\nclass DemoClass\n{\n    [string] $SomeProperty\n\n    DemoClass ([string] $SomeArg)\n    {\n        $this.SomeProperty = $SomeArg\n    }\n}\n\n[DemoClass]\n```\nActual:\n```\nclass NewName\n{\n    [string] $SomeProperty\n\n    NewName ([string] $SomeArg)\n    {\n        $this.SomeProperty = $SomeArg\n    }\n}\n\n[NewName]\n```\n\nOne thing to keep in mind during implementation is that a PowerShell class can also be used to define an attribute, and an attribute type can drop the optional Attribute suffix in an attribute context as seen here:\n```\nclass ValidateSomethingAttribute : System.Management.Automation.ValidateArgumentsAttribute\n{\n    [void]Validate([System.Object]$arguments, [System.Management.Automation.EngineIntrinsics]$engineIntrinsics)\n    {\n    }\n}\n[ValidateSomething()][string]$Path = \"c:\\windows\"\n```\n\n### PowerShell Version\n\n```console\nName                           Value\n----                           -----\nPSVersion                      7.6.1\nPSEdition                      Core\nGitCommitId                    7.6.1\nOS                             Microsoft Windows 10.0.26200\nPlatform                       Win32NT\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}\nPSRemotingProtocolVersion      2.4\nSerializationVersion           1.1.0.1\nWSManStackVersion              3.0\n```\n\n### Editor Version\n\n```console\nVS code:\n\nVersion: 1.117.0 (system setup)\nCommit: 10c8e557c8b9f9ed0a87f61f1c9a44bde731c409\nDate: 2026-04-21T16:12:14-07:00\nElectron: 39.8.7\nElectronBuildId: 13841579\nChromium: 142.0.7444.265\nNode.js: 22.22.1\nV8: 14.2.231.22-electron.0\nOS: Windows_NT x64 10.0.26200\n```\n\n### PowerShell Editor Services Version\n\n```console\nMajor  Minor  Build  Revision\n-----  -----  -----  --------\n4      6      0      0\n```\n\n### Steps to Reproduce\n\nUse the code blocks from before and press F2 on the class name references.\n\n### Visuals\n\n_No response_\n\n### Logs\n\n_No response_","author":{"url":"https://github.com/MartinGC94","@type":"Person","name":"MartinGC94"},"datePublished":"2026-05-30T20:57:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2293/PowerShellEditorServices/issues/2293"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:59acd954-7795-99ef-5d99-9cc3077092af
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8A78:3A04D8:26B161:3738D9:6A572579
html-safe-nonce6bbbc91d2a2cd7bf67fcfe980d5684a2b6f9c372ba0de5d538955fd568af536f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTc4OjNBMDREODoyNkIxNjE6MzczOEQ5OjZBNTcyNTc5IiwidmlzaXRvcl9pZCI6IjExNjUyOTcxMjgyMzY4NTI2MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac044486522bef5529a6665eba59c2bfe54b3f10c796927a999ebd22df56a07ef9
hovercard-subject-tagissue:4555679994
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShellEditorServices/2293/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ccdb7c68eeee2defcca31578ce8292431993adcd234cdd8a9299fe0e89948000/PowerShell/PowerShellEditorServices/issues/2293
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ccdb7c68eeee2defcca31578ce8292431993adcd234cdd8a9299fe0e89948000/PowerShell/PowerShellEditorServices/issues/2293
og:image:altPrerequisites I have written a descriptive issue title. I have searched all open and closed issues to ensure it has not already been reported. I have read the troubleshooting guide. I am sure this ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMartinGC94
hostnamegithub.com
expected-hostnamegithub.com
None4e7a7296a3830877cf21a6ad2a972c9e618a48915e03966cf0c53eb08e5aad98
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShellEditorServices git https://github.com/PowerShell/PowerShellEditorServices.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id36031537
octolytics-dimension-repository_nwoPowerShell/PowerShellEditorServices
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36031537
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShellEditorServices
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2576d1f0198cf1588faf2edf27f1ed120903be10
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShellEditorServices/issues/2293#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShellEditorServices%2Fissues%2F2293
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShellEditorServices%2Fissues%2F2293
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShellEditorServices
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/2293
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/2293
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/2293
Please reload this pagehttps://github.com/PowerShell/PowerShellEditorServices/issues/2293
PowerShell https://github.com/PowerShell
PowerShellEditorServiceshttps://github.com/PowerShell/PowerShellEditorServices
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShellEditorServices
Fork 260 https://github.com/login?return_to=%2FPowerShell%2FPowerShellEditorServices
Star 759 https://github.com/login?return_to=%2FPowerShell%2FPowerShellEditorServices
Code https://github.com/PowerShell/PowerShellEditorServices
Issues 127 https://github.com/PowerShell/PowerShellEditorServices/issues
Pull requests 14 https://github.com/PowerShell/PowerShellEditorServices/pulls
Actions https://github.com/PowerShell/PowerShellEditorServices/actions
Security and quality 0 https://github.com/PowerShell/PowerShellEditorServices/security
Insights https://github.com/PowerShell/PowerShellEditorServices/pulse
Code https://github.com/PowerShell/PowerShellEditorServices
Issues https://github.com/PowerShell/PowerShellEditorServices/issues
Pull requests https://github.com/PowerShell/PowerShellEditorServices/pulls
Actions https://github.com/PowerShell/PowerShellEditorServices/actions
Security and quality https://github.com/PowerShell/PowerShellEditorServices/security
Insights https://github.com/PowerShell/PowerShellEditorServices/pulse
Add support for renaming PowerShell class referenceshttps://github.com/PowerShell/PowerShellEditorServices/issues/2293#top
Issue-BugA bug to squash.https://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Issue-Bug%22
Needs: TriageMaintainer attention needed!https://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Needs%3A%20Triage%22
https://github.com/MartinGC94
MartinGC94https://github.com/MartinGC94
on May 30, 2026https://github.com/PowerShell/PowerShellEditorServices/issues/2293#issue-4555679994
open and closed issueshttps://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue
troubleshootinghttps://github.com/PowerShell/vscode-powershell/blob/main/docs/troubleshooting.md
PowerShellhttps://github.com/PowerShell/PowerShell/issues/new/choose
security issue reporting guidancehttps://github.com/PowerShell/vscode-powershell/blob/main/SECURITY.md
Issue-BugA bug to squash.https://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Issue-Bug%22
Needs: TriageMaintainer attention needed!https://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Needs%3A%20Triage%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.