{"action":"opened","issue":{"url":"https://api.github.com/repos/devtools-html/debugger.html/issues/1101","repository_url":"https://api.github.com/repos/devtools-html/debugger.html","labels_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/1101/labels{/name}","comments_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/1101/comments","events_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/1101/events","html_url":"https://github.com/devtools-html/debugger.html/issues/1101","id":187332354,"number":1101,"title":"[File Search] whitespace queries","user":{"login":"jasonLaster","id":254562,"avatar_url":"https://avatars.githubusercontent.com/u/254562?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonLaster","html_url":"https://github.com/jasonLaster","followers_url":"https://api.github.com/users/jasonLaster/followers","following_url":"https://api.github.com/users/jasonLaster/following{/other_user}","gists_url":"https://api.github.com/users/jasonLaster/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonLaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonLaster/subscriptions","organizations_url":"https://api.github.com/users/jasonLaster/orgs","repos_url":"https://api.github.com/users/jasonLaster/repos","events_url":"https://api.github.com/users/jasonLaster/events{/privacy}","received_events_url":"https://api.github.com/users/jasonLaster/received_events","type":"User","site_admin":false},"labels":[{"id":408866068,"url":"https://api.github.com/repos/devtools-html/debugger.html/labels/difficulty:%20easy","name":"difficulty: easy","color":"0e8a16","default":false},{"id":408845805,"url":"https://api.github.com/repos/devtools-html/debugger.html/labels/up%20for%20grabs","name":"up for grabs","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-04T13:25:08Z","updated_at":"2016-11-04T13:25:08Z","closed_at":null,"body":"We recently added a really great codemirror improvement for highlighting search queries. While\r\nplaying with it I noticed that we highlight empty and whitespace queries. I can see how this is *good* behavior for an editor where selecting and changing whitespace makes sense, but in our case I think it might be a bit disruptive as you're only really searching for a place to add a breakpoint or get some context. \r\n\r\nWith that in mind, I think we should likely bail early and not show matches for empty strings or whitespace strings.\r\n\r\n@bomsy, @jlongster, @helenvholmes, @clarkbw, @Zacqary thoughts?\r\n\r\n#### matches\r\n![](http://g.recordit.co/aAtlDH8rIG.gif)\r\n\r\n#### empty\r\n![screen shot 2016-11-04 at 9 22 22 am](https://cloud.githubusercontent.com/assets/254562/20006856/e0b74028-a26f-11e6-9773-912978fef6a8.png)\r\n\r\n### whitespace\r\n![screen shot 2016-11-04 at 9 22 15 am](https://cloud.githubusercontent.com/assets/254562/20006857/e0ba2a68-a26f-11e6-96e4-007c9dd1ad07.png)\r\n"}}
{"actor":{"display_login":"jasonLaster"}}