You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The same thrift service works in 17.11.0, but not in 18.5.0. I think the new version adds 2 more interfaces: ReqRepMethodPerEndpoint, ReqRepServicePerEndpointBuilder
Not really big issue, but just think it worth mention here
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.
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
ReqRepMethodPerEndpoint
,ReqRepServicePerEndpointBuilder
FutureIface
orServiceIface
? or provide option to do soThe text was updated successfully, but these errors were encountered: