Annoyance: CSS Auto-Complete - Tab Key (WeBuilder 7.2.0.68)

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
myitguy
Posts: 20
Joined: Sat Jul 22, 2006 7:51 pm
Location: Kitchener, Ontario, Canada
Contact:

Annoyance: CSS Auto-Complete - Tab Key (WeBuilder 7.2.0.68)

Post by myitguy »

Currently the auto-complete only pops up after the Space or Enter keys are pressed. It would be nice if the Tab key also prompted this.

For example, if I hit Enter after typing my selector & opening brace, auto-complete will show up in the same column where I started my selector. If I then cancel the auto-complete dialog with the Esc key, and then press Tab, I would like to see the auto-complete dialog at that point.

For example, I would prefer:

Code: Select all

p.text {
  color:black;
}
Instead of:

Code: Select all

p.text {
color:black;
}
I realize this behaviour can be changed a bit using the "Rule Formatting" in the CSS Options, but I don't ALWAYS want my CSS on a single line, nor do I ALWAYS want it on a seperate line.
Last edited by myitguy on Thu Aug 03, 2006 2:08 pm, edited 1 time in total.
Adam Smith
Web Developer & Computer Systems Specialist
My IT Guy
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Post by chrisjlocke »

I'm sure you know, but just in case. If you do cancel the auto-complete, and press TAB, you're right in that it doesn't pop back up again, but you can get it by pressing CTRL+SPACE.

I use v7.2, and when typing the selector and the opening brace, it automatically indents by one tab (no need to press Enter or space):
Image
myitguy
Posts: 20
Joined: Sat Jul 22, 2006 7:51 pm
Location: Kitchener, Ontario, Canada
Contact:

Post by myitguy »

Actually I didn't know about CTRL-Space. Thank you. That will be a good work-around until this is fixed.

As for the functionality you describe, that is caused by the Rule Formatting in Preferences > Language Options > CSS. By the looks of it, you have chosen "Multi lines, Opening brace: On the same line with selector".

As I said in my previous post, it would be nice if this did not have to be selected in the options. If I want my properties on the same line as my selector, I should just be able to type them that way without having to select "Single line", and if I want the properties on mulitple lines, I can just use the Enter key.

Again, this is probably more of an irritation than a 'bug'.
Adam Smith
Web Developer & Computer Systems Specialist
My IT Guy
Post Reply