Skip to content

Commit

Permalink
refactor(docs): update package names in quick-start.md
Browse files Browse the repository at this point in the history
Update package names in quick-start.md for consistency.

- Change package name from cc.unitmesh.untitled.demo to com.phodal.shire.demo
- Refactor method name from calculateInsurance to calculateInsuranceTax
  • Loading branch information
phodal committed Jun 4, 2024
1 parent 58ca858 commit 0f52752
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,22 +79,22 @@ PS: current only support for TestFile, since UnitTest is the best way to run cod
Get child elements by symbol, like get Class by package name.

```shire
/symbol:cc.unitmesh.untitled.demo
/symbol:com.phodal.shire.demo
```

The output will be:

```java
cc.unitmesh.untitled.demo.MathHelper
cc.unitmesh.untitled.demo.DemoApplication
cc.unitmesh.untitled.demo.MathHelperTest
cc.unitmesh.untitled.demo.DemoApplicationTests
com.phodal.shire.demo.MathHelper
com.phodal.shire.demo.DemoApplication
com.phodal.shire.demo.MathHelperTest
com.phodal.shire.demo.DemoApplicationTests
```

Get method will return code:

```shire
/symbol:cc.unitmesh.untitled.demo.MathHelper.calculateInsurance
/symbol:com.phodal.shire.demo.MathHelper.calculateInsurance
```

The output will be:
Expand Down Expand Up @@ -124,7 +124,7 @@ It will be text inside the body from web page.
Refactor code:

```shire
/refactor:rename /symbol:cc.unitmesh.untitled.demo.MathHelper.calculateInsurance to calculateInsuranceTax
/refactor:rename /symbol:com.phodal.shire.demo.MathHelper.calculateInsurance to calculateInsuranceTax
```

It will be handled in local.

0 comments on commit 0f52752

Please sign in to comment.