Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 9, 20241 yr Community Expert I'm curious to know if the upcoming Invision Community 5 will include enhanced features in its editor, specifically regarding syntax highlighting. Will there be support for the latest standards across various programming languages, such as C++20 for C++ and similar updates for other languages? Looking forward to any insights or updates on this functionality.
May 9, 20241 yr Author Community Expert Yes, exactly. Only the latest syntactic elements of languages, for example, constexpr, unique_ptr, auto, type: char8_t etc. Edited May 9, 20241 yr by PanSevence
May 9, 20241 yr Author Community Expert #include <iostream> #include <memory> #include <cstdint> struct Test { int32_t value; constexpr Test(int32_t v) : value(v) {} }; constexpr int32_t computeValue(const Test& t) { return t.value * t.value; } int main() { auto ptr = std::make_unique<Test>(10); int32_t computedValue = computeValue(*ptr); std::cout << "Computed value: " << computedValue << std::endl; return 0; } Yes, for example, highlighting for standard library keywords like `make_unique`, `int32_t`, etc.
May 9, 20241 yr Author Community Expert Do you plan to add a button in code that would allow copying the code? It would be a very useful feature.
May 9, 20241 yr Community Expert Im not sure I understand what you mean there, to be honest. I mean, you can already just right click and copy
May 9, 20241 yr Author Community Expert I mean clicking the button and immediately copying the entire block of code without selecting it.