HuxerUI for Visual Studio CodeDevelopment build of the HuxerUI extension for the 0.5 SDK. Try the extensionOpen HuxerUI in the Activity Bar to create an app or library from a form. In a HuxerUI workspace, the sidebar also selects the project, SDK, target, device, and build options for the next run or package task.
HuxerUI: Select SDK can override the choice for a project. The extension looks for a nearby After updating a source checkout, use HuxerUI: Rebuild Source CLI from the Command Palette or Rebuild CLI beside the sidebar SDK selector. Run uses the last successful CLI build for that checkout. The extension uses the toolchain on the workspace host. In a remote window, configure SDK and toolchain paths on that host. With several SDKs installed, use Select SDK to bind each project. CMake projects can pin an exact installed SDK with the folder setting Run with Watch, Stop, Package, and Open Artifacts are also available for CMake projects. When an ordinary run launches a detached app, close that app through its own UI. mcpp is a preview and uses the host's SDK downloads run the official HuxerUI installer on the workspace host. It verifies the release checksum and sets Edit HuxerUI sourceIn a CMake or mcpp project, type In a standard CMake project, press F12 on a resource name such as Debug with VS CodeOpen Run and Debug, choose HuxerUI… in the configuration picker, and select a target. You can also open the picker with Debug: Select and Start Debugging. VS Code lists supported targets for each open HuxerUI CMake app or Library Preview. After selecting a target, use F5 to start and Shift+F5 to stop. The sidebar Debug button and HuxerUI: Debug run the same build and launch flow. The dynamic configurations work without Desktop appsUse CodeLLDB on macOS. On Windows and Linux, enable Microsoft C/C++ from the extension pack on the workspace host. Windows builds use the MSVC build tools. Linux debugging requires an executable Set a source breakpoint and start the host's desktop target. HuxerUI builds in Debug mode with the selected SDK and launches the app executable from the CMake integration plan. For composable functions, set a line breakpoint inside the handwritten body. The current generator can assign the same line to the first statement and its generated Android and iOS appsInstall CodeLLDB on the workspace host. Select Android or iOS Simulator in Run and Debug, or choose a target in the HuxerUI sidebar. If a saved device is unavailable, select a device from the picker. Mobile sessions use the selected SDK in Debug mode with LTO disabled.
On Android, Restart in the debugger toolbar relaunches the deployed Debug APK and reconnects. Stop and start a new debug session to build and deploy source changes. Use the debugger toolbar or HuxerUI: Stop to end the session. Install a local buildRun The HuxerUI extension pack installs Microsoft C/C++ and CMake Tools with HuxerUI. You can manage each companion extension independently. |