Skip to content

fix(vue): support attribute autocomplete in WebStorm - #31419

Open
OS-jacobbell wants to merge 2 commits into
mainfrom
FW-7636
Open

fix(vue): support attribute autocomplete in WebStorm#31419
OS-jacobbell wants to merge 2 commits into
mainfrom
FW-7636

Conversation

@OS-jacobbell

Copy link
Copy Markdown
Contributor

Issue number: internal


What is the current behavior?

The web-types.json file provides autocomplete information for Ionic-Vue component attributes to the JetBrains WebStorm IDE. The autocomplete does work, but only when the component has not been imported into the source .vue file. Once imported, the IDE replaces types provided by web-types.json with types from @ionic/vue/dist/types/proxies.d.ts, which it fails to understand, and ceases providing attribute autocomplete.

What is the new behavior?

Setting priority: "highest" on each component in web-types.json tells WebStorm to keep these types over imported ones. Autocomplete information persists after importing the Ionic-Vue component.

Does this introduce a breaking change?

  • Yes
  • No

@OS-jacobbell
OS-jacobbell requested a review from a team as a code owner September 2, 2026 18:57
@OS-jacobbell
OS-jacobbell requested a review from thetaPC September 2, 2026 18:57
@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-framework Ready Ready Preview Sep 2, 2026 8:34pm UTC

Request Review

@github-actions github-actions Bot added the package: vue @ionic/vue package label Sep 2, 2026
@OS-jacobbell OS-jacobbell changed the title fix(vue): set highest priority for components in web-types.json fix(vue): support attribute autocomplete in WebStorm Sep 2, 2026

@ShaneK ShaneK left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants