Skip to content

Commit 3e79c74

Browse files
committed
Update README.md
1 parent 096af75 commit 3e79c74

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ The plugin also provides quick fixes for Dao methods where the required SQL file
3939
- Check the class name and package name for static property calls
4040
![inspectionPackageName.png](images/inspectionPackageName.png)
4141
- Optional types are recognized as their element type (e.g. Optional<String> is treated as String).
42+
- Checks calls to custom functions and error-highlights any methods that aren’t defined in the classes registered via the settings.
4243

4344
## Completion
4445
Adds code completion functionality to support indexing of Doma directives and bind variables
@@ -54,6 +55,7 @@ Adds code completion functionality to support indexing of Doma directives and bi
5455
- Directives such as Condition, Loop, Population are suggested after “%”
5556
- Suggest built-in functions after “@”
5657
- Optional types are recognized as their element type (e.g. Optional<String> is treated as String).
58+
- Suggest functions during code completion from the ExpressionFunctions implementation classes registered in the settings.
5759

5860
## Refactoring
5961
Along with the Dao name change, we will refactor the SQL file directory and file name.
@@ -81,6 +83,7 @@ This feature works in source JARs as well, but in binary JARs, if the DAO method
8183
- The DAO method’s argument parameter definition
8284
- The field and method definitions on that parameter’s type
8385
- The class definition referenced by @ClassName@
86+
- Resolve references for custom functions using the ExpressionFunctions implementation class in which they are defined.
8487
- You can also jump using the **Go To > Declaration Usage** menu.
8588

8689
![reference.png](images/reference.png)
@@ -92,3 +95,6 @@ Some functions of "Doma Tools" can be customized from the settings screen.
9295
- Highlight color settings for SQL elements
9396
![setting_highlight.png](images/setting_highlight.png)
9497
- Customize action shortcut keys
98+
- Toggle the SQL formatting feature on or off
99+
- Specify the class names that define custom functions.
100+
![setting.png](images/setting.png)

images/setting.png

9.54 KB
Loading

0 commit comments

Comments
 (0)