Hello,
While trying out some C++ code within uVision, I have noticed that the autocomplete/intellisense does not work for template types.
Are there any plans to improve the autocomplete/intellisense in uVision such that it works also for C++ template types?
Can you please try this with MDK 5.38a to see, if it works there?
I do not currently have any MDK 5.38a installation to test with.I had to upgrade to fix other weirdnesses.
Ok, can you then share your example project so we can try this if you are not able to? Installing MDK5.38a should be simple, just use a different folder to install it.
I will see about setting up something soon for testing, or provide an example project.
After trying to set up an example project, I discovered that the intellisense is even quirkier than I thought...The current example is made with ARMCM4 device for as simple project as possible.
Very short and simple example.A header file containing only the code
template<auto N> class A1{ public: void B(void) {}};class A2{ public: void B(void) {}};
template<auto N> class A1
{
public:
void B(void) {}
};
class A2
And project configured to use gnu++17 for C++
A warning about "'auto' type specifier is incompatible with C++98" and another about incompatibility before C++17...Despite project settings clearly indicating to use gnu++17 (setting c++17 in the settings have same effect)
Adding
#include "ARMCM4.h" to the header... and the intellisense warnings disappear.
And it seems as if what I originally asked about is not occurring now in this example...If I try the same in the project that I tested with originally, the original issue is not resolved yet.I have not yet tried on MDK 5.38a, but with this I have additional things that need looking at before I can draw any conclusions.