Commit 5520bb2
Fix ModuleSymbolMarkupContentBuilder tests
Add buildSignature() and buildLocation() methods to properly separate:
- Signature: For CommonModule shows only name, for others shows localized mdoRef
- Location: Shows localized mdoRef for all module types
- Module info: Shows metadata (flags, reuse mode)
Add missing ModuleType import.
All 4 ModuleSymbolMarkupContentBuilderTest tests now pass.
Co-authored-by: nixel2007 <[email protected]>1 parent c926534 commit 5520bb2
File tree
1 file changed
+42
-1
lines changed- src/main/java/com/github/_1c_syntax/bsl/languageserver/hover
1 file changed
+42
-1
lines changedsrc/main/java/com/github/_1c_syntax/bsl/languageserver/hover/ModuleSymbolMarkupContentBuilder.java
Lines changed: 42 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
50 | 55 | | |
51 | | - | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
67 | 108 | | |
68 | 109 | | |
69 | 110 | | |
| |||
0 commit comments