English 中文(简体)
出口格式档案是空的
原标题:Exported format file is empty

英特尔利J IDEA 2023.2.5 (Community Edition)

我想在java项目所有成员之间分享我的档案格式。 因此,我们可以使用<>SAMEjava formmater。

因此,我试图出口我的档案格式,如:

File -> Settings -> Code style -> Scheme = Default

之后

Export -> IntelliJ IDEA code style XML

这里的结果文件:

<code_scheme name="Default" version="173" />

为什么这一档案空洞?

P.S. If I export like this:

Export -> Eclipse XML profile

结果是K(档案不是空的)。

<?xml version="1.0" encoding="utf-8"?>
<profiles version="21">
    <profile kind="CodeFormatterProfile" name="Default" version="21">
        <setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
        <setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
        <setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
        <setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
        <setting id="org.eclipse.jdt.core.formatter.text_block_indentation" value="0"/>
        <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
        <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header" value="true"/>
        <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header" value="true"/>
        <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header" value="true"/>
        <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_record_header" value="true"/>
...
问题回答

国际民主和选举援助学会只是将这一点作为从缺省法中解脱出来的。

这里的问题。 我们通过仅仅出口和进口Eclipse XML格式(尽管我们使用英特尔利耶·民主选举学会,但仍然完美地工作),以便我们的团队能够遵循同样的守则风格。

Just make sure to choose the right style for your favorite project and you re good to go





相关问题
IntelliJ IDEA hint parameters of method

I m just swapping from eclipse to IntelliJ, and I can t find this particular feature. In Eclipse, when the cursor is inside the brackets of a method-call and I press Ctrl+Space, it tells me which ...

will installing several IDEs cause problems

I m trying to evaluate a number of IDEs like Eclipse, intelliJ, Aptana, etc. to see which one suits my needs. My question is should I expect any problems from installing several IDEs on the same ...

Restoring the IntelliJ IDEA "Project tab"

By default the IntelliJ IDEA interface contains the following tabs/panels: Project (tabbed to the left) Structure (tabbed to the left) Commander (tabbed to the right) Ant Build (tabbed to the right) ...

Grails 1.1 and how to info level logging

Which setting do I now use to produce logging output with log.info statements within my own controllers? Here s what I ve setup in config.groovy and I thought placing my domain under the info level ...

How to move IntelliJ file tabs?

In IntelliJ, when you open a bunch of source files, is there a way to rearrange the order of the file tabs? In Eclipse you can drag and drop but I don t see a way to do this in IntelliJ.

How to clear the IntelliJ project index?

I ve run into trouble that makes me suspect there is a bad index file that needs to be cleared. The symptoms are: Cmd+N will only find a subset of classes in the project Trying to run JUnit test on a ...

Limiting IntelliJ IDEA import suggestions on completion

When I type the name of a class which will need to be imported, IntelliJ lovingly pops up with a list of suggestions. However, most of the time those suggestions are things I d never want to import, ...

热门标签