OpenYOLO-Android
OpenYOLO-Android copied to clipboard
Android Studio auto complete shows Protobuf package too
When I try to auto-complete the classes most of the times it shows me same classes with two packages one is actual and another is protobuf class, this multiple package could possibly confuse the user on which one to select, I don't remember seeing this in any of other libs.


There's not a lot we can do about this, the protocol buffer messages have the same name as the "utility" wrappers that we defined for programmer convenience by design. If you like, you can add an exclusion for auto imports from org.openyolo.protocol.Protobuf
in your project:

Or, to do it manually, create a codeInsightSettings.xml
file under the .idea
directory of your project, with contents like the following:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaProjectCodeInsightSettings">
<excluded-names>
<name>org.openyolo.protocol.Protobufs</name>
</excluded-names>
</component>
</project>
This repo is being archived. Closing issue.