rust-qt / ritual

Use C++ libraries from Rust
Apache License 2.0
1.22k stars 49 forks source link

Is there some way to let IDE (Clion) pop up autocomplete menu? #110

Closed zjsxwc closed 3 years ago

zjsxwc commented 3 years ago

My IDE Clion cannot pop up any autocomplete menu, and I cannot jump to the qt definitions, Is there some way to let IDE (Clion) to pop up autocomplete menu? Like some fake stub *.rs files used to make IDE more smart.

zjsxwc commented 3 years ago

it seems the generated lib.rs file size is too large. so the IDE ignored the lib.rs code. QQ图片20210301134759

Riateche commented 3 years ago

Yes, you can follow the instructions here to increase the limit.

zjsxwc commented 3 years ago

I configure Help|Edit custom properties

idea.max.intellisense.filesize=250000000
idea.max.content.load.filesize=250000000

, And in Registry i set cidr.max.intellisense.file.length to 5000000000.

Now my IDE works!