From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marta Stojanovic To: sourcenav@sources.redhat.com Subject: source code programming language Date: Mon, 04 Jun 2001 08:58:00 -0000 Message-id: <3B1BB063.B6E9ACF2@nrc.ca> X-SW-Source: 2001-q2/msg00192.html Hi all! Does somebody know if there is a way for a tcl script running on hyper to know of programming language of a source code parsed by SN ? I'd like to know if project database files (created by SN) contain information on the language used. I'm interested in Java and C++, but it should work for others also. The only thing that occured to me is to see if the filename (which is a field in probably all database files) contains .java (.jav, .JAVA) or other. I know that we can change the extension for every language in File-Preferences, but I don't know whether we can access these preferences easily (from a tcl script). Probably there is some other way, I'd greatly appreciate your help. Thanks. Kind regards, Marta.