Skip to content

[CLOSED] Url Hinting bug fixes #5713

@core-ai-bot

Description

@core-ai-bot

Issue by redmunds
Thursday Dec 19, 2013 at 05:09 GMT
Originally opened as adobe/brackets#6271


This is for #6239 to fix hinting for '../' which was exposed by recent file system changes. Added a unit test for this.


This also adds site-root relative path support (i.e. path that start with '/'). Added a unit test for this.


I also fixed a bug I noticed where list was not filtered for initial list. Recipe:

  1. Shutdown and restart Brackets to clear Url Hinting cache
  2. Open a .css file in a folder with other files and folders
  3. Add this declaration in a rule: background-image: url("");
  4. Put cursor between quotes and type a single letter

Results:
Hints list shows all files and folders in the current folder

Expected:
Only files and folders that start with letter typed are listed (which may be none).

Workaround:
Hit Esc key and then Ctrl-space. This works because it uses cached list, which is filtered.


redmunds included the following code: https://github.com/adobe/brackets/pull/6271/commits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions