Fixed: [Issue 219] Auto-formatting problem with "extensions" keyword.
diff --git a/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/formatting/ProtobufFormatter_Test.java b/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/formatting/ProtobufFormatter_Test.java
index a855547..f3bfc20 100644
--- a/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/formatting/ProtobufFormatter_Test.java
+++ b/com.google.eclipse.protobuf.test/src/com/google/eclipse/protobuf/formatting/ProtobufFormatter_Test.java
@@ -143,6 +143,15 @@
     assertThatFormattingWorksCorrectly();
   }
 
+  // message TestMessage { extensions 1 to 10; }
+
+  // message TestMessage {
+  //   extensions 1 to 10;
+  // }
+  @Test public void should_format_extensions() {
+    assertThatFormattingWorksCorrectly();
+  }
+
   // syntax = 'proto2';package com.google.protobuf.test;import 'google/protobuf/descriptor.proto';import
   // public 'address.proto';import weak 'salary.proto';option java_package = "com.foo.bar";option
   // optimize_for = CODE_SIZE;
diff --git a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/formatting/ProtobufFormatter.java b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/formatting/ProtobufFormatter.java
index 3e1509b..90336bc 100644
--- a/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/formatting/ProtobufFormatter.java
+++ b/com.google.eclipse.protobuf/src/com/google/eclipse/protobuf/formatting/ProtobufFormatter.java
@@ -39,6 +39,7 @@
     c.setLinewrap(1).after(g.getGroupRule());
     c.setLinewrap(2).after(g.getEnumRule());
     c.setLinewrap(1).after(g.getEnumElementRule());
+    c.setLinewrap(1).after(g.getExtensionsRule());
     c.setLinewrap(1).after(g.getRpcRule());
     c.setLinewrap(2).after(g.getServiceRule());
     c.setLinewrap(1).after(g.getStreamRule());