jonahgraham / protobuf-dt

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

Would be nice to be able to disable plug-in for certain projects #232

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
n/a

What is the expected output? What do you see instead?
No errors detected from proto files I don't care about.  Instead I have to 
fix/ignore warnings in projects that happen to contain proto files.  I have 
multiple projects in my Eclipse workspace.  Some have proto files that I want 
to edit.  Other projects don't have any, but I still have to look at the 
warnings.  Would be nice to be able to disable building/parsing of proto files 
in certain projects.  I tried disabling the xText builder for certain projects, 
but that didn't seem to help.

What version of the product are you using? On what operating system?
1.3.3.201210291557

Please provide any additional information below.

I tried to fix the errors by updating the include paths, but some couldn't be 
fixed.  Really I don't care about this files.  As you can see it is just the 
protobuf source itself.

Remaining errors:

Description Resource    Path    Location    Type
Couldn't resolve reference to ComplexType 
'FileDescriptorProto'.  plugin.proto    <proj>/tools/protobuf-2.4.1/src/google/proto
buf/compiler    line: 72 
<proj>/tools/protobuf-2.4.1/src/google/protobuf/compiler/plugin.proto   Protocol 
Buffer Problem
Couldn't resolve reference to ComplexType 
'FileDescriptorProto'.  plugin.proto    <proj>/tools/protobuf-2.4.1/src/google/proto
buf/compiler    line: 72 
<proj>/tools/protobuf-2.4.1/src/google/protobuf/compiler/plugin.proto   Protocol 
Buffer Problem

Original issue reported on code.google.com by dhumen...@gmail.com on 17 Nov 2012 at 7:50

GoogleCodeExporter commented 9 years ago
In addition to enabling/disabling the plug-in by project, it would be nice to 
be able to point it to the directories with the project protos and have all 
others ignored.

Because we have a project that has the protobuf source (including proto files) 
there are a lot of error messages generated.

Original comment by den...@dennisobrien.net on 3 Dec 2012 at 9:42

GoogleCodeExporter commented 9 years ago

Original comment by alr...@google.com on 5 Dec 2012 at 9:46

GoogleCodeExporter commented 9 years ago
I have the same issue, using version 2.4.1.

I need plugin, so I did following, works:

72c72
<   repeated google.protobuf.FileDescriptorProto proto_file = 15;
---
>   repeated FileDescriptorProto proto_file = 15;

Original comment by mike.z...@intelerad.com on 5 Sep 2014 at 2:37