intellij-thrift icon indicating copy to clipboard operation
intellij-thrift copied to clipboard

How do I use this plugin in intellij

Open ldxstc opened this issue 10 years ago • 3 comments

Do we have a doc describing how I can trigger the compile process for thrift files?

ldxstc avatar Feb 22 '15 04:02 ldxstc

+1. I found this once but now I can't remember how to generate files again, it's non-straightforward.

dragoon avatar May 18 '15 09:05 dragoon

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.

xBlackCat avatar May 20 '15 06:05 xBlackCat

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.

dragoon avatar May 20 '15 07:05 dragoon