XML editing

Since I didn't have a chance to this yet, I would like to congratulate
the JetBrain team for their IntelliJ 4.0 release. You guys really put
together an excellent product. So again, congratulations!

Now I would like to focus for a second on XML support in IntelliJ. XML
editing in not the focus of the product, but that did not prevent
IntelliJ 3 from being an extremely competitive XML editor in the
marketplace. Some consider IntelliJ to be just the best XML editor
available. In fact I know of a quite a few people who are just using
IntelliJ as an XML editor.

I expected the XML support to be improved in IntelliJ 4. Instead, I
have not seen any major improvement, but more importantly some of the
features that worked just fine in IntelliJ 3 are now broken in
IntelliJ 4. Let me mention a few specific examples:

- XML code is not reindented correctly when doing a copy/paste (bug
27619 - this used to work fine in IntelliJ 3)
- Tags not closed correctly (bug 29371 - again, no problem there with
IntelliJ 3)
- Problem with xs:any in schema validation (bug 30177, this might be
just an issue in the latest build)
- Completion in tag name does not work correctly (I don't have a bug
number here, but can try to submit one if this is not a well-known issue)

I hope that XML editing will not slowing become a second class citizen
in IntelliJ, and that the team will aggressively at fixing XML-related
issues, just like it does for Java-related issues.

Alex

0
14 comments
Avatar
Permanently deleted user

I agree with Alex. lot of things are not working. I use lot Intellij for XML
editing and I am quite happy with 3.0.5 (even though it is not fully
supported xml editor) and I am not using 4.0 any more.

"Alessandro Vernet" <avernet@scdi.org> wrote in message
news:c1gdls$b5u$1@is.intellij.net...

Since I didn't have a chance to this yet, I would like to congratulate
the JetBrain team for their IntelliJ 4.0 release. You guys really put
together an excellent product. So again, congratulations!

>

Now I would like to focus for a second on XML support in IntelliJ. XML
editing in not the focus of the product, but that did not prevent
IntelliJ 3 from being an extremely competitive XML editor in the
marketplace. Some consider IntelliJ to be just the best XML editor
available. In fact I know of a quite a few people who are just using
IntelliJ as an XML editor.

>

I expected the XML support to be improved in IntelliJ 4. Instead, I
have not seen any major improvement, but more importantly some of the
features that worked just fine in IntelliJ 3 are now broken in
IntelliJ 4. Let me mention a few specific examples:

>

- XML code is not reindented correctly when doing a copy/paste (bug
27619 - this used to work fine in IntelliJ 3)
- Tags not closed correctly (bug 29371 - again, no problem there with
IntelliJ 3)
- Problem with xs:any in schema validation (bug 30177, this might be
just an issue in the latest build)
- Completion in tag name does not work correctly (I don't have a bug
number here, but can try to submit one if this is not a well-known issue)

>

I hope that XML editing will not slowing become a second class citizen
in IntelliJ, and that the team will aggressively at fixing XML-related
issues, just like it does for Java-related issues.

>

Alex



0
Avatar
Permanently deleted user

agree, XML +10

0
Avatar
Permanently deleted user

XML editing is about as big a part of my job as it is a part of IDEA -
significant but not my core knitting. Nonetheless, it is still my prefered
tool for that job - with a variety of caveats, some of which are listed
above. So let me throw in my

+1

on focusing a bit more on XML editing. Also add:

- XML Catalog support rather than using "Resources"
- text wrapping of larger CDATA sections
- schema-based completion

0
Avatar
Permanently deleted user

Hi Alex,
please see the comments below

- XML code is not reindented correctly when doing a copy/paste (bug
27619 - this used to work fine in IntelliJ 3)

This is indeed a bug, and we are going to fix it in future bugfix minor
release (4.0.1)

- Tags not closed correctly (bug 29371 - again, no problem there with
IntelliJ 3)

I failed to reproduce the bug described in that thread, are you sure it is
still there?

- Completion in tag name does not work correctly (I don't have a bug
number here, but can try to submit one if this is not a well-known issue)

I managed to find only SCR 29602, but this seems to be already fixed, so we
are
currently unaware of any problems with tag name completion. Again, if you
see the wrong behaviour,
we'll certainly fix it.

Eugene.


0
Avatar
Permanently deleted user

About XML editing, I just submited a new bug in the tracker:
http://www.intellij.net/tracker/idea/viewSCR?publicId=30235

-


Xml: Tld's not handled correctly
We want to use the jsp tag lib 1.1 in our project. So in our tdl's, we set
the doctype to "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd".

But basic tags are not recognised (displayed in red). But only the openning
tag!
See pic1.jpg

But worse, when in the same file, we use the auto-complete (Ctrl-space), the
list shows the correct 1.1 tag but also shows the 1.2 tags!!
See pic2.jpg

In the build 1159, at least the 1.1 tags were not displayed in red.
-



I hope that this will be also fix soon...

Thierry Leveque

"Evgueny Vigdorchik" <ven@intellij.com> wrote in message
news:c1l4vk$cqo$1@is.intellij.net...

Hi Alex,
please see the comments below

>

- XML code is not reindented correctly when doing a copy/paste (bug
27619 - this used to work fine in IntelliJ 3)

