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.

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
jetbrains.com โบ help โบ idea โบ settings-code-style-xml.html
Code Style. XML | IntelliJ IDEA Documentation
August 6, 2026 - Use this page to configure formatting options for XML files.
02:10
How To Create XML File In IntelliJ IDEA? - Next LVL Programming ...
03:08
How to add TestNG XML file in IntelliJ Idea || Ganesh Jadhav ...
How to Setup settings.xml for Intellij and Maven Project | Intellij ...
01:18
Creating a TestNG XML File in Intellij | Step-by-Step Tutorial ...
IntelliJ IDEA Tip | By JetBrains - Facebook
LabKey
labkey.org โบ Documentation โบ wiki-page.view
Use IntelliJ for XML File Editing: /Documentation
Editing and statement completion in XML files is made easier by using XSDs (XML Schema Definitions). This topic helps you configure IntelliJ to find and use these files.
JetBrains
blog.jetbrains.com โบ home โบ intellij idea
XML : The IntelliJ IDEA Blog | The JetBrains Blog
Working on an XML document, for having additional code assistance such as error highlighting or completion, you need to specify an XML schema (e.g. XSD or DTD). In the previous versions of IntelliJ IDEA, you had to work with Schemas and DTDs section in Settings or fetch schema from external resourceโฆ
JetBrains
jetbrains.com โบ help โบ idea โบ xml-refactorings.html
XML refactorings | IntelliJ IDEA Documentation
January 30, 2026 - The XML refactoring support is provided by the Refactor-XML plugin that is bundled with the IDE and enabled by default.
JetBrains
plugins.jetbrains.com โบ intellij-platform-explorer
com.intellij.xml.xmlExtension - IntelliJ Platform Explorer
IntelliJ Platform Explorer is a search tool for browsing Extension Points inside existing implementations of open-source IntelliJ Platform plugins
JetBrains
jetbrains.com โบ help โบ idea โบ referencing-xml-schemas-and-dtds.html
Referencing XML schemas and DTDs | IntelliJ IDEA Documentation
1 month ago - <root xmlns="http://www.example.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.example.org/xsds/example.xsd"> ... If the referenced URL or the namespace URI is not recognized, it's marked as an error. To solve the problem: Place the caret at the referenced URL and press Alt+Enter. From the list of suggested options, select one of the following: Fetch external resource. IntelliJ IDEA downloads the referenced file and associates it with the URL (or the namespace URI).
JetBrains
jetbrains.com โบ help โบ idea โบ generating-xml-schema-from-instance-document.html
Generating XML schemas from instance documents | IntelliJ IDEA Documentation
An XSD (XML Schema Definition) is required for running structure validation checks on a Web content file. IntelliJ IDEA can scan any XML file for the existing elements and attributes and generate a Schema for it.
JetBrains
intellij-support.jetbrains.com โบ hc โบ en-us โบ community โบ posts โบ 13163341206162-Plugin-suggestion-for-XML-files
Plugin suggestion for XML files โ IDEs Support (IntelliJ Platform) | JetBrains
August 18, 2023 - <fileType fieldName="INSTANCE" fileNames="content.xml" implementationClass="com.intellij.ide.highlighter.XmlFileType" name="XML"/>
JetBrains
intellij-support.jetbrains.com โบ hc โบ en-us โบ community โบ posts โบ 206192529-How-to-access-XML-Structure-View-
How to access "XML Structure View"? โ IDEs Support (IntelliJ Platform) | JetBrains
January 24, 2014 - When XML document is opened in the Editor, use standard "Structure" (Alt-7 by default) Tool Window.
JetBrains
jetbrains.com โบ help โบ idea โบ xml-java-binding.html
XML-Java Binding | IntelliJ IDEA Documentation
June 17, 2024 - With IntelliJ IDEA, you can get a Java representation of an XML Schema, generate an XML Schema from a Java class, and unmarshal XML instance documents into Java content trees and vice versa.
JetBrains
jetbrains.com โบ help โบ idea โบ generating-xml-schema-from-java-code.html
Generate an XML Schema from Java Code | IntelliJ IDEA Documentation
Open the Marketplace tab, find ... Open the necessary class in the editor. In the main menu, go to Tools | XML Actions | Generate XML Schema From Java Using JAXB....
JetBrains
jetbrains.com โบ help โบ idea โบ settings-languages-xml-catalog.html
XML Catalog | IntelliJ IDEA Documentation
February 10, 2026 - The catalog.xml files contain the information on how to resolve various PUBLIC and SYSTEM identifiers during XML processing.
JetBrains
jetbrains.com โบ help โบ idea โบ settings-languages-default-xml-schemas.html
Default XML Schemas | IntelliJ IDEA Documentation
February 10, 2026 - In this area, choose the XSD (XML Schema Definition) Schema to validate XML files.
JetBrains
intellij-support.jetbrains.com โบ hc โบ en-us โบ community โบ posts โบ 360010497879-How-to-I-get-all-xml-files-in-resource
How to I get all xml files in resource โ IDEs Support (IntelliJ Platform) | JetBrains
<!DOCTYPE post PUBLIC "//GOOGLE/ > 2. should I save them in memory as a Map (or whatever type) to keep indexes of files for fast looking needed XML or perform search exact XML every time using FileBaseIndex and iterate them again and again ... scope = GlobalSearchScopesCore.directoriesScope(module.getProject(), true, resourceRoots.toArray(VirtualFile.EMPTY_ARRAY)) You can use API like com.intellij.psi.search.FileTypeIndex#processFiles(com.intellij.openapi.fileTypes.FileType, com.intellij.util.Processor<? super com.intellij.openapi.vfs.VirtualFile>, com.intellij.psi.search.GlobalSearchScope) to perform the filtering according to DocType or any other criteria.