This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 225907 - Real file should be preselected in file code completion
Summary: Real file should be preselected in file code completion
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2013-02-08 17:06 UTC by Petr Jiricka
Modified: 2014-10-06 13:27 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2013-02-08 17:06:37 UTC
When completing an attribute such as href in a HTML document, the code completion offers files and directories inside the project, for example:


After pressing Ctrl+Space, ../ is preselected, but this is not often used (especially if the value of the href attribute already contains a partial path). So I think the first real file or directory should be preselected.
Comment 1 Marek Fukala 2013-07-12 13:36:15 UTC
I'm not sure if I can affect the selected item, but what I can do is to put the ../ to the bottom of the list which will make the first real file preselected. OTOH this is in contradiction with the common OS directory listing so not sure it people will like it ;-)
Comment 2 Petr Jiricka 2013-07-16 13:59:15 UTC
Changing to enhancement per agreement with Marek.