Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Code Hint : Add warning to docs that TagHints.prototype.getQueryInfo gets called multiple times when starting query #1624

@joelrbrandt

Description

@joelrbrandt

UPDATE: Based on the discussion below, we've decided that fixing this bug requires updating the API with a warning about the potential of multiple calls in a short amount of time (described below), and does not require any code changes.


TagHints.prototype.getQueryInfo gets called three times in rapid succession when I type a "<" in an HTML file. (I.e. when I start a new tag and have an empty query.)

I suspect that all the providers are getting called multiple times.

When letters are added to the query (or removed) it seems to only get called once as intended.

There's a chance this is related to #1411, but I doubt it. :-)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions