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

HTML attributes autocomplete shows previous project options #2182

Closed
jbalsas opened this issue Nov 21, 2012 · 2 comments
Closed

HTML attributes autocomplete shows previous project options #2182

jbalsas opened this issue Nov 21, 2012 · 2 comments
Assignees

Comments

@jbalsas
Copy link
Contributor

jbalsas commented Nov 21, 2012

When changing between projects, there are some cases where the autocomplete for html attributes still shows the options from the previous project.

Steps

  • Open Brackets pointing to the src folder
  • Open index.html
  • Type somewhere '<script src=' and let the autocomplete dropdown appear
  • Discard the dropdown and undo all the changes
  • Switch to another project (for example Getting Started)
  • Type somewhere '<script src=' and let the autocomplete dropdown appear

Result

  • The dropdown shows the src folder options instead of the ones in the Getting Started project

Expected

  • The dropdown populated with the 3 files in the Getting Started project.

Note: This also happens with other attributes such as href in <link>

@ghost ghost assigned redmunds Nov 21, 2012
@njx
Copy link

njx commented Nov 21, 2012

To @redmunds, medium priority.

redmunds added a commit that referenced this issue Nov 22, 2012
Uncache file codehints when switching projects (#2182)
@redmunds
Copy link
Contributor

Great catch! Since @jbalsas reported and fixed this issue, I have confirmed that it is fixed. Closing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants