Link engine docs on AS setup in flutter/flutter docs on engine contributor setup (#151481)

Links to the docs on Android Studio setup.
This commit is contained in:
Gray Mackall 2024-07-09 13:35:42 -07:00 committed by GitHub
parent 284116c085
commit 72d75959a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -169,8 +169,14 @@ To set up:
1. If you previously had a `shell/platform/android/.classpath`, delete it.
### Using Android Studio as an IDE for the Android Embedding [Java]
Alternatively, Android Studio can be used as an IDE for the Android Embedding Java code. See docs
at https://github.com/flutter/engine/blob/main/shell/platform/android/README.md#editing-java-code for
instructions.
## VSCode Additional Useful Configuration
1. Create [snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets) for header files with [this configuration](https://github.com/chromium/chromium/blob/master/tools/vscode/settings.json5). This will let you use `hdr` keyboard macro to create the boiler plate header code. Also consider some of [these settings](https://github.com/chromium/chromium/blob/master/tools/vscode/settings.json5) and [more tips](https://chromium.googlesource.com/chromium/src/+show/lkgr/docs/vscode.md).
2. To format GN files on save, [consider using this extension](https://marketplace.visualstudio.com/items?itemName=persidskiy.vscode-gnformat).
2. To format GN files on save, [consider using this extension](https://marketplace.visualstudio.com/items?itemName=persidskiy.vscode-gnformat).