Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![openupm](https://img.shields.io/npm/v/com.nowsprinting.create-script-folders-with-tests?label=openupm&registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.nowsprinting.create-script-folders-with-tests/)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/nowsprinting/create-script-folders-with-tests)

This Unity editor extension creates script folders (Editor, Runtime, and each Tests) containing assembly definition files (.asmdef).
A Unity editor extension that creates script folders (Editor, Runtime, and Tests) and adds an Assembly Definition File (.asmdef) to each.


## Features
Expand All @@ -16,7 +16,7 @@ The root folder (e.g., named **YourFeature**) and all folders below it will be c

### Creating folders and asmdefs

#### Using under Assets folder
#### When used under the Assets folder

```
Assets
Expand All @@ -33,7 +33,7 @@ Assets
   └── YourFeature.Tests.asmdef
```

#### Using under Packages folder
#### When used under the Packages folder

```
Packages
Expand Down Expand Up @@ -77,9 +77,9 @@ Packages
> Because to update DotSettings files (see below).


### Assembly Definition References in asmdefs
### Set Assembly Definition References in asmdefs

**Assembly Definition References** in each asmdef are set as follows:
Set the **Assembly Definition References** in each asmdef as follows:

```mermaid
graph RL
Expand All @@ -92,13 +92,13 @@ graph RL
```


### Creating AssemblyInfo.cs files for friend assemblies
### Creates AssemblyInfo.cs files for friend assemblies

Creates an AssemblyInfo.cs file for each assembly to mark **Assembly Definition References** as [Friend assemblies](https://learn.microsoft.com/en-us/dotnet/standard/assembly/friend).
This allows access to `internal` types and members.


### Creating DotSettings files
### Creates DotSettings files

Creates .csproj.DotSettings file for each assembly.
This file is set up to make the [Namespace does not correspond to file location](https://www.jetbrains.com/help/rider/CheckNamespace.html) inspection work as expected in JetBrains Rider.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.nowsprinting.create-script-folders-with-tests",
"description": "Create script folders (Editor, Runtime, and each Tests) containing assembly definition file (.asmdef).",
"description": "Creates script folders (Editor, Runtime, and Tests) and adds an Assembly Definition File (.asmdef) to each",
"version": "1.3.0",
"author": "Koji Hasegawa <[email protected]> (https://github.com/nowsprinting)",
"changelogUrl": "https://github.com/nowsprinting/create-script-folders-with-tests/releases",
Expand Down