One of the features that I really like about Aptana Studio 3 is how quickly and fairly unobtrusively the code auto complete functionality is, not only for standard HTML, JavaScript, PHP and CSS elements but also for class and ID names throughout a project. But then I thought, "Hey! that option is in WeBuilder too." I had switched it off in a previous version (like version 9 or something) and had never switched it back on. I'm using WeBuilder 2011 Version 11.22 (11.2.2.131) on Windows 7 Professional 64-bit.
What are your recommended settings for using auto complete?
I currently have the delay set to 250 ms but I'm having trouble with auto complete working as I expect. The trouble I still have with using auto complete is that it appears to be quite unpredictable. Sometimes it works well and as expected, other times it does nothing.
An example, I can start typing and nothing gets suggested. So just now, for example, I started to type
and the auto complete list popped up and suggested div, so I pressed Enter to select it. It gave me
so I closed it with a
and it auto completed the closing
. I then moved my cursor back into the opening div tag and started to type
but the auto complete didn't start. I completed the
attribute, moved my cursor into the quotes and started to type the name of a class that I know is referenced in my CSS framework file... but again nothing was suggested. If I then press Ctrl+Spacebar I get a list with EVERY class name (and they are not arranged alphabetically which makes it less than useful to use, particularly with large CSS files).
What am I doing wrong here? How can I get auto complete to work within code that I've already typed, for example, if I go back to an h3 heading and want to add an attribute for that element?
I look forward to your suggestions. Thank you.
Gareth