| 106 | = Default Namespaces = |
| 107 | |
| 108 | The Cobra language has [wiki:Namespace namespaces] which are either declared in code: |
| 109 | {{{ |
| 110 | #!cobra |
| 111 | namespace MyCompany.MyProject.Lib |
| 112 | |
| 113 | class Thing |
| 114 | |
| 115 | pass |
| 116 | }}} |
| 117 | |
| 118 | Or specified on the command line: |
| 119 | {{{ |
| 120 | cobra -default-namespace:MyCompany.MyProject.Lib ... |
| 121 | }}} |
| 122 | |
| 123 | In the IDE, you can right click the project and choose "Options" > "General" > "Main Settings" and see a field for "Default Namespace". New projects in Xamarin Studio have this configured to match the project name. You can change it or clear it out as you prefer. |
| 124 | |
| 125 | |