An updated preview release of Code on the Go is ready for review!
Click here to download the latest release. Your feedback (including bug reports and feature requests) helps us build a better product. We really appreciate the time you take to test the app and share your experience. The first thing you’ll notice in this release is that our new Code on the Go logo is deployed everywhere throughout the app!
Sketch to UI: Create instant app layouts from hand drawings
As part of our commitment to making it easy to build apps on a phone, our Sketch to UI feature enables you take a pictures of hand-drawn UI and automatically convert it to XML. Read about Sketch to UI in our blog. Updates to Sketch to UI in this release include improved XML and support for horizontal widgets.
Sketch to UI is an experimental feature. Learn to enable experimental features.
Sketch to UI generates XML from hand-drawn UI images.
New Snippets plugin
The Snippets plugin helps accelerate coding by enabling developers to create and use reusable text snippets that are available as code completion options. The snippet syntax follows the https://macromates.com/manual/en/snippets, so developers can import/reuse existing snippets without rewriting them. Get the Snippets plugin here.
Plugins are experimental features. Learn to enable experimental features.
Updates to plugins
- Informative error messages are displayed during plugin installation.
- In dark mode, the plugin manager icon is displayed in a higher-contrast color for greater visibility.
- Plugins can add custom tooltips and documentation to the documentation database. View this section of the developer guide.
- The plugin manager now displays a button that links to a web page where you can download plugins.
You can access available plugins directly from the plugin manager.
Updated Kotlin LSP support
As part of our commitment to providing the same level of support for Kotlin as we do for Java, our experimental features includes expanded Kotlin infrastructure to support diagnostics and code actions. (Learn to enable experimental features.)
Possible errors in code are marked with a wavy red underline, and codes of line that generate warnings are marked with a wavy yellow underline. When you tap the underlined item, a tip explaining the possible error is displayed. (By the way, we’re aware of the issue in which our Kotlin template files include a redundant public modifier in the top-level class, which caused the yellow underlining in the image below. This issue will be fixed in the next release.)
The Diagnostics panel in the bottom sheet lists all possible errors in the file. Tap an item to go to that location in the code.
A Code Actions button has been added to the editor’s pop-up toolbar. This release includes shortcuts to comment and uncomment lines, and more options will be added soon, including fixing imports, generating setters/getters, overriding superclass methods and more.
- Tooltips and links to documentation are now available for Kotlin operators and symbols.
Experimental Kotlin diagnostics features include red underlining and tips for code errors and yellow underlines and tips for warnings.
The Diagnostics tab in the bottom sheet lists all errors. Tap an issue to go to that location in the code.
The code editor toolbar now contains a Code actions button.
Other fixes and enhancements
- In the project command slider, inactive buttons are displayed when no project files are open.
- The full-screen button has been moved from the right side of the screen to the left to eliminate overlap with functional buttons in bottom sheet tabs.
The button that opens and closes full-screen mode is now on the left side of the screen.
- In Layout Editor, the attributes dialog box for widgets is no longer incorrectly cropped.
- In the experimental Git feature, merge conflicts can now be resolved.
- GitHub Issue #815: The error UncheckedIOException: java.io.IOException: close failed: EIO (I/O error) is resolved
Let us know what you think
If you have any problems or suggestions, please let us know! You can reach us the following ways:
- In the app, tap the Feedback button to create an email that includes a screenshot
- Send us email
- Join our Telegram community