1 Closed Author Label Projects Milestones Assignee Sort Issues list Assets (& cache) location should be user configurable #6 opened 16 hours ago by Nos78
Editor for Android XML files in VSCode powered by TotalCross
Extension that interprets the XML file - transforming it into HTML - and displays it in a web view in VSCode, which is lighter than Android Studio and InteliJ. You can see the source code on GitHub.
- Download the TotalCross SDK Plugin for GUI construction;
- Read and XML file;
- Displaying the XML file in the webview;
- Real-time webview editing.
- VS Code 1.47+;
- By default, the plugin looks for images and media (assets) in this
src/main/res/drawable
directory; - As this is an alpha version, the plugin only supports
content-layout
.
NEW: Resources Path now user-configurable
- The assets location can now be configured at the user (all workspaces) or per-workspace level by using vscode File->Settings, and navigating to Android XML Editor within the extensions tab. The new path should be relative to the workspace root. VSCode workspace settings override any user setting.
- Example: A workspace opened at
~/src/android/helloWorld/
contains the default android project sub-directories. The workspace resources path setting would need to beapp/src/main./res/drawable
-
Press
F1
orcmd + shift + p
and search forAndroid XML Editor: Open
. -
You can start making changes to your XML file and follow the result through the webview
Choose the way to contribute and follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin <project_name>/<location>
- Create the pull request.
- Find bugs and let us know by creating a bug report;
- Create features request to indicate the features you want to see working in this plugin;
- Join GUI for embedded community
- 💡 Allan C.M Lira
- 👨💻 Mateus Lima
- 👨💻 Patrick Lima
- 📚 Iaggo Quezado
- 📚 Vaneska Sousa
TotalCross is a technology company aimed at facilitating the development of Graphical User Interfaces for embedded systems offering services, computer vision technology for GUI construction and, mainly, supporting Open Source technologies and their communities.
Today totalcross is moderator of the Embedded GUI community and sponsor of TotalCross SDK.
See more about the modules used: