smalidea is a smali language plugin for IntelliJ IDEA/Android Studio
It is currently very experimental, and you will likely run into issues.
Structure view for smali files (thanks @Donlon)
2020-02-23 - smalidea has been migrated to a separate repository. This new repository is a filtered copy of the original smali repository in order to maintain the git history. However, any versions prior to this migration are not expected to actually build. If you need to build an old version for some reason, you should check out and build from the smali repository.

Note: Single-instruction stepping is only supported in IDEA 14.1 and greater, and any future version of Android Studio based on IDEA 14.1 or greater. In earlier versions, attempting to single step will step to the next .line directive, instead of stepping to the next instruction.
baksmali d myapp.apk -o ~/projects/myapp/src~/projects/myappadb shell ps | grep <package-name> and take note of the pid of the application processadb forward tcp:8700 jdwp:<pid>or do the following in recent Android Studio 3.2:
baksmali d myapp.apk -o ~/projects/myapp/srcandroid:debuggable="true" in Android Manifest. Turn on "USB debugging" and use "Select debug app" to select your app in "Developer options" on Android deviceadb shell ps | grep <package-name> and take note of the pid of the application processadb forward tcp:8700 jdwp:<pid>$ claude mcp add smalidea \
-- python -m otcore.mcp_server <graph>