{"action":"created","issue":{"url":"https://api.github.com/repos/ycm-core/ycmd/issues/1381","repository_url":"https://api.github.com/repos/ycm-core/ycmd","labels_url":"https://api.github.com/repos/ycm-core/ycmd/issues/1381/labels{/name}","comments_url":"https://api.github.com/repos/ycm-core/ycmd/issues/1381/comments","events_url":"https://api.github.com/repos/ycm-core/ycmd/issues/1381/events","html_url":"https://github.com/ycm-core/ycmd/pull/1381","id":541315348,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU1OTkyNTk2","number":1381,"title":"[RFC] Support user-specified project directory in LSP servers","user":{"login":"puremourning","id":10584846,"node_id":"MDQ6VXNlcjEwNTg0ODQ2","avatar_url":"https://avatars0.githubusercontent.com/u/10584846?v=4","gravatar_id":"","url":"https://api.github.com/users/puremourning","html_url":"https://github.com/puremourning","followers_url":"https://api.github.com/users/puremourning/followers","following_url":"https://api.github.com/users/puremourning/following{/other_user}","gists_url":"https://api.github.com/users/puremourning/gists{/gist_id}","starred_url":"https://api.github.com/users/puremourning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puremourning/subscriptions","organizations_url":"https://api.github.com/users/puremourning/orgs","repos_url":"https://api.github.com/users/puremourning/repos","events_url":"https://api.github.com/users/puremourning/events{/privacy}","received_events_url":"https://api.github.com/users/puremourning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-12-21T11:13:49Z","updated_at":"2019-12-28T21:49:42Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/ycm-core/ycmd/pulls/1381","html_url":"https://github.com/ycm-core/ycmd/pull/1381","diff_url":"https://github.com/ycm-core/ycmd/pull/1381.diff","patch_url":"https://github.com/ycm-core/ycmd/pull/1381.patch"},"body":"Store all settings returned from the Settings function\r\n\r\nAllow extra conf to supply project directory. This is useful at least\r\nfor java with complex workspaces containing multiple .project files\r\n\r\nFor the output in debug info, we _could_ change to show all settings,\r\nbut for now, let's keep it as it was before.\r\n\r\nTODO:\r\n* [ ] Tests for other language server backends\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/ycm-core/ycmd/1381)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/ycm-core/ycmd/issues/comments/569453733","html_url":"https://github.com/ycm-core/ycmd/pull/1381#issuecomment-569453733","issue_url":"https://api.github.com/repos/ycm-core/ycmd/issues/1381","id":569453733,"node_id":"MDEyOklzc3VlQ29tbWVudDU2OTQ1MzczMw==","user":{"login":"puremourning","id":10584846,"node_id":"MDQ6VXNlcjEwNTg0ODQ2","avatar_url":"https://avatars0.githubusercontent.com/u/10584846?v=4","gravatar_id":"","url":"https://api.github.com/users/puremourning","html_url":"https://github.com/puremourning","followers_url":"https://api.github.com/users/puremourning/followers","following_url":"https://api.github.com/users/puremourning/following{/other_user}","gists_url":"https://api.github.com/users/puremourning/gists{/gist_id}","starred_url":"https://api.github.com/users/puremourning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puremourning/subscriptions","organizations_url":"https://api.github.com/users/puremourning/orgs","repos_url":"https://api.github.com/users/puremourning/repos","events_url":"https://api.github.com/users/puremourning/events{/privacy}","received_events_url":"https://api.github.com/users/puremourning/received_events","type":"User","site_admin":false},"created_at":"2019-12-28T21:49:42Z","updated_at":"2019-12-28T21:49:42Z","author_association":"MEMBER","body":"> but rather making the workspace from extra conf a list of initially known workspaces and sending those in the initialize request?\r\n\r\nI guess that's an option. But in my case I would return the one path which is the root of the tree (`src/` in my example). We would also then have to implement multiple workspace folders, which I don't know if we want to do. \r\n\r\nCome to think of ot I don't even know if jdt.ls treats multiple workspace folders as the same or different eclipse workspaces. I would actually expect them to be _different_ eclipse workspaces for this exact reason - that it searches recursively for projects. It's possible with multiple \"folders\" you could have colliding projects (such as the same source code  in different branches)."}}
{"actor":{"display_login":"puremourning"}}