Hi,

> in order to customize editor for stl files with suffix, could you please
> tell me how to add suffix txx into c++ suffix through
> tools->options->c++->file naming conventions, or other methods?
> 
> Thank you very much for your kind help.
The attached patch should make Creator recognize the suffix as C++ source. What 
platform/compiler/STL implementation is that?

Regards,
Friedemann
-- 
Friedemann Kleint
Nokia, Qt Development Frameworks
diff --git a/src/plugins/cppeditor/CppEditor.mimetypes.xml b/src/plugins/cppeditor/CppEditor.mimetypes.xml
index c742f11..fa22dae 100644
--- a/src/plugins/cppeditor/CppEditor.mimetypes.xml
+++ b/src/plugins/cppeditor/CppEditor.mimetypes.xml
@@ -43,6 +43,7 @@
         <glob pattern="*.cp"/>
         <glob pattern="*.cc"/>
         <glob pattern="*.cxx"/>
+        <glob pattern="*.txx"/>
         <glob pattern="*.c++"/>
         <glob pattern="*.C"/>
         <glob pattern="*.inl"/>
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to