Comments (4)
Thanks for reporting that behavior. Your message might have been incomplete. You mention a Time in the example, but I don't see it in the code you included. Would you mind updating the code sample if you think it would be more helpful than what's already included?
from idea-plugin-protobuf.
Sorry. I stripped out all the message types from my application but did not update the comment. In my code, Time is just a Message with a numeric value and an enum for the units. It would correspond to "Foo" in the example I actually gave, the Message type included in another Message type.
from idea-plugin-protobuf.
I built a test project for this issue and found that the package declared in the .proto file does not resolve if the package directory doesn't exist in the module's sources directory. For example, when you declare a package of "foo.bar" in your .proto file, and your sources are in the /src/ directory, the package declaration in the .proto file will show as an error unless the /src/foo/bar directory exists.
If your .proto file declares a package and classes for that package, running the compiler would create the package directories, so we could probably consider that package to be valid.
from idea-plugin-protobuf.
Any chance to get this fixed? The fact that (as you say) src/foo/bar
directory needs to exist seems to be an IntelliJ thing.
from idea-plugin-protobuf.
Related Issues (20)
- Structure view does not work in Intellij 14 HOT 1
- Support with RubyMine HOT 3
- Proto3 Not Supported HOT 11
- Compile Not Working HOT 1
- Deletes sources HOT 2
- PyCharm support HOT 3
- The readme's link to Protocol Buffers' documentation is old HOT 1
- CLion support HOT 3
- Does not work on Android Studio v1.4
- intellij idea structure view, null excepetion. HOT 1
- New release HOT 15
- The latest version (v0.5.10) is not on jetbrains plugins repository HOT 1
- Proto3 Support HOT 5
- Plugin 'com.nmatveev.idea-plugin-protobuf' failed to initialize and will be disabled.
- Can't use map type?
- How is this supposed to work? HOT 2
- 0.5.10 not on plugins.jetbrains.com HOT 1
- does proto3 support?
- Not supported in IntelliJ 2017.1 HOT 4
- Imported proto file shows file not found
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idea-plugin-protobuf.