blueszhangsh / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 0 forks source link

Content assistance in [default] goes funny #212

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
 Line: optional boolean field [d|]

The | represents the cursor.

Press ctrl-space. Offered [default=]. Accept it. Line looks like this:

  optional boolean stacked [d[default = ]]

Original issue reported on code.google.com by konigsb...@google.com on 15 Mar 2012 at 9:59

GoogleCodeExporter commented 9 years ago

Original comment by alr...@google.com on 19 Mar 2012 at 2:56

GoogleCodeExporter commented 9 years ago

Original comment by alr...@google.com on 12 Apr 2012 at 11:40

GoogleCodeExporter commented 9 years ago

Original comment by alr...@google.com on 15 Apr 2012 at 6:48

GoogleCodeExporter commented 9 years ago

Original comment by alr...@google.com on 21 Oct 2012 at 9:09

GoogleCodeExporter commented 9 years ago
The editor works well in this case if the contents have correct syntax. In your 
example, "boolean" is a proto1 type, and the field is missing the index.

If you do the same with correct syntax:

optional bool stacked = 1 [d|]

you'll get the right behavior.

Original comment by alr...@google.com on 23 Oct 2012 at 12:43