Chris, Currently it's not possible not to complete with SPACE key. But we will think what can we propose for better attribute completion.
Best regards, Mike Aizatsky. ------------------------------ IntelliJ Software, "Develop with pleasure!" http://www.intellij.com > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On > Behalf Of Bartley, Chris > Sent: Thursday, February 28, 2002 1:39 AM > To: '[EMAIL PROTECTED]' > Subject: [Eap-list] [#607 BUG] XML auto-completion invoked upon typing > SPACE > > Win2k sp1, jdk 1.3.1_02, build #607: > > I noticed that typing SPACE auto-completes tags in XML. Is this the > intended behavior? I find it non-intuitive (preferring TAB instead) and > frustrating when I want to add attributes to the tag. > > E.g., for this simple XML file (test.xml): > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1- > transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <title>Test</title> > </head> > <body> > | > </body> > </html> > > When I type a "<" in between the body tags, I get a pop-up of all the > valid > tags (this new behavior in 607 is GREAT, thanks!). Say i want to add a > table (with some attributes such as cellpadding and cellspacing), so i > continue typing "table" and then a SPACE. Well, as soon as I type the > space, IDEA auto-completes the tag and I get: > > <?xml version="1.0" encoding="UTF-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1- > transitional.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <title>Test</title> > </head> > <body> > <table> > | > </table> > </body> > </html> > > Can auto-complete please be delayed until I hit TAB or type the closing > ">", > or is this an unfortunate side-effect of SPACE being the selection key in > Swing? Thanks, > > chris > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
