Here are new versions of CTAGS.VDM and UTAGS.VDM.
They contain the following changes:
Ctags.ini file is now stored in the same directory as TAGS database.
(TAGS file is searched from current file's directory and it's parent directories, as before.)
This allows you to have different configuration for each project, and the settings stored match the actual TAGS database.
The last settings are still stored in the USER-MACRO directory, too. When you start ctags.vdm, it first searches the .ini file from the TAGS directory. If not found, it uses the file stored in USER-MACRO directory.
Ctags.ini file now stores all the settings used for creating the tags database. That is, if you append files to TAGS from several directory trees, or process different file types (.c, .h, .asm etc.), all the settings are stored. When you start ctags.vdm next time, the first settings used for creating the TAGS database are loaded by default (instead of the last settings), so you can more easily repeat the process from the beginning.
(The ctags.ini in user-macro directory only contains the last settings, as in earlier versions.)
You can process files with the old settings by just pressing Enter, or you can change the settings first.
After you have run the first set, the next set of options is automatically fetched from ctags.ini.
You can re-create the TAGS database step by step by just pressing Enter a few times.
When all the settings in .ini file have been processed, the settings do not change any more, [Cancel] button changes into [Exit], and the message "Click [Exit] to finish adding files" is displayed on the dialog.
Ctags.vdm now supports batch processing.
Click the [Batch] button to open Batch Processing dialog. You can then select the file that contains the settings. Default is the ctags.ini file stored in the directory that contains TAGS database. Therefore, to re-build TAGS database with same settings as before you only need to press Enter.
You can select batch processing mode directly when calling ctags.vdm (for example from the User menu).
Call label BATCH_AUTO to run batch processing with the default ctags.ini file.
Call label BATCH_SET to select another .ini file. In this case, the filename must be given in text register 40.
Or, you can call ctags.vdm from DOS command line or .BAT file.
c:\vedit\vpw -q -c'Call_File(100,"ctags.vdm","BATCH_AUTO")'
c:\vedit\vpw -q -c'RS(40,"ctag1.ini") Call_File(100,"ctags.vdm","BATCH_SET")'
If the -q option is given, ctags.vdm runs quietly without displaying anything. When done, Vedit is closed.
If the -q option is not given, the filenames are displayed while processing as normally. When done, ctags.vdm dialog box says open displaying the number of items found.
Added online help to ctags.vdm, using Windows HTML Help.
Click [Help] button to display the help window.
The help file ctags.chm is included in the .zip package. It gives help for both CTAGS.VDM and UTAGS.VDM. It must be stored in user-mac directory.
Number of files processed is now shown on status line during processing.
Backup file for TAGS database is now created only when you overwrite TAGS, not when you append to existing TAGS. This way, tags.bak will be the previous full TAGS database.
If cursor is not located on a symbol, utags.vdm now opens a dialog box instead of showing status line message. You then have an option to enter the symbol manually (or paste it from clipboard). This allows you to lookup function or other symbol even if it is not used in current in source file.
I have done some improvements to compatibility with Unix ctags utility.
- Utags.vdm now accepts line number as locating command, as an option to search string.
- Relative path can be used in TAGS (in addition to absolute path).
- Search strings in TAGS are regular expressions, so they may contain quote characters.
If you are using tags file created by other application, you can set configuration option #68 = 1 (near the beginning of utags.vdm), which instructs utags.vdm to remove quote characters from the search string.
I have been testing utags.vdm a bit with tags created with Exuberant Ctags (Windows version) and it seems to work well.
You can use Exuberant Ctags for example to create tags database for languages currently not supported by ctags.vdm.
You can download it free from:
The enclosed ctags22.zip package contains ctags.vdm, utags.vdm and the help file ctags.chm.
The file ctags_help.zip contains the HTML source for the help. HTML Help project and index files can be found in the subdirectory .\help.