{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/60608","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/60608/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/60608/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/60608/events","html_url":"https://github.com/Microsoft/vscode/issues/60608","id":369003303,"node_id":"MDU6SXNzdWUzNjkwMDMzMDM=","number":60608,"title":"Display X number of preceeding and following lines in search results","user":{"login":"janez-svetin","id":7753805,"node_id":"MDQ6VXNlcjc3NTM4MDU=","avatar_url":"https://avatars2.githubusercontent.com/u/7753805?v=4","gravatar_id":"","url":"https://api.github.com/users/janez-svetin","html_url":"https://github.com/janez-svetin","followers_url":"https://api.github.com/users/janez-svetin/followers","following_url":"https://api.github.com/users/janez-svetin/following{/other_user}","gists_url":"https://api.github.com/users/janez-svetin/gists{/gist_id}","starred_url":"https://api.github.com/users/janez-svetin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janez-svetin/subscriptions","organizations_url":"https://api.github.com/users/janez-svetin/orgs","repos_url":"https://api.github.com/users/janez-svetin/repos","events_url":"https://api.github.com/users/janez-svetin/events{/privacy}","received_events_url":"https://api.github.com/users/janez-svetin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-11T08:16:41Z","updated_at":"2018-10-11T08:16:45Z","closed_at":null,"author_association":"NONE","body":"Hi! Currently, in search results (either in sidebar or panel) you can see only the line that contains the search keyword. \r\n\r\n<img width=\"1605\" alt=\"screen shot 2018-10-11 at 10 05 38\" src=\"https://user-images.githubusercontent.com/7753805/46789658-4474bb00-cd3d-11e8-9c4b-ef7a0b08fa9d.png\">\r\n\r\nA cool feature to have would be to view additional lines in search results that come before and after that line. So, if you would have a setting to view additional 1 line, each search result would display 3 lines (one more before search result, one more after). In that way you can easily have more context when searching and find exact match faster. Sublime IDE have this and I find it very useful and missing it in vscode.\r\n\r\n<img width=\"1605\" alt=\"screen shot 2018-10-11 at 10 05 38\" src=\"https://i.stack.imgur.com/VAlkA.jpg\">\r\n\r\nAlternative to setting how many lines you would want to see is that vscode handles that automatically (as is the case with Sublime, see above).\r\n\r\n Thanks! \r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/428863529","html_url":"https://github.com/Microsoft/vscode/issues/60608#issuecomment-428863529","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/60608","id":428863529,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODg2MzUyOQ==","user":{"login":"vscodebot[bot]","id":28792856,"node_id":"MDM6Qm90Mjg3OTI4NTY=","avatar_url":"https://avatars2.githubusercontent.com/in/2406?v=4","gravatar_id":"","url":"https://api.github.com/users/vscodebot%5Bbot%5D","html_url":"https://github.com/apps/vscodebot","followers_url":"https://api.github.com/users/vscodebot%5Bbot%5D/followers","following_url":"https://api.github.com/users/vscodebot%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/vscodebot%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/vscodebot%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vscodebot%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/vscodebot%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/vscodebot%5Bbot%5D/repos","events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/vscodebot%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-10-11T08:16:45Z","updated_at":"2018-10-11T08:16:45Z","author_association":"NONE","body":"(Experimental duplicate detection)\nThanks for submitting this issue. Please also check if it is already covered by an existing one, like:\n- [Show full line in search results (#59310)](https://www.github.com/Microsoft/vscode/issues/59310) <!-- score: 0.495 -->\n- [Visual Studion code does not keep the old search results in the search pane or provide a drop down list of previous search phrases. (#12184)](https://www.github.com/Microsoft/vscode/issues/12184) <!-- score: 0.484 -->\n<!-- potential_duplicates_comment -->"}}
{"actor":{"display_login":"vscodebot"}}