I just switched to 629 yesterday and tried to write a schema today. The 
XML completion is proving more of a hindrance than a help in 629. There 
have been some other threads on this pointing out one or 2 problems, but 
I didn't realise how bad it would be when all these little problems are 
put together!! I'm wishing I could turn it off for this release it's 
that bad.

Problems are mainly around autocompleting things when it shouldn't 
(already mentioned is the problem of entering a comment, but it goes 
much further than this, always selecting an attribute or tag even when 
you just want to add a / or >).

For writing a schema I also thought it was great that the context popups 
had the valid tags or attributes. However, this is not the case. It does 
have valid ones but in many cases it also has values which are not valid 
in the current context which makes things confusing if someone is not a 
schema guru. I find I have to frequently stop and run our schema 
validator against what I have typed as I can't trust IDEA to keep me right.

It would be useful if the JetBrains person doing the XML completion 
stuff tried to type in a (reasonably sized) schema from scratch and he 
would soon find a lot of the problems. Off the top of my head

  - difficult to enter comment (< followed by ! takes first tag even
    if popup hasn't appeared)
  - if put space after attribute then pressing / or > causes top
    attribute of (non-displayed) list to be added instead of closing
    the tag
  - when type " idea adds closing " but when you type a value you then
    have to step over closing " as pressing " again gives you "". Should
    work like ) in java and not duplicate
  - when typing /> end up with />>. Again should work like ) in java
  - once you make a mistake, for example entering <element ...> when you
    meant <sequence ...> containing <element ..>, can lead to some
    interesting acrobatics trying to sort it out!
  - if you have something like <sequence><element .../>| and you hit
    < then you get the first item of the popup (which in my case is
    <all>) when you want to type </sequence>

There are various other things that I don't remember but which annoyed 
me at the time. It would be good if the XML entry was as easy as java entry.

Pete

_______________________________________________
Eap-bugs mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-bugs

Reply via email to