File size limit on XML files in Idea 7?

When I open a 2.5MB XML in Idea 7.0.5, I don't see code folding controls or anything in the structural view. "Validate" and "XML Refactorings" menu items don't show up in either the context menu or the menu bar. Reformatting doesn't work, either.

It's as if Idea does not recognize this as an XML file.

I'm able to open, manipulate and validate this file in Oxygen with no errors, so I know the file is fine.

Is this a known problem in 7.X, and if so has it been fixed in 8 or 9? If not, I'll file a bug.

Thanks,
Willis Morse

2 comments
Comment actions Permalink

Hello Willis,

This is not a problem, but rather behavior by design. For performance reasons,
IntelliJ IDEA treats files larger than a certain size as plain text files.

You can adjust the limit by editing idea.properties file (property idea.max.intellisense.filesize).

When I open a 2.5MB XML in Idea 7.0.5, I don't see code folding
controls or anything in the structural view. "Validate" and "XML
Refactorings" menu items don't show up in either the context menu or
the menu bar. Reformatting doesn't work, either.

It's as if Idea does not recognize this as an XML file.

I'm able to open, manipulate and validate this file in Oxygen with no
errors, so I know the file is fine.

Is this a known problem in 7.X, and if so has it been fixed in 8 or 9?
If not, I'll file a bug.

Thanks,
Willis Morse
---
Original message URL:
http://www.jetbrains.net/devnet/message/5240312#5240312

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Excellent, works great. Thanks Dmitry.

- Will

0

Please sign in to leave a comment.