Skip to content

[Bug]: .cu files show nullptr as misspelled #4461

@BenFrantzDale

Description

@BenFrantzDale

Kind of Issue

No response

Tool or Library

No response

Version

No response

Supporting Library

No response

OS

No response

OS Version

No response

Description

I had to add

    "languageSettings": [
        {
            "languageId": "cuda-cpp",
            "locale": "en",
            "dictionaries": ["cpp", "cuda"] //< Without this, `nullptr` was flagged in `.cu` files.
        }
    ]

Steps to Reproduce

  1. Open a .cu file with C++ keywords like nullptr.
  2. Note that nullptr is marked as misspelled.

Expected Behavior

Since CUDA is a superset of C++, it should share keywords.

Additional Information

No response

cspell.json

cspell.config.yaml

Example Repository

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions