Since .xsd is and XML itself you need to change the XML formatting settitngs.

In IDEA settings (File -> Settings... or Ctrl+Alt+S) go to Editor -> Code Style -> XML and in Wrap Attributes dropdown choose Do Not Wrap.

Answer from streetturtle on Stack Overflow
🌐
JetBrains
jetbrains.com › help › idea › working-with-xml.html
XML | IntelliJ IDEA Documentation
IntelliJ IDEA brings powerful support for XML that includes structure validation, formatting (Ctrl+Alt+L) and indentation (Ctrl+Alt+I according to the XML code style, importing unbound namespaces, viewing code structure, unwrapping and removing ...
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206809055-Is-there-a-format-XML-command
Is there a format XML command? – IDEs Support (IntelliJ Platform) | JetBrains
November 23, 2015 - I'm using IDEA 15.0.1 Ultimate Thanks for any pointers., ... Right in the main menu: "Code => Reformat Code" or just Ctrl-Alt-L Or "Help => Find Action" (which is Ctrl-Shift-A), then type "format"
🌐
Lions e-District
e-district.org › userfiles › file › 37275898036.pdf pdf
Format xml in intellij idea - e-district.org
Download and install idea from the website of the idea. Configuring the plugin · After installing the ECF plugin you need to set it to use the Eclipse code styles file of the Imagej project: download Eclipse-preferences.EPF Open Eclipse and follow these steps to import a .EPF. Epf Open window à ¢ â,¬ ⺠preferences à ¢ â,¬ ⺠Java à ¢ â,¬ ⺠style code à ¢ â,¬ ⺠formatter set active profile on Imagej Click Export All ... and save · the open XML file Intellij Open your project Open file à ¢ â,¬ ⺠settings  © code Eclipse formatter control Use Setting the format button of the eclipse code Eclipse Eclipse Java Formatter Config BELUP In the XML file you just created Java Set Formatter Profile on Imagej Control optimize imports Set Import Order to Manual Configuration and
🌐
Xwiki
dev.xwiki.org › xwiki › bin › view › Community › CodeStyle › JavaCodeStyle
Java Code Style - XWiki
August 3, 2026 - Go to IntelliJ's File > Settings and to Editor > Code Style and select Import Scheme > IntelliJ IDEA Code Style XML as shown on
🌐
Etendo
docs.etendo.software › developer-guide › etendo-classic › getting-started › installation › intellij-code-formatting
Code Formatting Style in IntelliJ - Etendo Documentation
First, download the following IntelliJ formatting file. ... Click the gear icon → Import Schema → IntelliJ IDEA code style XML.
Find elsewhere
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206846135-Problems-with-formatting-xml-files
Problems with formatting xml files – IDEs Support (IntelliJ Platform) | JetBrains
Got result (I hope our forum shows it correctly): <?xml version="1.0" encoding="utf-8"?> <root> <sub-element attr="value"> line 1 line 2 </sub-element> </root> All indents correspond to settings. What does not work in your case? Alexander. ... I tried to format your example file with the provided settings.
🌐
Google
google.github.io › styleguide › intellij-java-google-style.xml
intellij-java-google-style.xml
xmlns:android · ^$ xmlns:.* ^$ BY_NAME · .*:id · http://schemas.android.com/apk/res/android · style · ^$ .* ^$ BY_NAME · .*:.*Style · http://schemas.android.com/apk/res/android · BY_NAME · .*:layout_width · http://schemas.android.com/apk/res/android ·
🌐
GitHub
github.com › google › styleguide › blob › gh-pages › intellij-java-google-style.xml
styleguide/intellij-java-google-style.xml at gh-pages · google/styleguide
Style guides for Google-originated open-source projects - styleguide/intellij-java-google-style.xml at gh-pages · google/styleguide
Author: google
🌐
JetBrains
jetbrains.com › help › idea › command-line-formatter.html
Format files from the command line | IntelliJ IDEA Documentation
1 month ago - Non-recursively format all the .xml and .html files in the ~/Data/src directory using code style settings from ~/Data/settings.xml: idea.sh format -s ~/Data/settings.xml -m *.xml,*.html ~/Data/src
🌐
Stack Overflow
stackoverflow.com › questions › 55374979 › how-to-create-xml-scala-code-format-schema-for-intellij-idea › 55375410
How to create xml scala code format schema for IntelliJ IDEA - Stack Overflow
March 27, 2019 - Doesn't it work for you to just set the needed options in IDE and share the IDE schema xml config file with the project: jetbrains.com/help/idea/copying-code-style-settings.html ? ... Save this answer. ... Show activity on this post. EDIT: Due to a clarification by OP, this answer has become obsolete. Unfortunately, the cannot use scalafmt in their project and need an IntelliJ native solution instead. I would recommend you to take a look at the scalafmt Project. It is syntax aware a scala code formatter based on scalameta.
🌐
Ideascripting
ideascripting.com › forum › importing-data-using-xml
Importing Data using XML | IDEAScripting and More
February 18, 2015 - You have to import one of the xml files into IDEA, that will automatically create a definition file that will be stored in Import Definitions.ILB folder. When running the script you would select all the xml files you wish to import and then select the definition files which is an xrdf file. All the xml files need to be in the same format ...
🌐
JetBrains
jetbrains.com › help › idea › configuring-code-style.html
Code style schemes | IntelliJ IDEA Documentation
1 month ago - Out of the box, IntelliJ IDEA allows you to import settings in the IntelliJ IDEA code style XML or Eclipse XML Profile format.