Skip to content

If the guid name is prefixed with "guid" in vsct, generate the member without this prefix. #3

@mz71

Description

@mz71

In .vsct file, I want to have symbols definitions like
<GuidSymbol name="guidPackage" value="{ccdd69f7-c2ab-4f78-8332-f6e3620ec3ec}" />
I could name it just "Package" instead of "guidPackage", but it works weird with Intellisense. I get "Package" in suggestions and I don't know that it means from the top of my head. So I would want my prefixes.

But when using guids from generated .cs files, I do PackageGuids.guidPackageString. It could be PackageGuids.PackageString without any issue, because of "Guids" in the class name.

So my idea is to delete the prefix "guid" when generating the .cs file. Is this a good idea? Maybe the choice about this could be added in options?

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