New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't access sources. #38
Comments
I am not sure that I understand the problem. Are sources being generated or not? |
Hey, @sergei-ivanov, apologizes for the confusion. The sources are being generated, I just cant access them. |
Proof that they have been generated: https://gyazo.com/cca1e51bdede7fb5b2c84df7d78c42e9 Thing is I cannot extend any of these generated classes. I really don't understand why. |
Looks like the output folders are not marked as source folders in IDEA. Normally it is quite good at automatically detecting them, but sometimes needs a nudge. Try either running "refresh" action in the maven projects window, or "detect source directories" (or whatever it is called, there is a button on the maven panel toolbar). Check that there is automatic detection of generated sources configured in maven settings in IDEA. Failing all that, right-click on the directories in the project tree and select "mark directory as > source folder". |
That done it, thanks @sergei-ivanov! |
Apache Maven 3.5.0
Java version: 1.8.0_151, vendor: Oracle Corporation
Default locale: en, platform encoding: UTF-8
OS name: "linux", version: "4.13.0-kali1-amd64", arch: "amd64", family: "unix"
IDE: IntelliJ Ultimate 2017.2.6
Problem: The sources are generated but I cannot use them. For example, I can't extend the base implementation when making a new service. I really don't know what the problem is.
My .proto file:
The output: https://gist.github.com/TheMasteredPanda/13139c44536d32d9a36614b150639b20
The text was updated successfully, but these errors were encountered: