Update about Basic4android 1.8

Erel

B4X founder
Staff member
Licensed User
Longtime User
The next version will be released during January.

The main three improvements are:

Code editor
As I posted here and here, the code editor will be "more intelligent".
- Automatic case correction of variables and subs (based on their declaration).
- Highlighting of undeclared variables.
- Highlighting of global variables.
- And a very useful new "find all references tool". From my experience with other IDEs this tool is the one that I use most when working on large projects.

Code obfuscation
The purpose is to make it harder to decompile your code.
- Strings obfuscation - Important for all kinds of account keys.
- Subs and variables renaming - Makes the decompiled code much harder to analyze.

Manifest file editor
The new editor will allow you to add elements to the dynamic manifest file.
It should make it easier to integrate other libraries without the hassle of updating the manifest file manually.
More information about the editor will be available soon...

The new version will also include other improvements and bug fixes.
The full list will be posted before the release.
 

NeoTechni

Well-Known Member
Licensed User
Longtime User
Yes, the IDE needs a lot more love (coming from Visual Studio 2010 with DX CodeRush), the designer needs some rework probably

Could you be more specific?

I'm in desperate need of more controls

He can only support controls that android has built in, otherwise it's up to us to make them
 
Upvote 0

Kevin

Well-Known Member
Licensed User
Longtime User
Will the next version have a wider drop-down sub list? I know others have mentioned it before, and as it is now, its limited width sometimes makes it difficult to find what you are looking for.

Also, it lets you rearrange modules at the top of the code editor, but I don't think it remembers the order you left them in.

Another great idea (ran into this last night and caused me much more work) is that when selecting views to change to a different parent (say from activity to a panel), it places them all into a default position. It would be nice if it would put them at the same Left & Top positions after changing parents.

Just some things to consider.
 
Upvote 0

Smee

Well-Known Member
Licensed User
Longtime User
Will the next version have a wider drop-down sub list?

Just some things to consider.

ahh well

I guess its time to open a new wishlist for the next version erel,



Happy New Year to all
 
Upvote 0

COBRASoft

Active Member
Licensed User
Longtime User
Could you be more specific?

I suggest you check out the website of DevExpress and look for CodeRush. This plugin is simply amazing and helps speed up development a lot.
E.g. if you type 'mb' and press the spacebar, it will make a new function with a boolean as return type. 'ms' will make a new function with a string as return type. Also the 'rename' function does an amazing job. Just place the cursor on a variable (or function), right-click with the mouse (or shortcut), a popup menu appears with a lot of functions and refactorings. One of them is the rename, simple but very effective.

Also simple things like when typing 'If', afterwards 'Then' and 'End If' should be placed by the editor. Same goes for 'Sub', 'Loop', 'For', ... Yes, I'm spoiled by Visual Studio, but that's the reason I can develop so much faster.

An 'error' list at the bottom of the editor would be handy, just like Visual Studio. This way you know immediately if you have made a mistake somewhere without the need to compile/run your app.

As for the designer... Copy/Paste. 'Tabhost' should become a real TabControl with designtime tabs (panels). It would be great if colors and gradients were respected in the abstract designer. Also the Text of Labels and other controls should be visible in the abstract designer and not their name. A toggle button to switch between them could be an option.

I understand Erel provides the basic controls from Android. This doesn't mean it has to stop there. I really understand he has no time to implement all of our wishes. But hey, that's what they are, wishes, not demands .

Once again, I just love B4A. It's amazing how easy things can be achieved in a very short time. But the editor could use more love.
 
Upvote 0

magarcan

Active Member
Licensed User
Longtime User
If you already has declared a variable, and begin write first letters of it, are IDE able to autocomplete it? This is what Visual Studio does and it's very useful.

We can't wait for the update
 
Upvote 0

quasimidi

New Member
Licensed User
Longtime User
I already know this. What I would like is something automatic similar that when you are using a method and are writing parameters...

I think you mean somekind of intellisense like in VS?
IMHO it is a "nice-to-have" feature, but not mandatory.
 
Upvote 0

latcc

Banned
Good news.

I hope you are going to fix the abstract designer. It currently doesn't resize the window correctly when selecting different layouts.
 
Upvote 0

Kevin

Well-Known Member
Licensed User
Longtime User
Good news.

I hope you are going to fix the abstract designer. It currently doesn't resize the window correctly when selecting different layouts.

I'm not familiar with such an issue. Can you please provide more information?

I'm not at home right now to give specific steps on how to recreate it, but I noticed this too the other day. At the time, I didn't have time to figure out the "why". It may have been when switching to different variants among the drop-down list in the main designer window, or possibly when opening a whole different 'activity screen' (file), but I just can't remember. I do seem to recall that it didn't happen every time, but never got around to figuring out what I had done when the problem came up.
 
Upvote 0

tremara1

Active Member
Licensed User
Longtime User
abstract designer

In a previous reply mention was made of the abstract designer I think it may be where if you are working on one layout variant which is bigger than another when you return to the smaller variant the abstract designer stays the larger size. The smaller variant is displayed correctly in the top left position it is just there is white space behind.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
The smaller variant is displayed correctly in the top left position it is just there is white space behind.
This is the intended behavior. It allows to move views that are out of the "visible" area.
This is very useful when creating a new variant. Otherwise you need to manually set the views position to make them visible.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…