This is the mail archive of the
sourcenav@sources.redhat.com
mailing list for the Source Navigator.
source code programming language
- To: sourcenav at sources dot redhat dot com
- Subject: source code programming language
- From: Marta Stojanovic <marta dot stojanovic at nrc dot ca>
- Date: Mon, 04 Jun 2001 11:59:31 -0400
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.