One project uses the ruby language, which is not supported by sourceinsight by default. The supported methods are as follows:
1. Visit the sourceinsight official website to obtain Ruby language support.
Http://www.sourceinsight.com/public/, download
2. Select Options> preferentces from sourceinsight, find the Lauguage page, and import the downloaded Ruby. CLF file.
3. After the import, double-click the language Attributes dialog box to modify the language attributes:
Function to: def \ W + \ ([A-Za-Z] [A-Za-z0-9 _] * \)
Change class to: Class \ W + \ ([A-Za-Z] [A-Za-z0-9 _] * \)
4. Open the options-> document Options menu. Modify the document type here. Although you just added a language, you need to add the ruby file type:
5. the above steps are complete. Add the project file again and re-Synchronize the symbol.
6. If you have any support for incomplete syntaxes or other issues, follow the steps in step 3 to modify them.
This article is complete.