forked from nnmatveev/idea-plugin-protobuf
-
Notifications
You must be signed in to change notification settings - Fork 0
tcripps/idea-plugin-protobuf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
PLUGIN AUTHOR Matveev Nikolay USEFUL LINKS: 1. Protocol Buffers brief and only documentation - http://code.google.com/intl/ru/apis/protocolbuffers/docs/overview.html HOW TO compile plugin: 1. Just add idea.jar to your IDEA SDK classpath(justification of it you can find in AUTHOR NOTE#4) HOW TO run tests: 1. To run all tests, run PbTestSuite class in the project directory 'test' HOW TO use Protocol Buffers compiler: 1. File->Settings->Compiler(Project Settings)->Protocol Buffers compiler 2. "Path to protoc" field have to contain only path to parent directory of protoc and ends with "/" But if something was set up wrong, plugin wouldn't allow to execute compilation and show warning message AUTHOR NOTES: 1. Protocol Buffers language haven't any reserved keywords, thus I have to be tricky in some places. 2. [protobuf.lang.psi.impl.reference.PbRefImpl:355:21] Using LightCodeFixtureTextCase leads to problems with temp directory, thus I have to use such hack to make method works both in real and test mode. 3. Plugin is idea.jar-dependent, because it uses very useful implementation of PsiElement - ASTWrapperPsiElement, testing of plugin bases on class LightCodeInsightFixtureTestCase extending UsefulTestCase in idea.jar and several not so important, but time-saving use cases. KNOWN ISSUES: 1. Problems with fixing highlighting: 1. While annotating I can change a color of the bold text, but cannot apply Font.PLAIN attribute(but Font.ITALIC works) 2. I try to fix a lot of highlighting misses, but in some cases it is still incorrect. For example if anybody creates enum with enum constant named "true" and then specified it as a option value. I believe that it is exotic. 2. Compiler: I don't know how compiler will behave if the "output source directory" located separate from project 3. a lot of to do in the code... CONTRIBUTION AND PLUGIN WRITING STUDY All sources are available on http://github.com/nnmatveev/idea-plugin-protobuf License is absent. To contact author use the github mailbox.
About
Google Protocol Buffes support for Intellij IDEA
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Java 100.0%