Something that has bugged me with every code editor I have used including ZBasic's. How do I set the tab stops so they work the way I want them? When I write code I want tab stops to be in increments of 2. So the first tab column would be at 3. I like my statement comment columns to be aligned - usually at column 41 or 45. This is the Monk in me.
How can I set up the IDE so that when I create/edit a .bas file this tab scheme is the default. I've tried the Change Indentation Settings on the options menu but that does not appear to be sticky. I started a new .bas file yesterday and had Tab and Indent Size set to 2. Every thing was fine. Today when I opened the file these settings are back to 4 and remarks columns are all screwed up. I know I am not doing something right. How do I make this work?
Any enlightenment will be appreciated.
Vic
Tab settings
Tab settings
Vic Fraenckel
KC2GUI
windswaytoo ATSIGN gmail DOT com
KC2GUI
windswaytoo ATSIGN gmail DOT com
You can set the tab size and indent size globally or for specific file extensions. I believe that the following entries in your User options file will achieve your objective for newly created files.How do I set the tab stops so they work the way I want them? When I write code I want tab stops to be in increments of 2.
Code: Select all
tab.size.bas=2
To edit your User options, select the "Open User Options" entry on the Options menu. The file will be empty if you haven't added anything to it yet.
The various tab and indent options are described in the SciTE help that is available via the Help menu. Many/most questions about the editor configuration are addressed in that file.
- Don Kinzer
Update: These settings in your User Options file should do the job:
Code: Select all
tab.size.*.bas=2
indent.size.*.bas=2
- Don Kinzer
Select 'ZBasic IDE Help' on the Help menu. This will launch a browser with an HTML help file open. Near the top of that file there is a link to 'SciTE Help'. This help file describes how to configure the operation of the editor itself.Where can the documentation for the IDE editor be found?
- Don Kinzer