This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch jixuan1989-patch-1
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 64f9b7029dfbb245e123dd015b2d8bd1aa8ed791
Author: Xiangdong Huang <[email protected]>
AuthorDate: Fri Dec 16 18:37:48 2022 +0800

    add instruction about how to allow large java file generated by Thrift in 
IDEA
---
 docs/Development/ContributeGuide.md | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/docs/Development/ContributeGuide.md 
b/docs/Development/ContributeGuide.md
index 5ab5b63406..ddc8cd79ba 100644
--- a/docs/Development/ContributeGuide.md
+++ b/docs/Development/ContributeGuide.md
@@ -191,7 +191,7 @@ import -> Maven -> Existing Maven Projects
 
 # Frequent Questions When Compiling the Source Code
 
-I could not download thrift-* tools, like `Could not get content
+>Q: I could not download thrift-* tools, like `Could not get content
 org.apache.maven.wagon.TransferFailedException: Transfer failed for 
https://github.com/apache/iotdb-bin-resources/blob/main/compile-tools/thrift-0.14-ubuntu`
 
  It is due to some network problems (especially in China), you can:
@@ -205,6 +205,18 @@ org.apache.maven.wagon.TransferFailedException: Transfer 
failed for https://gith
 
  * Re-run maven command like `mvn compile`
 
+ 
+ >Q: IConfigNodeRPCService class is unrecognized (IDEA can not find the class 
even though we have generated it)
+
+ It is because Thrift generate the file too large, which exceeds the lines 
that IDEA can parse by default. You can find that file and then you will see 
IDEA claims that. To make it work, you can:
+ 
+ * Click "Help" menu of IDEA
+ * Choose "Edit Customed Properties"
+ * On the opened file (`idea.properties`), add: 
`idea.max.intellisense.filesize=9000`
+ * Restart IDEA
+ 
+ 
+
 
 ## Recommended Debug Tool 
 

Reply via email to