-
-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4b48cc0
commit 180302f
Showing
2 changed files
with
18 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
{"message":"suggestion test","location":{"path":"_testdata/suggestions.txt","range":{"start":{"line":3}}}, "suggestions": [{"range":{"start":{"line":3}},"text": "func Suggestions() {"}]} | ||
{"message":"multiline suggestion test","location":{"path":"_testdata/suggestions.txt","range":{"start":{"line":3},"end":{"line":4}}}, "suggestions": [{"range":{"start":{"line":3},"end":{"line":4}}, "text": "func Suggestions() {\n// Multiline suggestion!\n} // end of suggestion func"}]} | ||
{"message":"range suggestion test (replace)","location":{"path":"_testdata/suggestions.txt","range":{"start":{"line":6,"column":5},"end":{"line":6,"column":7}}}, "suggestions": [{"range":{"start":{"line":6,"column":5},"end":{"line":6,"column":7}}, "text": "14"}]} | ||
{"message":"range suggestion test (insert)","location":{"path":"_testdata/suggestions.txt","range":{"start":{"line":7,"column":5},"end":{"line":7,"column":5}}}, "suggestions": [{"range":{"start":{"line":7,"column":5},"end":{"line":7,"column":5}}, "text": "14"}]} | ||
{"message":"range suggestion test (remove)","location":{"path":"_testdata/suggestions.txt","range":{"start":{"line":8,"column":5},"end":{"line":8,"column":7}}}, "suggestions": [{"range":{"start":{"line":8,"column":5},"end":{"line":8,"column":7}}, "text": ""}]} | ||
{"message":"range suggestion test (remove line-break)","location":{"path":"_testdata/suggestions.txt","range":{"start":{"line":10,"column":5},"end":{"line":11,"column":1}}}, "suggestions": [{"range":{"start":{"line":10,"column":5},"end":{"line":11,"column":1}}, "text": ""}]} | ||
{"message":"suggestion test (remove line)","location":{"path":"_testdata/suggestions.txt","range":{"start":{"line":13}}}, "suggestions": [{"range":{"start":{"line":13}}, "text": ""}]} | ||
{"message":"suggestion test (insert line)","location":{"path":"_testdata/suggestions.txt","range":{"start":{"line":16,"column":1}}}, "suggestions": [{"range":{"start":{"line":16,"column":1}}, "text": "inserted line 1\ninserted line 2\n"}]} |
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