- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a couple of questions about syntax colouring in the DevStudio text editor:
1) Why, if I set,
HKEY_CURRENT_USERSoftwareMicrosoftDevStudio6.0Text EditorTabs/Language SettingsFortran
to
f90;f;for;fi;fd;fpp;str;cmn;prm;inc
are *.str etc. files not considered by the IDE to be FORTRAN and coloured appropriately? (If I manually apply a language setting, it is only applied until the file is closed).
2) Why does user defined keyword highlighting through usertype.dat (as described in the docs) not work with FORTRAN?
Dan
1) Why, if I set,
HKEY_CURRENT_USERSoftwareMicrosoftDevStudio6.0Text EditorTabs/Language SettingsFortran
to
f90;f;for;fi;fd;fpp;str;cmn;prm;inc
are *.str etc. files not considered by the IDE to be FORTRAN and coloured appropriately? (If I manually apply a language setting, it is only applied until the file is closed).
2) Why does user defined keyword highlighting through usertype.dat (as described in the docs) not work with FORTRAN?
Dan
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Because Developer Studio ignores that registry setting in this context. There isn't a way around it that I know of.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
(I don't know why this didn't come through as a reply the first time)
Steve - thanks for the response, don't you ever sleep??? :o)
I don't want to sound too pedantic but, if the registry settings are ignored, what are they there for? I can't think of another context where this setting would be useful...
It is only a minor (though continual!) irritation, but is it worth reporting as a 'feature'?
Steve - thanks for the response, don't you ever sleep??? :o)
I don't want to sound too pedantic but, if the registry settings are ignored, what are they there for? I can't think of another context where this setting would be useful...
It is only a minor (though continual!) irritation, but is it worth reporting as a 'feature'?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In CVF, a lot of the logic that determines "what is a Fortran file" is locked inside Microsoft code that we don't have access to. The situation is probably different in the VS.NET IDE, but I don't know offhand.
The registry value is used for some things, but not in whether or not the Fortran colorizer is called.
Steve
The registry value is used for some things, but not in whether or not the Fortran colorizer is called.
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page