Just BASIC Programming
Using Just BASIC >> Just BASIC v2.0 beta testing >> Auto-Indenting
http://justbasic.conforums.com/index.cgi?board=jb2beta&action=display&num=1515428307

Auto-Indenting
Post by bplus on Jan 8th, 2018, 10:18am

Hi,

I just downloaded JB 2.0 b1 (2018-01-07) onto new Windows 10 laptop and the Auto-Indenting is not working. (But now it is remembering my Font preferences for the editor, which I had reported was not working on my old laptop.) BTW, this time I set files to the suggested folder in the Setup app.
Re: Auto-Indenting
Post by Rod on Jan 8th, 2018, 2:46pm

Did you set it in Preferences and restart?
Re: Auto-Indenting
Post by bplus on Jan 8th, 2018, 3:08pm

Yes, several times... unset/reset...

Also I am getting a square zero character when I try to use shift + tab.
Re: Auto-Indenting
Post by Rod on Jan 9th, 2018, 06:13am

The name suggests it will automatically format the code and properly indent it. But It does not do that. It simply preserves indentation level when enter is pressed.Without it the cursor goes back to the line start on pressing enter.

Quote:
Enable Auto Indenting - This feature causes the Just BASIC editor to copy the level of indenting of the current line to a new line when Enter is pressed. It also has some support for back-tabbing.


As to ShiftTab I don't believe that is supported. It will Tab backwards if you press backspace so you can move between indentation levels reasonably well.

Re: Auto-Indenting
Post by bplus on Jan 9th, 2018, 08:53am

OK I guess that is way it worked with JB v1.01, funny I never noticed shift + tab before and just automatically used backspace.

Sorry, I must have confused it with another editor with real Auto Indenting I've been using lately.
Re: Auto-Indenting
Post by bplus on Jan 10th, 2018, 10:57am

Notepad++ is excellent tool to work with JB code!

Not just block indentations and undo them, can do the same with case and PLUS a Spell Checker!

I think you can add custom language extensions as well, something to check out.