Code Monkey home page Code Monkey logo

Comments (5)

tcripps avatar tcripps commented on July 24, 2024

Thanks for your message, Jason. If I understand your request, I think the plugin already supports the "feature".

You can disable compilation (generation of the source files from the .proto files) by going into the Project Structure panel. Click on the Facets entry under the Project Settings heading in the left pane and then click on the Protobuf Facet. You can disable the code generation globally or on a per-module basis by deselecting the "Enable compilation" checkbox.

Please review and let me know if this is sufficient or if you're asking for something entirely different.

Thank you.

from idea-plugin-protobuf.

jdillon avatar jdillon commented on July 24, 2024

On Sep 8, 2011, at 12:31 PM, Travis Cripps wrote:

Thanks for your message, Jason. If I understand your request, I think the plugin already supports the "feature".

You can disable compilation (generation of the source files from the .proto files) by going into the Project Structure panel. Click on the Facets entry under the Project Settings heading in the left pane and then click on the Protobuf Facet. You can disable the code generation globally or on a per-module basis by deselecting the "Enable compilation" checkbox.

Please review and let me know if this is sufficient or if you're asking for something entirely different.

Not really... it still seems to want protoc configured even if there is nothing to compile.

I don't want to use protoc at all, all I want is the editor integration. I've disabled auto-detection and there are no facets configured... seems like that should mean no compilation:

Configuring protoc, which requires native package installation to allow IDEA to function with this plugin enabled and compilation is disabled is a PITA.

Perhaps change the path check to only execute when and if there is a compilation that needs to be performed?

--jason

from idea-plugin-protobuf.

alexy avatar alexy commented on July 24, 2024

I'm getting a cannot find protoc in "" error in IDEA as well. My protocol jars are already compiled and I only need synatx highlighting really. Where/how can the protoc be either supplied via say a full path or such a check disabled?

from idea-plugin-protobuf.

tcripps avatar tcripps commented on July 24, 2024

Alexy, you enter the path to protoc in the IDEA Preferences > (Project Settings) Compiler > Protocol Buffers Compiler panel.

from idea-plugin-protobuf.

alexy avatar alexy commented on July 24, 2024

Excellent.

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.