Xcode 11 - выделение цветом переменной в печатном тексте (C язык) - PullRequest
1 голос
/ 08 марта 2020

Есть ли способ выделить размещение переменной в печатном тексте? Я не могу найти какую-либо подсветку синтаксиса в Xcode 11.

#include <stdio.h>
#include <math.h>

void volume_of_cylinder(void) {
    printf("Please enter the radius of the cylinder:\n");

    double radius;
    scanf("%lf", &radius);

    printf("Please enter the height of the cylinder:\n");

    double height;
    scanf("%lf", &height);

    double volume;
    volume = M_PI*height*(radius*radius);

    printf("A radius of %.4lf and a height of %.4lf correspond to a volume of %.4lf.\n", radius, height, volume);
}

int main(void) {
    volume_of_cylinder();
    return 0;
}

Например, в этом простом коде я хотел бы выделить цветом "%.4lf" в последней функции printf.

Спасибо

...