Skip to content

Commit 329df87

Browse files
committed
Update README to clarify handling of Optional types in code completion
1 parent 32b2eea commit 329df87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ The plugin also provides quick fixes for Dao methods where the required SQL file
3838
![inspection.png](images/inspection.png)
3939
- Check the class name and package name for static property calls
4040
![inspectionPackageName.png](images/inspectionPackageName.png)
41+
- Optional types are recognized as their element type (e.g. Optional<String> is treated as String).
4142

4243
## Completion
4344
Adds code completion functionality to support indexing of Doma directives and bind variables
@@ -52,6 +53,7 @@ Adds code completion functionality to support indexing of Doma directives and bi
5253
- Suggest Doma directives
5354
- Directives such as Condition, Loop, Population are suggested after “%”
5455
- Suggest built-in functions after “@”
56+
- Optional types are recognized as their element type (e.g. Optional<String> is treated as String).
5557

5658
## Refactoring
5759
Along with the Dao name change, we will refactor the SQL file directory and file name.

0 commit comments

Comments
 (0)