Skip to content
This repository has been archived by the owner on Sep 24, 2018. It is now read-only.

Feature auto capitalize namespace tokens #34

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gr0l
Copy link

@gr0l gr0l commented Dec 17, 2017

Hi,
Thanks for the plugin. I started to use this plugin. But in my projects the folders are not case sensitive. So
I added a capitalization of the namespace tokens for projects that use lower case folders and fixed a little bug in the namespace generation.

See the details in the CHANGELOG.md.

Kind regards
Oliver

gr0l added 2 commits December 17, 2017 23:34
Added support for capitalized namespaces.
Fixed bug in namespace generation when project root is equal to a namespace token.
Change filename presets on file creation to case sensitive.
@jchannon
Copy link
Owner

👍 looks good, will try and find time to give it a proper look

The csproj-file is read for compilation folders which will be removed from the resulting namespace.
@gr0l
Copy link
Author

gr0l commented Jan 19, 2018

Hi,
I also added support for compilation folder configured in csproj-file of a project.
If the project file contains the following configuration:

 <ItemGroup>
    <Compile Include="src/**/*.cs" />
    <EmbeddedResource Include="resources/**/*" />
  </ItemGroup>

The folder "src" will also be stripped out from the generated namespace.

Kind regards
Oliver

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants