-
Notifications
You must be signed in to change notification settings - Fork 148
Adding a new preference
mdr edited this page Aug 29, 2011
·
4 revisions
Edit PreferenceDescriptor.scala:
case object PlaceScaladocAsterisksBeneathSecondAsterisk extends BooleanPreferenceDescriptor {
val key = "placeScaladocAsterisksBeneathSecondAsterisk"
val description = "Place Scaladoc asterisks beneath the second asterisk in the opening '/**', as opposed to the first"
val defaultValue = false
}
Also add to AllPreferences list in same file.
MojoFormatter.scala and ScalariformMojo.java
After pushing to master and nightly has been built, can change FormatterPreferencePage.scala to add preference to appropriate tab.