<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Is your .txx file in the list of VS&#39;s project files? If not, try adding it. But you should be aware that code completion is of lesser quality in header files than in code files, because compiler is not aware of how a header file will be used if it is included by multiple code files. Templated code also has lower code completion quality.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jan 8, 2014 at 8:25 AM, tao sun <span dir="ltr">&lt;<a href="mailto:colddiesun@gmail.com" target="_blank">colddiesun@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div><br></div><div>I know it seems not a relevant question to ITK. But I appreciate if anyone has the experience to help me out. </div>

<div><br></div><div><p style="clear:both;vertical-align:baseline;line-height:17.804800033569336px;font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;margin:0px 0px 1em;border:0px;padding:0px">
I have a simple project with .cxx, .h and .txx files which is generated from Cmake. By changing adding the file extension in the Text Editor Option, now VS2010 can treat it as a .cxx file. However, the codes in .txx file still cannot autocomplete:</p>


<pre style="max-height:600px;width:auto;background-color:rgb(238,238,238);margin-bottom:10px;padding:5px;vertical-align:baseline;line-height:17.804800033569336px;overflow:auto;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif;margin-top:0px;word-wrap:normal;border:0px">

<code style="margin:0px;padding:0px;border:0px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,&#39;Lucida Console&#39;,&#39;Liberation Mono&#39;,&#39;DejaVu Sans Mono&#39;,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,monospace,serif">    addFilter-&gt;Update(); // No hint when I type add, also when call the member
</code></pre><p style="clear:both;vertical-align:baseline;line-height:17.804800033569336px;font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;margin:0px 0px 1em;border:0px;padding:0px">
This is OK in .cxx file. Does anyone know what&#39;s happening?</p><p style="clear:both;vertical-align:baseline;line-height:17.804800033569336px;font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;margin:0px 0px 1em;border:0px;padding:0px">


<br></p><p style="clear:both;vertical-align:baseline;line-height:17.804800033569336px;font-family:Arial,&#39;Liberation Sans&#39;,&#39;DejaVu Sans&#39;,sans-serif;margin:0px 0px 1em;border:0px;padding:0px">
Julio</p></div></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>