Skip to content

Releases

B4X++ v0.6.0 — BANano MVP, Native B4X IntelliSense and Web Output Workflow

Choose a tag to compare

@soinalastudio soinalastudio released this 09 Jul 08:59

Highlights

  • #Project BANano` support.
  • Generated B4J/BANano project that can produce index.html and JavaScript.
  • BANanoSkeleton example project.
  • B4X++: Build Current #Project + Remap Errors now builds the B4J jar and runs it for BANano web generation.
  • Integrated BANano output server to avoid browser file:// limitations.
  • JavaFX-aware jar execution using configured javaPath and javaFxLibPath.
  • Native B4X support for .bas, .b4j, .b4a, .b4i.
  • Separate global B4X++ settings UI and current project settings UI.
  • BANano SmartString, #If CSS, #If JAVASCRIPT, #If SmartJavaScript syntax support.
  • Lightweight HTML/CSS/JS completions in embedded BANano web zones.
  • Go to Definition / hover for ${...} interpolation variables.
  • BANano/BANanoSkeleton IntelliSense improvements.
  • Chained member IntelliSense such as Layout.LastRow.Column(1).MarginTop.
  • Chained initializer IntelliSense such as `Dim tp As SKTagPicker = Layout.LastRow.Column(1).Add.TagPicker(...).

Upgrade notes
After installing the VSIX, run:

Developer: Reload Window

For BANano builds, configure global settings with:

B4X++: Configure B4X++ Settings

Typical BANano Java settings:

{
  "b4xpp.banano.javaPath": "C:\b4j\java\bin\java.exe",
  "b4xpp.banano.javaFxLibPath": "C:\b4j\java\javafx\lib"
}

Use B4X++: Serve BANano Output instead of opening index.html directly with file://.
Known limitations
The BANano visual designer is planned after v0.6.0.
Embedded HTML/CSS/JS IntelliSense is lightweight, not a full embedded VS Code language server yet.

Consolidate all improvements introduced since v0.4 into the first v0.5 release

Choose a tag to compare

@soinalastudio soinalastudio released this 07 Jul 21:34
  • Add natural B4X++ OOP syntax: Class, Interface, Constructor, Property, StaticCode
  • Keep legacy #Class / #Constructor / #Interface / #StaticCode compatibility
  • Preserve native B4X #Property while using bare Property for B4X++ generated properties
  • Add and stabilize Async/Await lowering to native ResumableSub / Wait For
  • Add closure / anonymous Sub support with lifted closures and B4XPPClosure runtime values
  • Add generic source specialization with Type(Of T)
  • Add bundled B4XPP.Core and B4XPP.Net source packages
  • Add .b4xlib and .b4xpplib packaging support
  • Add native B4J / B4A / B4i project sync and build commands with error remapping
  • Improve IntelliSense, hover, diagnostics, Go to Definition, and source maps
  • Update examples, snippets, stdlib, README, and changelog for v0.5.0

v0.4.0

Choose a tag to compare

@soinalastudio soinalastudio released this 03 Jul 08:19

Major changes:

  • Add B4X++ Closure / anonymous Sub support.
  • Add local closure lifting for simple non-escaping closures.
  • Add B4XPPClosure runtime class for passed, stored or returned closures.
  • Generate B4XPPClosure as a real B4X Class module.
  • Use the real B4X Initialize(...) constructor for closure runtime values.
  • Add Closure keyword syntax highlighting and snippets.
  • Add Go to Definition support for closure parameters and captured variables.
  • Add Closure Console B4J Non-UI example.

Language and transpiler improvements:

  • Add property read/write sugar in B4X++ source.
  • Support inline property assignments.
  • Support property reads through generated getters.
  • Improve generated B4X compatibility for flattened OOP classes.
  • Improve handling of CustomView recommendations as warnings instead of blocking errors.

Validation and diagnostics:

  • Add strict validation mode.
  • Add basic semantic diagnostics for unknown identifiers, unknown types and simple type mismatches.
  • Add method argument count diagnostics.
  • Improve diagnostics around external types and libraries.

Library indexing:

  • Add support for B4X XML library metadata.
  • Add support for direct .b4xlib indexing.
  • Parse b4xlib modules, public methods, fields, types, events and designer properties.
  • Add platform-scoped library indexing for B4J, B4A and B4i.
  • Ensure B4J projects only use B4J library folders, B4A projects only use B4A folders, and B4i projects only use B4i folders.
  • Add cached library index with refresh command support.

Project and B4XLib directives:

  • Add project-level dependency directives:
    #ProjectDependsOn
    #ProjectB4JDependsOn
    #ProjectB4ADependsOn
    #ProjectB4iDependsOn
  • Add explicit B4XLib metadata directives:
    #B4XLibVersion
    #B4XLibAuthor
    #B4XLibSupportedPlatforms
    #B4XLibDependsOn
    #B4XLibB4JDependsOn
    #B4XLibB4ADependsOn
    #B4XLibB4iDependsOn
  • Keep backward compatibility with older directives where possible.
  • Separate native project dependencies from B4XLib manifest metadata.

Native B4X project support:

  • Parse native .b4j, .b4a and .b4i project headers.
  • Read Library1, Library2, Module1, File1, ManifestCode and project metadata.
  • Generate native project library entries from B4X++ project dependency directives.
  • Improve project synchronization for B4J UI, B4J Non-UI and B4XLib projects.

VS Code tooling:

  • Add B4X++ Project Settings UI.
  • Add project settings for source/output/project/b4xlib folders.
  • Add configurable B4J/B4A/B4i internal and additional library directories.
  • Add library reload and dependency selection UI.
  • Add completion for project and B4XLib dependency directives.
  • Add platform-scoped completion for #ProjectB4JDependsOn, #ProjectB4ADependsOn, #ProjectB4iDependsOn and B4XLib equivalents.
  • Add type completion driven by declared dependencies and indexed libraries.
  • Remove hardcoded XUI/B4X UI type assumptions from completion.
  • Add hover information for external types, including source library and module.

Documentation and examples:

  • Reorganize README.
  • Move license section to the end of README.
  • Update CHANGELOG for v0.4.0.
  • Update B4X++ skill documentation.
  • Regenerate XUI Breakout example.
  • Add Closure Console example.
  • Keep generated examples aligned with v0.4.0.

v0.3.5

Choose a tag to compare

@soinalastudio soinalastudio released this 01 Jul 19:03
  • better OOP support;
  • improved inheritance flattening;
  • better properties;
  • property assignment sugar;
  • inline property assignment fixes;
  • better constructor handling;
  • method overload improvements;
  • safer B4X naming conventions;
  • improved static code generation;
  • better diagnostics;
  • new OOP examples;
  • a new B4J/XUI Breakout example;
  • updated VS Code extension templates;
  • improved tests and documentation.

v0.2

Choose a tag to compare

@soinalastudio soinalastudio released this 27 Jun 22:53

feat(v0.2): add visibility model, symbols metadata and completion groundwork

v.0.2.1

Choose a tag to compare

@soinalastudio soinalastudio released this 27 Jun 23:00

feat(v0.2.1): add custom property getters and setters

First release

First release Pre-release
Pre-release

Choose a tag to compare

@soinalastudio soinalastudio released this 27 Jun 09:59

First release.

Install the .vsix file from VS Code:

  • Open Extensions.
  • Click the ... menu.
  • Choose Install from VSIX....
  • Select b4xpp-vscode-extension-v0.1.0.vsix.
  • Run Developer: Reload Window.