dietuf.blogg.se

Visual assist visual studio 2010
Visual assist visual studio 2010









visual assist visual studio 2010

But when you do a refactoring like, say, "rename class", and it fails to correctly determine that the class is referenced at some line of code, and doesn't rename it there, then your program no longer compiles. And there's the catch - when it guesses wrong, at worst, you get a wrong code completion list, or no list at all. You can say that it does it for code completion, but the truth is that a lot of it is guessing and heuristics. I once wrote a C++ program, for fun, which had in it a piece of code as described above, which was parsed and compiled either as expression or as variable declaration depending on whether char type was signed or unsigned was for a given compiler - so you could play with compiler options and get different results.

visual assist visual studio 2010

Heck, something like ac can be parsed either as expression (a c, or as a variable declaration a c, depending on the context - and that context, again, includes template instantiations, which form a Turing-complete language that has to be interpreted correctly to produce matching results. I do not know of any C++ IDE or plugin that would provide working C++ refactoring, for very simple reason - it is extremely hard to properly parse C++, taking into account all templates and template specializations, and other context-dependent things.











Visual assist visual studio 2010