Other B4J v8.00 BETA is available for download

Erel

B4X founder
Staff member
Licensed User
Longtime User
I'm happy to release B4J v8.00 beta. This update includes many important IDE improvements.
  • Find all references, quick search and find subs / modules tool windows were rewritten and are now syntax colored, the text is selectable and you can jump directly to the selected position:

    B4J_g4HdOaZwZY.png


  • Subs code appears in the quick info windows:

    firefox_gejSUQYiDX.png


    This code is also selectable and clickable.
  • Show Sub in window:

    B4J_FFeJi3K1dG.png


    Allows showing subs in a floating windows. The text is selectable and clickable.
    This can be triggered from all kinds of places including:

    firefox_5S7dmQl9uv.png


    And:

    B4J_HA5KV1VUy1.png


  • Warning and errors do not hide other information:

    firefox_3kGGyEKGSF.png


  • Copy warnings from list of warnings.
  • Generate 'Create Type' Sub:

    1hITEYnYZ4.gif


  • Modules list is saved in lexicographic order to avoid unexpected changes with source control tools.
  • Fixed incorrect missing file warning in some cases.
  • Resources in implicitly referenced b4x libs are now accessible.
  • Other minor improvements and bug fixes.

Beta version can be downloaded here: www.b4x.com/b4j/files/beta.exe
 

amykonio

Active Member
Licensed User
Longtime User
Works nice...
Could it be possible to avoid opening a window for a sub, when there is already an open window for the same sub? If there is already one it could simply get focus...
Anyway, I like that functionality, especially from modules tree.

Andreas.
 
Upvote 0

amykonio

Active Member
Licensed User
Longtime User
I see that breakpoints in modules are a little bit different. In previous version breakpoints were showing like that:

upload_2019-11-22_16-49-8.png


Now they show with the new icon (the one used to view the module in a window):

upload_2019-11-22_16-50-5.png


The new icon in the breakpoints is clickable, but always shows an error as shown bellow:

upload_2019-11-22_16-53-37.png


Andreas.
 
Upvote 0

MichalK73

Well-Known Member
Licensed User
Longtime User
Can you add the automatic closing brackets when it opens "(" so that it appears immediately (<cursor here>).
The second thing is the automatic closing for strings "" just like $""$.
In python this is the norm and makes typing faster.
@Erel do you ever sleep or still work ??
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
I see that breakpoints in modules are a little bit different. In previous version breakpoints were showing like that:
This is a bug. Will be fixed.

Can you add the automatic closing brackets when it opens "(" so that it appears immediately (<cursor here>).
This is not the place to discuss features not related to this update.

is it possible to add copy function for events?
Might be added however the IDE already supports events auto completion (write Sub followed by space and tab).
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
that Find references is a nice new feature.

it would be nice if it also was displayed when hovering variables as it would safe a lot of ctrl-f + typing.

for subs it would be nice if it just checked for text strings as it now ignores the cases where you use the sub name as string parameter in (class) functions.
it works right for the regular callSub calls tho.

Thanks
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
Excellent, thanks!

The other point/case can be seen below.
Although it's not THAT urgent as it is used less than the rest but while you're working on it... ;)

capture_001_24112019_093040.jpg


Also in the above case the sub itself is always marked as not being used while it is.
But it's kind of hard to link every string to a sub as it might work wrong in some cases but without causing harm.
 
Upvote 0

sorex

Expert
Licensed User
Longtime User
ok, I didn't know the compiler was involved here. I thought the parser just built a list of subs and then did a search for lines with the subname in it
but I guess the "*" string check is limited for callsub like calls instead of a flat search.

adding an underscore after the subname does indeed remove the warning.
 
Upvote 0
Top