PanSevence Posted May 9 Posted May 9 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. SeNioR- 1
PanSevence Posted May 9 Author Posted May 9 (edited) Yes, exactly. Only the latest syntactic elements of languages, for example, constexpr, unique_ptr, auto, type: char8_t etc. Edited May 9 by PanSevence SeNioR- 1
PanSevence Posted May 9 Author Posted May 9 #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.
PanSevence Posted May 9 Author Posted May 9 Do you plan to add a button in code that would allow copying the code? It would be a very useful feature.
Marc Posted May 9 Posted May 9 Im not sure I understand what you mean there, to be honest. I mean, you can already just right click and copy
PanSevence Posted May 9 Author Posted May 9 I mean clicking the button and immediately copying the entire block of code without selecting it. Marc, Goza and DawPi 3
Recommended Posts