IntelliJ: Spacig of caret when writing XML (Spring Beans)

When I am writing for example Spring Bean I often have empty element without children only with attributes.

Default way that IDEA provides spacing is the first one on the picture (with arrow), which I dont like. I prefer the second one, which can I only alter manually. How can I set up IDEA to do so automatically?


  • Enter File -> Settings (or hit Ctrl + Alt + S)
  • Browse to Code style -> XML
  • Click on Other tab. Uncheck Align attributes checkbox

Need Your Help

jQuery, JSON and Apache problem

ajax apache json jquery

I have an jQuery JSON request, that loads some JSON from another server (ex.

Extract frames as images from an RTMP stream in real-time

ffmpeg video-streaming red5 rtmp wowza

I am streaming short videos (4 or 5 seconds) encoded in H264 at 15 fps in VGA quality from different clients to a server using RTMP which produced an FLV file. I need to analyse the frames from the...