package org.rust.ide.formatter.settings

import com.intellij.psi.codeStyle.CodeStyleSettings
import com.intellij.psi.codeStyle.CustomCodeStyleSettings

class RustCodeStyleSettings(container: CodeStyleSettings) :
    CustomCodeStyleSettings(RustCodeStyleSettings::class.java.simpleName, container) {

    @JvmField var ALIGN_RET_TYPE = true
    @JvmField var ALIGN_WHERE_CLAUSE = false
    @JvmField var ALIGN_TYPE_PARAMS = false
    @JvmField var ALIGN_WHERE_BOUNDS = true
    @JvmField var ALLOW_ONE_LINE_MATCH = false
    @JvmField var INLINE_MACRO_USE_ATTR = true
    @JvmField var MIN_NUMBER_OF_BLANKS_BETWEEN_ITEMS = 1
}

package org.rust.ide.formatter.settings

import com.intellij.psi.codeStyle.CodeStyleSettings
import com.intellij.psi.codeStyle.CustomCodeStyleSettings

class RustCodeStyleSettings(container: CodeStyleSettings) :
    CustomCodeStyleSettings(RustCodeStyleSettings::class.java.simpleName, container) {

    @JvmField var ALIGN_RET_TYPE = true
    @JvmField var ALIGN_WHERE_CLAUSE = false
    @JvmField var ALIGN_TYPE_PARAMS = false
    @JvmField var ALIGN_WHERE_BOUNDS = true
    @JvmField var ALLOW_ONE_LINE_MATCH = false
    @JvmField var INLINE_MACRO_USE_ATTR = false
    @JvmField var MIN_NUMBER_OF_BLANKS_BETWEEN_ITEMS = 1
}

Disable inline macro use by default
Disable inline macro use by default
alygin/intellij-rust,intellij-rust/intellij-rust,d9n/intellij-rust,anton-okolelov/intellij-rust,ujpv/intellij-rust,ujpv/intellij-rust,d9n/intellij-rust,alygin/intellij-rust,alygin/intellij-rust,himikof/intellij-rust,alygin/intellij-rust,Undin/intellij-rust,d9n/intellij-rust,himikof/intellij-rust,Undin/intellij-rust,Undin/intellij-rust,d9n/intellij-rust,Undin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,himikof/intellij-rust,intellij-rust/intellij-rust,himikof/intellij-rust,intellij-rust/intellij-rust,ujpv/intellij-rust,ujpv/intellij-rust,intellij-rust/intellij-rust,ujpv/intellij-rust,Undin/intellij-rust,alygin/intellij-rust,Undin/intellij-rust,d9n/intellij-rust,anton-okolelov/intellij-rust,anton-okolelov/intellij-rust,anton-okolelov/intellij-rust,anton-okolelov/intellij-rust,himikof/intellij-rust