Jump to content

Code syntax highlighting in Invision Community 5 support for latest language standards?


Go to solution Solved by Marc,

Recommended Posts

Posted

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.

Posted
#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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...