-
Notifications
You must be signed in to change notification settings - Fork 753
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42800 from KavinduZoysa/fix-issue-42309
Support Document this CA for module-type-def
- Loading branch information
Showing
23 changed files
with
643 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
...er-core/src/test/resources/codeaction/add-documentation/config/singleDocGeneration13.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"position": { | ||
"line": 97, | ||
"character": 8 | ||
}, | ||
"source": "singleDocGeneration.bal", | ||
"expected": [ | ||
{ | ||
"title": "Document this", | ||
"command": { | ||
"title": "Document this", | ||
"command": "ADD_DOC", | ||
"arguments": [ | ||
{ | ||
"key": "node.range", | ||
"value": { | ||
"start": { | ||
"line": 97, | ||
"character": 0 | ||
}, | ||
"end": { | ||
"line": 97, | ||
"character": 22 | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"resolvable": false | ||
} | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
...er-core/src/test/resources/codeaction/add-documentation/config/singleDocGeneration14.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"position": { | ||
"line": 99, | ||
"character": 8 | ||
}, | ||
"source": "singleDocGeneration.bal", | ||
"expected": [ | ||
{ | ||
"title": "Document this", | ||
"command": { | ||
"title": "Document this", | ||
"command": "ADD_DOC", | ||
"arguments": [ | ||
{ | ||
"key": "node.range", | ||
"value": { | ||
"start": { | ||
"line": 99, | ||
"character": 0 | ||
}, | ||
"end": { | ||
"line": 99, | ||
"character": 21 | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"resolvable": false | ||
} | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
...er-core/src/test/resources/codeaction/add-documentation/config/singleDocGeneration15.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"position": { | ||
"line": 101, | ||
"character": 8 | ||
}, | ||
"source": "singleDocGeneration.bal", | ||
"expected": [ | ||
{ | ||
"title": "Document this", | ||
"command": { | ||
"title": "Document this", | ||
"command": "ADD_DOC", | ||
"arguments": [ | ||
{ | ||
"key": "node.range", | ||
"value": { | ||
"start": { | ||
"line": 101, | ||
"character": 0 | ||
}, | ||
"end": { | ||
"line": 101, | ||
"character": 33 | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"resolvable": false | ||
} | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
...er-core/src/test/resources/codeaction/add-documentation/config/singleDocGeneration16.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"position": { | ||
"line": 103, | ||
"character": 7 | ||
}, | ||
"source": "singleDocGeneration.bal", | ||
"expected": [ | ||
{ | ||
"title": "Document this", | ||
"command": { | ||
"title": "Document this", | ||
"command": "ADD_DOC", | ||
"arguments": [ | ||
{ | ||
"key": "node.range", | ||
"value": { | ||
"start": { | ||
"line": 103, | ||
"character": 0 | ||
}, | ||
"end": { | ||
"line": 103, | ||
"character": 12 | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"resolvable": false | ||
} | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
...er-core/src/test/resources/codeaction/add-documentation/config/singleDocGeneration17.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"position": { | ||
"line": 105, | ||
"character": 7 | ||
}, | ||
"source": "singleDocGeneration.bal", | ||
"expected": [ | ||
{ | ||
"title": "Document this", | ||
"command": { | ||
"title": "Document this", | ||
"command": "ADD_DOC", | ||
"arguments": [ | ||
{ | ||
"key": "node.range", | ||
"value": { | ||
"start": { | ||
"line": 105, | ||
"character": 0 | ||
}, | ||
"end": { | ||
"line": 105, | ||
"character": 20 | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"resolvable": false | ||
} | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
...er-core/src/test/resources/codeaction/add-documentation/config/singleDocGeneration18.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"position": { | ||
"line": 107, | ||
"character": 6 | ||
}, | ||
"source": "singleDocGeneration.bal", | ||
"expected": [ | ||
{ | ||
"title": "Document this", | ||
"command": { | ||
"title": "Document this", | ||
"command": "ADD_DOC", | ||
"arguments": [ | ||
{ | ||
"key": "node.range", | ||
"value": { | ||
"start": { | ||
"line": 107, | ||
"character": 0 | ||
}, | ||
"end": { | ||
"line": 107, | ||
"character": 23 | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"resolvable": false | ||
} | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
...er-core/src/test/resources/codeaction/add-documentation/config/singleDocGeneration19.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"position": { | ||
"line": 109, | ||
"character": 10 | ||
}, | ||
"source": "singleDocGeneration.bal", | ||
"expected": [ | ||
{ | ||
"title": "Document this", | ||
"command": { | ||
"title": "Document this", | ||
"command": "ADD_DOC", | ||
"arguments": [ | ||
{ | ||
"key": "node.range", | ||
"value": { | ||
"start": { | ||
"line": 109, | ||
"character": 0 | ||
}, | ||
"end": { | ||
"line": 109, | ||
"character": 32 | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"resolvable": false | ||
} | ||
] | ||
} |
Oops, something went wrong.