intellij-thrift
intellij-thrift copied to clipboard
How do I use this plugin in intellij
Do we have a doc describing how I can trigger the compile process for thrift files?
+1. I found this once but now I can't remember how to generate files again, it's non-straightforward.
Compilation can be triggered by "Compile <...>" commnad (Ctrl+Shift+F9) on folder with the .trift files. From my experience: I have separate folder for .thrift files marked as 'Source root' and another separate folder for generated files marked as 'Generated source root'. To force recompile .thrift files I do 'Ctrl+Shift+F9' on folder with thrift files.
Thank a lot for the response! For me it would also make sense to add a compile command to each .thrift file as well, that's what I was trying in the beginning.