Comments (3)
What have you tried in order to diagnose the error? Can you please let me know how you have configured your module? What happens when you compile your project? Do you see the compiler message about generating sources from proto files?
from idea-plugin-protobuf.
There is really nothing I can do. I tried setting "c:\work" as path and "c:\work\protoc.exe". In Event Log it always says "10:43:45 PM Compilation: all files are up to date" even if I modify .proto file.
Project is very simple. Here is directory structure: http://i44.tinypic.com/5b9348.jpg
And here is .proto file: http://pastebin.com/63ejS8i1
Let me know if I can enable log or something like that.
from idea-plugin-protobuf.
Thanks for the peek at your project. The structure looks fine, I think. I recreated a simple project based on it and compilation worked fine.
If your protoc binary is at C:\work\protoc.exe (are you missing a backslash in the path?), the compiler path should be fine. In the protoc compiler settings preference pane (Preferences -> Compiler -> Protobucol Buffers Compiler), you can click on the button with the "..." at the right of the protoc compiler path to pop up a window to let you choose the protoc executable file.
I guess that leaves a few questions to help determine the cause of your trouble.
-
Is the path to the protobuffers compiler set correctly in your preferences?
-
Have you set up a Protobuf Facet for the project's module (Open the Project Structure dialog, click on the Facets entry in the left pane)? If so, is compilation enabled for the facet, and does it have an output source directory defined?
If not, click the + button and add a Protobuf Facet for the module, and configure its output directory (your project's src directory).
- If all of these are configured correctly, and you're still not getting the plugin to generate the files, please check the IDEA log files. (See http://devnet.jetbrains.net/docs/DOC-181 for log file locations). The plugin writes messages into the log file both when invoking the protoc executable and when it finds nothing to compile.
I hope that helps.
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.