This option is useful if the command-line formatter cannot correctly process special letters in a source file. Preserve encoding and enforce the charset for reading and writing source files, for example: -charset ISO-8859-15. Otherwise the file or files will be ignored. Use the default code style settings when the code style is not defined for a file or a group of files: when -s is not set and the file does not belong to any project. If there is a project in one of the parent folders, its settings will be used implicitly as well as EditorConfig. If this option is not specified, the file will be skipped. The remaining settings will be taken from your code style scheme. In this case, if formatting settings from EditorConfig overlap with the settings from your code style scheme, IntelliJ IDEA will use the settings from EditorConfig. editorconfig files in the parent directories and applies them for formatting on top of the IntelliJ IDEA code style settings. idea/codeStyles/Project.xml file stored in your project directory (for IntelliJ IDEA version 2017.3 and later). idea/codeStyleSettings.xml file stored in your project directory (for IntelliJ IDEA version 2017.2 and earlier). This can be one of the following:Ī file with the exported code style settings: open the Editor | Code Style page of the IDE settings Ctrl+Alt+S, click, and select Export. Specify the code style settings file to use for formatting. Process specified directories recursively. You can use the * (any string) and ? (any single character) wildcards. Specify a comma-separated list of file masks that define the files to be processed.
0 Comments
Leave a Reply. |