Skip to content

* when used as part of a pointer type still is keyword.operator.arightmetic.cpp #684

@alexr00

Description

@alexr00

Checklist

  • This problem exists even with the setting "C_Cpp.enhancedColorization": "Disabled"

If Disabling that^ makes the problem go away, then follow this to make an issue on the C++ extension:
https://github.com/microsoft/vscode-cpptools/issues/new/choose

The code with a problem is:

int main() {
	char* ptr;
}

It looks like:

Image

It should look like:

Ideally, the star would have a non-arithmetic related scope, as it's not used for arithmetic here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions