Code Monkey home page Code Monkey logo

Comments (4)

tcripps avatar tcripps commented on July 24, 2024

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.

rhuffman avatar rhuffman commented on July 24, 2024

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.

tcripps avatar tcripps commented on July 24, 2024

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.

pniederw avatar pniederw commented on July 24, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.