This is indeed a bug, and we are going to fix it in future bugfix minor
release (4.0.1)

>

- Tags not closed correctly (bug 29371 - again, no problem there with
IntelliJ 3)

I failed to reproduce the bug described in that thread, are you sure it is
still there?

>

- Completion in tag name does not work correctly (I don't have a bug
number here, but can try to submit one if this is not a well-known

issue)

I managed to find only SCR 29602, but this seems to be already fixed, so

we

are
currently unaware of any problems with tag name completion. Again, if you
see the wrong behaviour,
we'll certainly fix it.

>

Eugene.

>
>


0
Avatar
Permanently deleted user

I just submitted a bug (#30238) related to new XML problems. I am now getting errors flagged in an XML document. The document is validated against a schema, and that schema imports a secondary schema file. In my XML document, all element from that secondary schema file get flagged as invalid.

When I validate using Tools/Validate, the document is found to be perfectly valid.

I believe this bug has been introduced in one of the more recent builds (perhaps 1171)

0
Avatar
Permanently deleted user

Hi Michael!

The best way to get the wanted feature is to file RFE :). But anyway

Michael Abato wrote:

- text wrapping of larger CDATA sections

What do you mean by that?

- schema-based completion

I thought it's ok... What wrong with it?

Thanks,
IK

--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Hi Alessandro and others!

I hope we've fixed (or checked to be fixed/not repeatable) most of
discussed issues (please see SCR discussions for details). All these
fixes will be in the next EAP build and in 4.0.1 BF release. Please check.

Thanks,
IK
--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

I was just being lazy - I've added an XML Catalog RFE.

The text wrap issue shows up with snippets like:

term
long definition here. long definition here. long definition here. long definition here. long definition here. long definition here. long definition here. long definition here. long definition here. long definition here. long definition here. long definition here. long definition here. long definition here. long definition here. long definition here.
]]>

I just checked in 1171, and the long definition is one long, unwrapped line. I seem to remember a previous version that wrapped that long line, but I'm not sure exactly when that was.

And I just checked the schema stuff, and you're right, it does work as expected - sorry about that.

thanks,
Michael Abato

0
Avatar
Permanently deleted user

Hello Igor,

There is a long standing issue flagged with "High" priority since Nov
2003 http://www.intellij.net/tracker/idea/viewSCR?publicId=20316 are there
any news on it?

--
Best Regards,
Mamado.


"Igor Kuralenok (JetBrains)" <ik@intellij.com> wrote in message
news:c1o6ac$5kr$1@is.intellij.net...

Hi Alessandro and others!

>

I hope we've fixed (or checked to be fixed/not repeatable) most of
discussed issues (please see SCR discussions for details). All these
fixes will be in the next EAP build and in 4.0.1 BF release. Please check.

>

Thanks,
IK
--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

>


0
Avatar
Permanently deleted user

I need this request, let me vote it .

-Rambabu

"Mamado" <mamado_inside_y@yahoo.com> wrote in message
news:c1s70e$hsa$1@is.intellij.net...

Hello Igor,

>

There is a long standing issue flagged with "High" priority since Nov
2003 http://www.intellij.net/tracker/idea/viewSCR?publicId=20316 are there
any news on it?

>

--
Best Regards,
Mamado.

>
>

"Igor Kuralenok (JetBrains)" <ik@intellij.com> wrote in message
news:c1o6ac$5kr$1@is.intellij.net...

Hi Alessandro and others!

>

I hope we've fixed (or checked to be fixed/not repeatable) most of
discussed issues (please see SCR discussions for details). All these
fixes will be in the next EAP build and in 4.0.1 BF release. Please

check.

>

Thanks,
IK
--
Igor Kuralenok
Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"

>

>
>


0
Avatar
Permanently deleted user

Michael Abato wrote:

I was just being lazy - I've added an XML Catalog RFE.
The text wrap issue shows up with snippets like:


Michael,

You might want to try the Auto-Format Text plugin. After you run it on
your paragraph, you will get (the max line length can be set in the
IDE settings):

http://www.scdi.org/~avernet/misc/intellij-long-line.png

Alex

0
Avatar
Permanently deleted user

Igor Kuralenok (JetBrains) wrote:

Hi Alessandro and others!

I hope we've fixed (or checked to be fixed/not repeatable) most of
discussed issues (please see SCR discussions for details). All these
fixes will be in the next EAP build and in 4.0.1 BF release. Please check.


Igor, thank you for looking at this!
Important XML issues still open at this point (build 1172):

- IntelliJ puts incorrect closing tag (# 29371)
- Reindent on paste, which used to work in IntelliJ 3.x (# 27619)
- Need to register empty URL; this is new (# 30399)

Alex

0
Avatar
Permanently deleted user

I have downloaded and installed build 1174, and I am still having the same problems.

Bug #30238 claims to be fixed in build 1173, but I am seeing the same identical problem in 1174.

http://www.intellij.net/tracker/idea/viewSCR?publicId=30238

Do I need to submit a new tracker request for this same old problem, or is there a way to re-open a request that IDEA erroneously claims to have fixed?

0

Please sign in to leave a comment.