scala-ide/scala-ide — pull request #26 by dotta (2011-10-31 17:30:44+00:00)
Title: Created a new indenter strategy that will automatically add a closing bracket

Created a new indenter strategy that will automatically add a closing bracket every time the user enters a left bracket (the caret's position is set in-between brackets).
This strategy is only applied if the text partitioning that is being indented is either a 'IJavaPartitions.JAVA_CHARACTER' or a 'IDocument.DEFAULT_CONTENT_TYPE' (this because we want things like IJavaPartitions.JAVA_DOC or IJavaPartitions.JAVA_MULTI_LINE_COMMENT not to be affected by this strategy. Check class 'ScalaSourceViewerConfiguration' for more details).
Fixed #1000688.