René's URL Explorer Experiment


Title: Auto complete not working for packages except those under @types folder · Issue #30474 · microsoft/TypeScript · GitHub

Open Graph Title: Auto complete not working for packages except those under @types folder · Issue #30474 · microsoft/TypeScript

X Title: Auto complete not working for packages except those under @types folder · Issue #30474 · microsoft/TypeScript

Description: VSCode Version: 1.30.2 OS Version: macOS v10.13.6 Auto complete is one of my favorite features of VS code. But sometimes it doesn't provide what I need. Steps to Reproduce: Create a project with create-react-app: npx create-react-app tes...

Open Graph Description: VSCode Version: 1.30.2 OS Version: macOS v10.13.6 Auto complete is one of my favorite features of VS code. But sometimes it doesn't provide what I need. Steps to Reproduce: Create a project with cr...

X Description: VSCode Version: 1.30.2 OS Version: macOS v10.13.6 Auto complete is one of my favorite features of VS code. But sometimes it doesn't provide what I need. Steps to Reproduce: Create a project wit...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/30474

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Auto complete not working for packages except those under @types folder","articleBody":"\u003c!-- Please search existing issues to avoid creating duplicates. -->\r\n\u003c!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->\r\n\r\n\u003c!-- Use Help > Report Issue to prefill these. -->\r\n- VSCode Version: 1.30.2\r\n- OS Version: macOS v10.13.6\r\n\r\nAuto complete is one of my favorite features of VS code. But sometimes it doesn't provide what I need.\r\n\r\nSteps to Reproduce:\r\n\r\n1. Create a project with create-react-app: `npx create-react-app test-auto-complete --typescript`\r\n2. Create a empty file `src/test.tsx`.\r\n3. Make sure auto complete works: type `isvalid` and get following suggestions\r\n  ![image](https://user-images.githubusercontent.com/7480839/51429916-fc740700-1c4e-11e9-9e0f-5a214689b458.png)\r\n  Then confirm:\r\n  ![image](https://user-images.githubusercontent.com/7480839/51429924-144b8b00-1c4f-11e9-9f1b-7e6ba8ed46af.png)\r\n4. Install a typed package from npm. (I made one - [safe-touch](https://www.npmjs.com/package/safe-touch)\r\n5. See if auto complete works for the package(type `safe` and expect suggestion of `safeTouch`):\r\n  ![image](https://user-images.githubusercontent.com/7480839/51430054-5aedb500-1c50-11e9-9556-995ae6b0fb63.png)\r\n  Negative :(\r\n6. There is a difference between the types file of safe-touch and react. Safe-touch's is directly under `node_modules` while react's is under `node_modules/@types/`. Then I tried to make a folder under `@types` for the package, simply `cp -r node_modules/safe-touch node_modules/@types`.\r\n7. See if auto complete works now:\r\n  ![image](https://user-images.githubusercontent.com/7480839/51430120-46f68300-1c51-11e9-81af-4d002d0fdada.png)\r\n  It works! 🎉🎉\r\n\r\nSo it seems that VS code is not able to auto complete types of `node_modules/[package]` even if the package is correctly typed?\r\n\r\n\u003c!-- Launch with `code --disable-extensions` to check. -->\r\nDoes this issue occur when all extensions are disabled?: Yes/No\r\nNo","author":{"url":"https://github.com/EnixCoda","@type":"Person","name":"EnixCoda"},"datePublished":"2019-01-19T17:23:53Z","url":"https://github.com/microsoft/TypeScript/issues/30474"}

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:9bb765bf-5628-1425-2ff9-237057adf1ea
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD008:EDA7A:9DC7D2:C9E025:6B00F1AA
html-safe-nonce1b6c47737a015270c9b590f59f229c23cde5f2aa4a9c5401616b2e8bd13413f8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDA4OkVEQTdBOjlEQzdEMjpDOUUwMjU6NkIwMEYxQUEiLCJ2aXNpdG9yX2lkIjoiNDg4ODU4Njc2NjU2ODcxNDY2NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacae6eb8cec3434c1f0295b22d7819d85f4e17f89270cea7e11ce86cf076b8a012
hovercard-subject-tagissue:422439783
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/microsoft/TypeScript/30474/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1354e2b01329105441c1cc9296452cba52b73674f85fdeadb3d5e1a3c316f44e/microsoft/TypeScript/issues/30474
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1354e2b01329105441c1cc9296452cba52b73674f85fdeadb3d5e1a3c316f44e/microsoft/TypeScript/issues/30474
og:image:altVSCode Version: 1.30.2 OS Version: macOS v10.13.6 Auto complete is one of my favorite features of VS code. But sometimes it doesn't provide what I need. Steps to Reproduce: Create a project with cr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEnixCoda
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/30474#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F30474
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%2Fmicrosoft%2FTypeScript%2Fissues%2F30474
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=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/30474
Reloadhttps://github.com/microsoft/TypeScript/issues/30474
Reloadhttps://github.com/microsoft/TypeScript/issues/30474
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests308 (308)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30474
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30474
Auto complete not working for packages except those under @types folderhttps://github.com/microsoft/TypeScript/issues/30474#top
DuplicateAn existing issue was already createdhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Duplicate%22
https://github.com/EnixCoda
Enix (EnixCoda)https://github.com/EnixCoda
on Jan 19, 2019https://github.com/microsoft/TypeScript/issues/30474#issue-422439783
https://user-images.githubusercontent.com/7480839/51429916-fc740700-1c4e-11e9-9e0f-5a214689b458.png
https://user-images.githubusercontent.com/7480839/51429924-144b8b00-1c4f-11e9-9f1b-7e6ba8ed46af.png
safe-touchhttps://www.npmjs.com/package/safe-touch
https://user-images.githubusercontent.com/7480839/51430054-5aedb500-1c50-11e9-9556-995ae6b0fb63.png
https://user-images.githubusercontent.com/7480839/51430120-46f68300-1c51-11e9-81af-4d002d0fdada.png
vscodebothttps://github.com/apps/vscodebot
Matt Bierner (mjbvz)https://github.com/mjbvz
on Jan 19, 2019https://github.com/microsoft/TypeScript/issues/30474#event-2084609341
Matt Bierner (mjbvz)https://github.com/mjbvz
microsoft/vscodehttps://github.com/microsoft/vscode
on Mar 18, 2019https://github.com/microsoft/TypeScript/issues/30474#event-2211779585
Matt Bierner (mjbvz)https://github.com/mjbvz
on Mar 18, 2019https://github.com/microsoft/TypeScript/issues/30474#event-2211779737
https://github.com/mjbvz
Matt Bierner (mjbvz)https://github.com/mjbvz
on Mar 18, 2019https://github.com/microsoft/TypeScript/issues/30474#issuecomment-474105761
#30033https://github.com/microsoft/TypeScript/issues/30033
https://github.com/EnixCoda
Enix (EnixCoda)https://github.com/EnixCoda
on Mar 19, 2019https://github.com/microsoft/TypeScript/issues/30474#issuecomment-474162965
Matt Bierner (@mjbvz)https://github.com/mjbvz
Enix (EnixCoda)https://github.com/EnixCoda
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 19, 2019https://github.com/microsoft/TypeScript/issues/30474#event-2212172865
Andrew Branch (andrewbranch)https://github.com/andrewbranch
DuplicateAn existing issue was already createdhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Duplicate%22
on Mar 3, 2020https://github.com/microsoft/TypeScript/issues/30474#event-3090158875
microsofthttps://github.com/microsoft
on Oct 21, 2025https://github.com/microsoft/TypeScript/issues/30474#event-20415923118
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/30474
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30474
DuplicateAn existing issue was already createdhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Duplicate%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.