Comments (4)
IIRC, there's no compile option when right clicking on a .proto file. You'd normally just invoke the compilation automagically when compiling your module or project. However, let's just ignore that for the moment..
There are a couple of things that could go wrong.
The biggest one right now is that the plugin's initial support for IDEA 12 did not include using the plugin with the external compiler, which is the default compiler option starting with version 12. That may be why you're not seeing any results. The upcoming release of the plugin, 0.5.3 supports using the external compiler. I'm trying to get it out in the next few days.
Another problem could be that you haven't yet set up a facet for your module(s) that contain .proto files. If you have set up a facet, you still might need to specify the output directory for each of them.
It's a little hard to say what the problem is without seeing your setup, but I hope these suggestions will help.
from idea-plugin-protobuf.
I double-checked with my test project and I was incorrect about the compile option in the menu. I don't normally keep my .proto files in a source root, but if it's in a source root, you can choose to compile it directly. So, then, it's probably one of the other potential issues I mentioned.
from idea-plugin-protobuf.
Thanks for the response!
I never would have guessed that I had to add a Facet, and I've been an IntelliJ user for 8 years. Couldn't there be a dialog box that pops up after I install the plugin? Or could it auto-detect proto files and add the facet automatically?
from idea-plugin-protobuf.
No problem. Among other things in the upcoming release is a reworked detector for .proto files that will prompt to set up a facet for the containing module. The process should be a little easier soon.
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.