René's URL Explorer Experiment


Title: Intellisense not behaving properly before class object is instantiated · Issue #1896 · PowerShell/PowerShellEditorServices · GitHub

Open Graph Title: Intellisense not behaving properly before class object is instantiated · Issue #1896 · PowerShell/PowerShellEditorServices

X Title: Intellisense not behaving properly before class object is instantiated · Issue #1896 · PowerShell/PowerShellEditorServices

Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest version Search the existing issues. Steps to reproduce class Person { [string]$Name [int]$Age = 999 Person([string]$name) { $this.Name = $name } Pe...

Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest version Search the existing issues. Steps to reproduce class Person { [string]$Name [int]$Age = 999 Person(...

X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest version Search the existing issues. Steps to reproduce class Person { [string]$Name [int]$Age = 999 Person(...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Intellisense not behaving properly before class object is instantiated","articleBody":"### Prerequisites\n\n- [X] Write a descriptive title.\n- [X] Make sure you are able to repro it on the latest version\n- [X] Search the existing issues.\n\n### Steps to reproduce\n\n```powershell\r\nclass Person {\r\n    [string]$Name\r\n    [int]$Age = 999\r\n\r\n    Person([string]$name) {\r\n        $this.Name = $name\r\n    }\r\n\r\n    Person([string]$name, [int]$age) {\r\n        $this.Name = $name\r\n        $this.Age = $age\r\n    }\r\n\r\n    [string]GetIntroduction([string]$greeting) {\r\n        return \"$greeting $($this.Name)\"\r\n    }\r\n\r\n    [string]GetIntroduction([bool]$withAge) {\r\n        return \"Hello $($this.Name) ($($this.Age))\"\r\n    }\r\n}\r\n\r\n# 1. Run until this point. Don't execute the next lines\r\n# ctrl+space at end $p. to open intellisense.\r\n# Look at GetIntroduction (missing second overload) and Person (shouldn't be there)\r\n$p = [Person]::new(\"Frode\")\r\n$p.\r\n\r\n# 2. Execute next line\r\n$p = [Person]::new(\"Frode\")\r\n\r\n# 3. ctrl+space at end of next line and check again. both method overloads visible + no constructor as expected\r\n$p.\r\n```\n\n### Expected behavior\n\n```console\nIntellisense/completion shows the same step 3 at step 2\n```\n\n\n### Actual behavior\n\n```console\nDifference. Intellisense for members of `$p` include constructor and only first overload of methods. See images below\n```\n\n\n### Error details\n\n_No response_\n\n### Environment data\n\n```PowerShell\nName                           Value\r\n----                           -----\r\nPSVersion                      7.2.5\r\nPSEdition                      Core\r\nGitCommitId                    7.2.5\r\nOS                             Linux 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022\r\nPlatform                       Unix\r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}\r\nPSRemotingProtocolVersion      2.3\r\nSerializationVersion           1.1.0.1\r\nWSManStackVersion              3.0\n```\n\n\n### Version\n\n2022.8.2 preview\n\n### Visuals\n\nConstructor is shown\r\n![image](https://user-images.githubusercontent.com/3436158/184972426-4a1a3a26-1c61-4122-bd60-f8326bf02268.png)\r\n\r\nOnly first overload\r\n![image](https://user-images.githubusercontent.com/3436158/184973258-ea74d9ac-3334-45e1-81df-b039d3046b7f.png)\r\n","author":{"url":"https://github.com/fflaten","@type":"Person","name":"fflaten"},"datePublished":"2022-08-16T20:04:34Z","url":"https://github.com/PowerShell/PowerShellEditorServices/issues/1896"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:99c661b2-79b2-4432-b636-b7d2af9ebac8
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC6A6:238BBD:524844:76E6D9:6AFD89BF
html-safe-nonced18822a290145c904b7521d4794fa83d7cfe4441a8c5efb5084304578e50bbeb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkE2OjIzOEJCRDo1MjQ4NDQ6NzZFNkQ5OjZBRkQ4OUJGIiwidmlzaXRvcl9pZCI6IjU0MDkxNTYzNDkyMzk4NTU1NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfdf4894c9734ddd6c6d52d73139a6da6ee041c2c0a0bbf62ec686a5ea83658ca
hovercard-subject-tagissue:1340820555
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/1896/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2881d9a66300155e258342726dcfa07e28af9a304956516116328e2bd93d27a8/PowerShell/PowerShellEditorServices/issues/1896
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2881d9a66300155e258342726dcfa07e28af9a304956516116328e2bd93d27a8/PowerShell/PowerShellEditorServices/issues/1896
og:image:altPrerequisites Write a descriptive title. Make sure you are able to repro it on the latest version Search the existing issues. Steps to reproduce class Person { [string]$Name [int]$Age = 999 Person(...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefflaten
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
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
release927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShellEditorServices/issues/1896#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShellEditorServices%2Fissues%2F1896
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShellEditorServices%2Fissues%2F1896
Sign uphttps://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/1896
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/1896
Reloadhttps://github.com/PowerShell/PowerShellEditorServices/issues/1896
PowerShellhttps://github.com/PowerShell
PowerShellEditorServiceshttps://github.com/PowerShell/PowerShellEditorServices
Codehttps://github.com/PowerShell/PowerShellEditorServices
Issues126 (126)https://github.com/PowerShell/PowerShellEditorServices/issues
Pull requests19 (19)https://github.com/PowerShell/PowerShellEditorServices/pulls
Actionshttps://github.com/PowerShell/PowerShellEditorServices/actions
Security and qualityhttps://github.com/PowerShell/PowerShellEditorServices/security
Insightshttps://github.com/PowerShell/PowerShellEditorServices/insights
https://github.com/PowerShell/PowerShellEditorServices
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShellEditorServices/issues/1896
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShellEditorServices/issues/1896
Intellisense not behaving properly before class object is instantiatedhttps://github.com/PowerShell/PowerShellEditorServices/issues/1896#top
Needs: TriageMaintainer attention needed!https://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Needs%3A%20Triage%22
https://github.com/fflaten
Frode Flaten (fflaten)https://github.com/fflaten
on Aug 16, 2022https://github.com/PowerShell/PowerShellEditorServices/issues/1896#issue-1340820555
https://user-images.githubusercontent.com/3436158/184972426-4a1a3a26-1c61-4122-bd60-f8326bf02268.png
https://user-images.githubusercontent.com/3436158/184973258-ea74d9ac-3334-45e1-81df-b039d3046b7f.png
Needs: TriageMaintainer attention needed!https://github.com/PowerShell/PowerShellEditorServices/issues?q=state%3Aopen%20label%3A%22Needs%3A%20Triage%22
on Aug 16, 2022https://github.com/PowerShell/PowerShellEditorServices/issues/1896#event-7200223726
Frode Flaten (fflaten)https://github.com/fflaten
on Aug 16, 2022https://github.com/PowerShell/PowerShellEditorServices/issues/1896#event-7200225912
https://github.com/MartinGC94
MartinGC94https://github.com/MartinGC94
on Aug 24, 2022https://github.com/PowerShell/PowerShellEditorServices/issues/1896#issuecomment-1225859602
PowerShell/PowerShell#16963https://github.com/PowerShell/PowerShell/pull/16963
https://github.com/fflaten
Frode Flaten (fflaten)https://github.com/fflaten
on Aug 25, 2022https://github.com/PowerShell/PowerShellEditorServices/issues/1896#issuecomment-1227539689
MartinGC94https://github.com/MartinGC94
Frode Flaten (fflaten)https://github.com/fflaten
completedhttps://github.com/PowerShell/PowerShellEditorServices/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 25, 2022https://github.com/PowerShell/PowerShellEditorServices/issues/1896#event-7261357750
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShellEditorServices/issues/1896
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShellEditorServices/issues/1896
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.