Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated source exceeds default intellij file size limit (2.44MB) #293

Open
komsit37 opened this issue Jun 12, 2018 · 1 comment
Open

Comments

@komsit37
Copy link

Intellij code insight feature cannot be used (no code jump or error highlight) on generated source file from big thrift service (~60 methods)

Expected behavior

Intellij code insight works on generated source file

Actual behavior

Got the following message when opening generated source in intellij
Generated file size exceeds default intellij configured limit (2.44MB). Code insight features are not available.

Steps to reproduce the behavior

Create thrift service with roughly 60 methods with 2-3 arguments each, then runs scroogeGen on it. This should generate about 53,000 lines with 2.5MB in size. Open the project in intellij. Warning message should come up at the top of the editor (if file size actually exceeds 2.5MB)

Additional Info

@komsit37 komsit37 changed the title generated source exceeds default intellij file size limit (2.44MB) Generated source exceeds default intellij file size limit (2.44MB) Jun 12, 2018
@yufangong
Copy link
Contributor

Hi @komsit37, thank you for reporting the issue. Currently, we have some deprecated interfaces in the generated code we are about to drop soon, those are MethodIface, FutureIface, ServiceIface and their corresponding builder object.
This is a bit challenging as internally we need to migrate all code from old APIs to new ones and come up with a plan to help OSS do this easier. I'll provide more information after we have a concrete plan about how to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants