Commit 641f985
committed
refactor(compiler): adjust overlap and text length validation #257
- Change `OVERLAP` from 5 to 4 for better context handling.
- Update text length validation to require more than 4 characters.
- Use `OVERLAP` constant in `search` method for consistency.
- Improve command documentation format in `DevInsDocumentationProvider`.1 parent 02f4293 commit 641f985
File tree
2 files changed
+4
-4
lines changed- exts/devins-lang/src/main/kotlin/cc/unitmesh/devti/language
- compiler/exec
- documentation
2 files changed
+4
-4
lines changedexts/devins-lang/src/main/kotlin/cc/unitmesh/devti/language/compiler/exec/LocalSearchInsCommand.kt
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
0 commit comments