Hi everyone! I’d like to share a setup I’ve been using to code with the B4X platform while leveraging the power of VSCode for editing. This approach combines the best of both worlds: B4X IDE for project management and VSCode for coding efficiency.
My Setup:
1. Create the project in B4X IDE and keep the IDE open. This is essential for compiling and running the code.
2. Open the project folder in VSCode and use it exclusively for coding.
With this setup, I make changes in VSCode, save the file, and see the updates reflected in the B4X IDE. However, the update isn’t always instant—to ensure changes sync correctly, click back into the B4X IDE and wait for it to refresh before running your code. Otherwise, you risk losing any recent edits.
Key Benefits of Using VSCode:
- Text Highlighting that improves readability and organization.
- Git/GitHub Integration for version control and collaboration.
- Code Assistant: I use Codeium, which provides AI-powered code suggestions, helping me prototype ideas more quickly.
Since I started working this way, my productivity has gone up significantly. Let me know if you try this approach — I'd love to hear your experiences!
My Setup:
1. Create the project in B4X IDE and keep the IDE open. This is essential for compiling and running the code.
2. Open the project folder in VSCode and use it exclusively for coding.
With this setup, I make changes in VSCode, save the file, and see the updates reflected in the B4X IDE. However, the update isn’t always instant—to ensure changes sync correctly, click back into the B4X IDE and wait for it to refresh before running your code. Otherwise, you risk losing any recent edits.
Note: Everything except coding should still be done in the B4X IDE, such as creating pages, modules, and classes; adding libraries, files, and layouts; and managing other project settings. VSCode is used strictly for writing and editing code.
Key Benefits of Using VSCode:
- Text Highlighting that improves readability and organization.
- Git/GitHub Integration for version control and collaboration.
- Code Assistant: I use Codeium, which provides AI-powered code suggestions, helping me prototype ideas more quickly.
Since I started working this way, my productivity has gone up significantly. Let me know if you try this approach — I'd love to hear your experiences!
Last edited: