-
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.
- Add block about the preference
- Add to table for Scala style guide
- Add to command-line args
MojoFormatter.scala
and ScalariformMojo.java
After pushing to master and nightly has been built, can change FormatterPreferencePage.scala
to add preference to appropriate tab.
After publishing new Scalariform version, update etc/manual.ltx
and src/main/scala/org/ensime/config/ProjectConfig.scala
with new prefs