How to create a C# naming rule for namespaces with prefix ?

Hello,

i try to create a custom C# naming rule that is enforcing a prefix at the beginning of every namespace name.

Example:
PREFIX.Tools

However, i cannot get it to work. What combination of "acces rights" "static / non-static" selection do i have to use ?
Please see attatched screenshot for clarification

Holger

Nachricht geändert durch Holger Seitz, changed headline



Attachment(s):
NamespaceNamingRule.png
1 comment

Hello Holger,

The highlighting of naming style violations doesn't work for namespaces because
it can potentially conflict with 'Namespace doesn't correspond to file location'
highlighting. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hello,

i try to create a custom C# naming rule that is enforcing a prefix at
the beginning of every namespace name.

Example:
PREFIX.Tools
However, i cannot get it to work. What combination of "acces rights"
"static / non-static" selection do i have to use ?

Please see attatched screenshot for clarification

Holger

---
Original message URL:
http://devnet.jetbrains.net/message/5298178#5298178



0

Please sign in to leave a comment.