[Insight-users] .txx intelligence and autocompletion in VS2010

Dženan Zukić dzenanz at gmail.com
Wed Jan 8 04:06:26 EST 2014


Is your .txx file in the list of VS'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.


On Wed, Jan 8, 2014 at 8:25 AM, tao sun <colddiesun at gmail.com> wrote:

> Hi,
>
>
> I know it seems not a relevant question to ITK. But I appreciate if anyone
> has the experience to help me out.
>
> 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:
>
>     addFilter->Update(); // No hint when I type add, also when call the member
>
> This is OK in .cxx file. Does anyone know what's happening?
>
>
> Julio
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20140108/46eef309/attachment.htm>


More information about the Insight-users mailing list