Associating File Names Without Extensions

Some files in your project may not have any file extension. For instance, the standard C++ header files, such as "complex" do not have file extensions. This situation makes it difficult to use wildcard specifications to associate a file with a file type. For that reason, Source Insight uses a special file named filealias.txt to create file name aliases for the purpose determining the file's file type.

The filealias.txt file is stored in your Source Insight program directory. You can edit this file. By default, it con­tains the names of the standard C++ header files.

The format of filealias.txt is as follows:

oldfilename=newfilename

This maps oldfilename to newfilename before determining the file's file type. For example:

algorithm=algorithm.h

When Source Insight sees the file algorithm, it uses the alias algorithm.h when determining the file type of the file.