{"action":"created","comment":{"url":"https://api.github.com/repos/eclipse/che/pulls/comments/169096969","pull_request_review_id":97568111,"id":169096969,"diff_hunk":"@@ -35,6 +35,10 @@ public static String removeUriScheme(String uri) {\n     return uri.startsWith(FILE_PROJECTS) ? uri.substring(\"file://\".length()) : uri;\n   }\n \n+  public static String removeFilePrefix(String uri) {\n+    return uri.startsWith(\"file:/projects\") ? uri.substring(\"file:/projects\".length()) : uri;","path":"wsagent/che-core-api-languageserver/src/main/java/org/eclipse/che/api/languageserver/service/LanguageServiceUtils.java","position":5,"original_position":5,"commit_id":"85bb7c447c6fb908d6581d021ee8fbaddf1946a4","original_commit_id":"85bb7c447c6fb908d6581d021ee8fbaddf1946a4","user":{"login":"JPinkney","id":8839537,"avatar_url":"https://avatars1.githubusercontent.com/u/8839537?v=4","gravatar_id":"","url":"https://api.github.com/users/JPinkney","html_url":"https://github.com/JPinkney","followers_url":"https://api.github.com/users/JPinkney/followers","following_url":"https://api.github.com/users/JPinkney/following{/other_user}","gists_url":"https://api.github.com/users/JPinkney/gists{/gist_id}","starred_url":"https://api.github.com/users/JPinkney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPinkney/subscriptions","organizations_url":"https://api.github.com/users/JPinkney/orgs","repos_url":"https://api.github.com/users/JPinkney/repos","events_url":"https://api.github.com/users/JPinkney/events{/privacy}","received_events_url":"https://api.github.com/users/JPinkney/received_events","type":"User","site_admin":false},"body":"It is from the workspace symbols when the file is in your project e.g. \"file:/projects/test/src/main/java/tester.java\" ","created_at":"2018-02-19T14:51:41Z","updated_at":"2018-02-19T14:51:42Z","html_url":"https://github.com/eclipse/che/pull/8827#discussion_r169096969","pull_request_url":"https://api.github.com/repos/eclipse/che/pulls/8827","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments/169096969"},"html":{"href":"https://github.com/eclipse/che/pull/8827#discussion_r169096969"},"pull_request":{"href":"https://api.github.com/repos/eclipse/che/pulls/8827"}},"in_reply_to_id":169003511},"pull_request":{"url":"https://api.github.com/repos/eclipse/che/pulls/8827","id":169886668,"html_url":"https://github.com/eclipse/che/pull/8827","diff_url":"https://github.com/eclipse/che/pull/8827.diff","patch_url":"https://github.com/eclipse/che/pull/8827.patch","issue_url":"https://api.github.com/repos/eclipse/che/issues/8827","number":8827,"state":"open","locked":false,"title":"Fix for workspace symbols not opening the file","user":{"login":"JPinkney","id":8839537,"avatar_url":"https://avatars1.githubusercontent.com/u/8839537?v=4","gravatar_id":"","url":"https://api.github.com/users/JPinkney","html_url":"https://github.com/JPinkney","followers_url":"https://api.github.com/users/JPinkney/followers","following_url":"https://api.github.com/users/JPinkney/following{/other_user}","gists_url":"https://api.github.com/users/JPinkney/gists{/gist_id}","starred_url":"https://api.github.com/users/JPinkney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPinkney/subscriptions","organizations_url":"https://api.github.com/users/JPinkney/orgs","repos_url":"https://api.github.com/users/JPinkney/repos","events_url":"https://api.github.com/users/JPinkney/events{/privacy}","received_events_url":"https://api.github.com/users/JPinkney/received_events","type":"User","site_admin":false},"body":"Signed-off-by: jpinkney <josh.pinkney@mail.utoronto.ca>\r\n\r\n<!-- Please review the following before submitting a PR:\r\nChe's Contributing Guide: https://github.com/eclipse/che/blob/master/CONTRIBUTING.md\r\nPull Request Policy: https://github.com/eclipse/che/wiki/Development-Workflow#pull-requests\r\n\r\nCOMMITTERS: please include labels on each PR. Labels are listed here: https://github.com/eclipse/che/wiki/Labels but at a minimum you should include `kind/..` and `Dev Open Pull Request Status` labels.\r\n-->\r\n\r\n### What does this PR do?\r\nThis PR fixes an issue where workspace symbols would not open the file in the editor\r\n\r\n### What issues does this PR fix or reference?\r\nhttps://github.com/eclipse/che/issues/8436\r\n\r\n<!-- #### Changelog -->\r\n<!-- The changelog will be pulled from the PR's title. \r\n     Please provide a clear and meaningful title to the PR and don't include issue number -->\r\n\r\n\r\n#### Release Notes\r\n<!-- markdown to be included in marketing announcement - N/A for bugs -->\r\n\r\n\r\n#### Docs PR\r\n<!-- Please add a matching PR to [the docs repo](https://github.com/eclipse/che-docs) and link that PR to this issue.\r\nBoth will be merged at the same time. -->\r\n","created_at":"2018-02-19T06:27:13Z","updated_at":"2018-02-19T14:51:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"52556ea543a0f85c21bcbc15be033af0c8ddde89","assignee":null,"assignees":[],"requested_reviewers":[{"login":"evidolob","id":929743,"avatar_url":"https://avatars0.githubusercontent.com/u/929743?v=4","gravatar_id":"","url":"https://api.github.com/users/evidolob","html_url":"https://github.com/evidolob","followers_url":"https://api.github.com/users/evidolob/followers","following_url":"https://api.github.com/users/evidolob/following{/other_user}","gists_url":"https://api.github.com/users/evidolob/gists{/gist_id}","starred_url":"https://api.github.com/users/evidolob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evidolob/subscriptions","organizations_url":"https://api.github.com/users/evidolob/orgs","repos_url":"https://api.github.com/users/evidolob/repos","events_url":"https://api.github.com/users/evidolob/events{/privacy}","received_events_url":"https://api.github.com/users/evidolob/received_events","type":"User","site_admin":false},{"login":"svor","id":1271546,"avatar_url":"https://avatars0.githubusercontent.com/u/1271546?v=4","gravatar_id":"","url":"https://api.github.com/users/svor","html_url":"https://github.com/svor","followers_url":"https://api.github.com/users/svor/followers","following_url":"https://api.github.com/users/svor/following{/other_user}","gists_url":"https://api.github.com/users/svor/gists{/gist_id}","starred_url":"https://api.github.com/users/svor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svor/subscriptions","organizations_url":"https://api.github.com/users/svor/orgs","repos_url":"https://api.github.com/users/svor/repos","events_url":"https://api.github.com/users/svor/events{/privacy}","received_events_url":"https://api.github.com/users/svor/received_events","type":"User","site_admin":false},{"login":"dkuleshov","id":1632360,"avatar_url":"https://avatars0.githubusercontent.com/u/1632360?v=4","gravatar_id":"","url":"https://api.github.com/users/dkuleshov","html_url":"https://github.com/dkuleshov","followers_url":"https://api.github.com/users/dkuleshov/followers","following_url":"https://api.github.com/users/dkuleshov/following{/other_user}","gists_url":"https://api.github.com/users/dkuleshov/gists{/gist_id}","starred_url":"https://api.github.com/users/dkuleshov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkuleshov/subscriptions","organizations_url":"https://api.github.com/users/dkuleshov/orgs","repos_url":"https://api.github.com/users/dkuleshov/repos","events_url":"https://api.github.com/users/dkuleshov/events{/privacy}","received_events_url":"https://api.github.com/users/dkuleshov/received_events","type":"User","site_admin":false},{"login":"tsmaeder","id":13163770,"avatar_url":"https://avatars3.githubusercontent.com/u/13163770?v=4","gravatar_id":"","url":"https://api.github.com/users/tsmaeder","html_url":"https://github.com/tsmaeder","followers_url":"https://api.github.com/users/tsmaeder/followers","following_url":"https://api.github.com/users/tsmaeder/following{/other_user}","gists_url":"https://api.github.com/users/tsmaeder/gists{/gist_id}","starred_url":"https://api.github.com/users/tsmaeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsmaeder/subscriptions","organizations_url":"https://api.github.com/users/tsmaeder/orgs","repos_url":"https://api.github.com/users/tsmaeder/repos","events_url":"https://api.github.com/users/tsmaeder/events{/privacy}","received_events_url":"https://api.github.com/users/tsmaeder/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/eclipse/che/pulls/8827/commits","review_comments_url":"https://api.github.com/repos/eclipse/che/pulls/8827/comments","review_comment_url":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eclipse/che/issues/8827/comments","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/85bb7c447c6fb908d6581d021ee8fbaddf1946a4","head":{"label":"JPinkney:workspace-symbols-fix","ref":"workspace-symbols-fix","sha":"85bb7c447c6fb908d6581d021ee8fbaddf1946a4","user":{"login":"JPinkney","id":8839537,"avatar_url":"https://avatars1.githubusercontent.com/u/8839537?v=4","gravatar_id":"","url":"https://api.github.com/users/JPinkney","html_url":"https://github.com/JPinkney","followers_url":"https://api.github.com/users/JPinkney/followers","following_url":"https://api.github.com/users/JPinkney/following{/other_user}","gists_url":"https://api.github.com/users/JPinkney/gists{/gist_id}","starred_url":"https://api.github.com/users/JPinkney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPinkney/subscriptions","organizations_url":"https://api.github.com/users/JPinkney/orgs","repos_url":"https://api.github.com/users/JPinkney/repos","events_url":"https://api.github.com/users/JPinkney/events{/privacy}","received_events_url":"https://api.github.com/users/JPinkney/received_events","type":"User","site_admin":false},"repo":{"id":97866272,"name":"che","full_name":"JPinkney/che","owner":{"login":"JPinkney","id":8839537,"avatar_url":"https://avatars1.githubusercontent.com/u/8839537?v=4","gravatar_id":"","url":"https://api.github.com/users/JPinkney","html_url":"https://github.com/JPinkney","followers_url":"https://api.github.com/users/JPinkney/followers","following_url":"https://api.github.com/users/JPinkney/following{/other_user}","gists_url":"https://api.github.com/users/JPinkney/gists{/gist_id}","starred_url":"https://api.github.com/users/JPinkney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JPinkney/subscriptions","organizations_url":"https://api.github.com/users/JPinkney/orgs","repos_url":"https://api.github.com/users/JPinkney/repos","events_url":"https://api.github.com/users/JPinkney/events{/privacy}","received_events_url":"https://api.github.com/users/JPinkney/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JPinkney/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":true,"url":"https://api.github.com/repos/JPinkney/che","forks_url":"https://api.github.com/repos/JPinkney/che/forks","keys_url":"https://api.github.com/repos/JPinkney/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JPinkney/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JPinkney/che/teams","hooks_url":"https://api.github.com/repos/JPinkney/che/hooks","issue_events_url":"https://api.github.com/repos/JPinkney/che/issues/events{/number}","events_url":"https://api.github.com/repos/JPinkney/che/events","assignees_url":"https://api.github.com/repos/JPinkney/che/assignees{/user}","branches_url":"https://api.github.com/repos/JPinkney/che/branches{/branch}","tags_url":"https://api.github.com/repos/JPinkney/che/tags","blobs_url":"https://api.github.com/repos/JPinkney/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JPinkney/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JPinkney/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/JPinkney/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JPinkney/che/statuses/{sha}","languages_url":"https://api.github.com/repos/JPinkney/che/languages","stargazers_url":"https://api.github.com/repos/JPinkney/che/stargazers","contributors_url":"https://api.github.com/repos/JPinkney/che/contributors","subscribers_url":"https://api.github.com/repos/JPinkney/che/subscribers","subscription_url":"https://api.github.com/repos/JPinkney/che/subscription","commits_url":"https://api.github.com/repos/JPinkney/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/JPinkney/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/JPinkney/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/JPinkney/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/JPinkney/che/contents/{+path}","compare_url":"https://api.github.com/repos/JPinkney/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JPinkney/che/merges","archive_url":"https://api.github.com/repos/JPinkney/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JPinkney/che/downloads","issues_url":"https://api.github.com/repos/JPinkney/che/issues{/number}","pulls_url":"https://api.github.com/repos/JPinkney/che/pulls{/number}","milestones_url":"https://api.github.com/repos/JPinkney/che/milestones{/number}","notifications_url":"https://api.github.com/repos/JPinkney/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JPinkney/che/labels{/name}","releases_url":"https://api.github.com/repos/JPinkney/che/releases{/id}","deployments_url":"https://api.github.com/repos/JPinkney/che/deployments","created_at":"2017-07-20T18:24:53Z","updated_at":"2017-08-04T00:23:54Z","pushed_at":"2018-02-19T06:22:30Z","git_url":"git://github.com/JPinkney/che.git","ssh_url":"git@github.com:JPinkney/che.git","clone_url":"https://github.com/JPinkney/che.git","svn_url":"https://github.com/JPinkney/che","homepage":"http://eclipse.org/che","size":79941,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"epl-1.0","name":"Eclipse Public License 1.0","spdx_id":"EPL-1.0","url":"https://api.github.com/licenses/epl-1.0"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"eclipse:5730_java_ls_poc","ref":"5730_java_ls_poc","sha":"fa62d7ae9b3ac81aee9d6c5a24e7febf4ff30aa5","user":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"repo":{"id":32935745,"name":"che","full_name":"eclipse/che","owner":{"login":"eclipse","id":56974,"avatar_url":"https://avatars1.githubusercontent.com/u/56974?v=4","gravatar_id":"","url":"https://api.github.com/users/eclipse","html_url":"https://github.com/eclipse","followers_url":"https://api.github.com/users/eclipse/followers","following_url":"https://api.github.com/users/eclipse/following{/other_user}","gists_url":"https://api.github.com/users/eclipse/gists{/gist_id}","starred_url":"https://api.github.com/users/eclipse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eclipse/subscriptions","organizations_url":"https://api.github.com/users/eclipse/orgs","repos_url":"https://api.github.com/users/eclipse/repos","events_url":"https://api.github.com/users/eclipse/events{/privacy}","received_events_url":"https://api.github.com/users/eclipse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eclipse/che","description":"Eclipse Che: Next-generation Eclipse IDE.  Open source workspace server and cloud IDE.","fork":false,"url":"https://api.github.com/repos/eclipse/che","forks_url":"https://api.github.com/repos/eclipse/che/forks","keys_url":"https://api.github.com/repos/eclipse/che/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eclipse/che/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eclipse/che/teams","hooks_url":"https://api.github.com/repos/eclipse/che/hooks","issue_events_url":"https://api.github.com/repos/eclipse/che/issues/events{/number}","events_url":"https://api.github.com/repos/eclipse/che/events","assignees_url":"https://api.github.com/repos/eclipse/che/assignees{/user}","branches_url":"https://api.github.com/repos/eclipse/che/branches{/branch}","tags_url":"https://api.github.com/repos/eclipse/che/tags","blobs_url":"https://api.github.com/repos/eclipse/che/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eclipse/che/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eclipse/che/git/refs{/sha}","trees_url":"https://api.github.com/repos/eclipse/che/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eclipse/che/statuses/{sha}","languages_url":"https://api.github.com/repos/eclipse/che/languages","stargazers_url":"https://api.github.com/repos/eclipse/che/stargazers","contributors_url":"https://api.github.com/repos/eclipse/che/contributors","subscribers_url":"https://api.github.com/repos/eclipse/che/subscribers","subscription_url":"https://api.github.com/repos/eclipse/che/subscription","commits_url":"https://api.github.com/repos/eclipse/che/commits{/sha}","git_commits_url":"https://api.github.com/repos/eclipse/che/git/commits{/sha}","comments_url":"https://api.github.com/repos/eclipse/che/comments{/number}","issue_comment_url":"https://api.github.com/repos/eclipse/che/issues/comments{/number}","contents_url":"https://api.github.com/repos/eclipse/che/contents/{+path}","compare_url":"https://api.github.com/repos/eclipse/che/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eclipse/che/merges","archive_url":"https://api.github.com/repos/eclipse/che/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eclipse/che/downloads","issues_url":"https://api.github.com/repos/eclipse/che/issues{/number}","pulls_url":"https://api.github.com/repos/eclipse/che/pulls{/number}","milestones_url":"https://api.github.com/repos/eclipse/che/milestones{/number}","notifications_url":"https://api.github.com/repos/eclipse/che/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eclipse/che/labels{/name}","releases_url":"https://api.github.com/repos/eclipse/che/releases{/id}","deployments_url":"https://api.github.com/repos/eclipse/che/deployments","created_at":"2015-03-26T15:31:01Z","updated_at":"2018-02-19T11:31:27Z","pushed_at":"2018-02-19T14:33:38Z","git_url":"git://github.com/eclipse/che.git","ssh_url":"git@github.com:eclipse/che.git","clone_url":"https://github.com/eclipse/che.git","svn_url":"https://github.com/eclipse/che","homepage":"http://eclipse.org/che","size":80851,"stargazers_count":4578,"watchers_count":4578,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":807,"mirror_url":null,"archived":false,"open_issues_count":649,"license":{"key":"epl-1.0","name":"Eclipse Public License 1.0","spdx_id":"EPL-1.0","url":"https://api.github.com/licenses/epl-1.0"},"forks":807,"open_issues":649,"watchers":4578,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eclipse/che/pulls/8827"},"html":{"href":"https://github.com/eclipse/che/pull/8827"},"issue":{"href":"https://api.github.com/repos/eclipse/che/issues/8827"},"comments":{"href":"https://api.github.com/repos/eclipse/che/issues/8827/comments"},"review_comments":{"href":"https://api.github.com/repos/eclipse/che/pulls/8827/comments"},"review_comment":{"href":"https://api.github.com/repos/eclipse/che/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eclipse/che/pulls/8827/commits"},"statuses":{"href":"https://api.github.com/repos/eclipse/che/statuses/85bb7c447c6fb908d6581d021ee8fbaddf1946a4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"JPinkney"}}