Possible to Edit the Auto-Complete List?

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Possible to Edit the Auto-Complete List?

Post by syrupcore »

My coworker was just bragging that he went into an xml file in his Dreamweaver prefs folder and deleted a few autocomplete options from the list it presents. I'm jealous right now! I looked around in the webuilder folder to see if there was a similar sort of file but couldn't find anything. Is it possible?

As an example, I'd like to remove 'widows' from the css autocomplete list.

Thanks,
Will
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

You can do this by editing ini files containing CSS definitions in the data folder under the program's directory.
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

damn! I even looked in that file. I'm so thick some times. You've just made my day! Azimuth? goodbye! widows? goodbye!

now I will brag back. :)

thanks,
will
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Post by Karlis »

So are you creating "just what I need and nothing more" css specification?
Karlis Blumentals
Blumentals Software
www.blumentals.net
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

Karlis wrote:So are you creating "just what I need and nothing more" css specification?
sorry for the delay, gone on vacation.

not really creating a 'just what I need' but I removing 'what I'm sure I don't need'. Also reordering a few things so that they come up to the top when a certain key is pressed. W for 'width' being the best change yet. As it was before, you'd have to type 'widt' before autocomplete would settle on 'width' just because of it's place on the list but I use the 'width' declaration more than 'widows' or 'white-space'.

just simple things like that to make my work day a little smoother - something webuilder does for me every day.
blank
Posts: 19
Joined: Wed May 30, 2007 10:01 pm

Post by blank »

I would have to agree with syrupcore. Perhaps if the program tracked the frequency of use for each autocomplete item, and moved them to the top of the results.

Example:

If I tend to use width a lot, and whitespace every so often, then the autocomplete results would be sorted like this:

width /* Used 182 times */
whitespace /* Used 62 times */
windows /* Never used; fall back on alphabetical order */
word-spacing /* Never used; fall back on alphabetical order */

Not sure how complicated it would be or how much it would slow down the autocomplete list rendering, but it sure would be nice. The fact that autocomplete virtually fails when using 'width' is a good illustration of the problem.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

It would make it horrendously slow, as it would have to sort this list each time you used the autocomplete.
Nice in theory, but horrible in practice. Also, if you were using a project that required you using 'windows', you'd have to use it an awful lot to 'catch up' with 'width' to bump it to the top.

The Firefox searchbox tries to use a best of both worlds. It has an alphabetical list of sites, but also (at the top) has a small list of the most frequently used.
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Post by syrupcore »

I'm with chris 100%. too much introspection leads to Visual Studio type sluggish bloat. meh. I'd rather the program order them in a simple logical way (alphabetical works great). With the addition of being able to edit the lists by hand, it's the best of both worlds. I'm not sure if those edits roll forward when upgrading. If not, that'd be a solid feature request. :)


Will
Post Reply