Protected API sometimes get shown in the IntelliJ autocomplete

Open
#187 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
frontend

Research direction

Start by reproducing the IntelliJ completion behavior with field components such as TextField or TextArea, following the three steps in this issue. Trace the autocomplete filtering and verify that protected properties and methods beginning with an underscore no longer appear in the popup.

Written by the indexing model from the issue text.

Description

DX

This can be reproduced with field components e.g. TextField or TextArea:

  1. Press Space once. Completion popup is shown.
  2. Press Backspace. Completion popup is closed.
  3. Press Space again. Now the popup looks differently.

https://github.com/vaadin/react-components/assets/10589913/2336b8c7-9d55-45a5-8fc4-a71f5942b9dd


We probably should exclude all the properties and methods that start with underscore (example).

Dominant language
TypeScript
Stars
18
Forks
4
Avg merge
52m
Merged PRs (30d)
7

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from vaadin/react-components

All issues in vaadin/react-components

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.