{"action":"created","issue":{"url":"https://api.github.com/repos/Alexander-Miller/treemacs/issues/263","repository_url":"https://api.github.com/repos/Alexander-Miller/treemacs","labels_url":"https://api.github.com/repos/Alexander-Miller/treemacs/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/Alexander-Miller/treemacs/issues/263/comments","events_url":"https://api.github.com/repos/Alexander-Miller/treemacs/issues/263/events","html_url":"https://github.com/Alexander-Miller/treemacs/issues/263","id":350912261,"node_id":"MDU6SXNzdWUzNTA5MTIyNjE=","number":263,"title":"[discussion] provide extension API","user":{"login":"yyoncho","id":13259670,"node_id":"MDQ6VXNlcjEzMjU5Njcw","avatar_url":"https://avatars1.githubusercontent.com/u/13259670?v=4","gravatar_id":"","url":"https://api.github.com/users/yyoncho","html_url":"https://github.com/yyoncho","followers_url":"https://api.github.com/users/yyoncho/followers","following_url":"https://api.github.com/users/yyoncho/following{/other_user}","gists_url":"https://api.github.com/users/yyoncho/gists{/gist_id}","starred_url":"https://api.github.com/users/yyoncho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyoncho/subscriptions","organizations_url":"https://api.github.com/users/yyoncho/orgs","repos_url":"https://api.github.com/users/yyoncho/repos","events_url":"https://api.github.com/users/yyoncho/events{/privacy}","received_events_url":"https://api.github.com/users/yyoncho/received_events","type":"User","site_admin":false},"labels":[{"id":773559372,"node_id":"MDU6TGFiZWw3NzM1NTkzNzI=","url":"https://api.github.com/repos/Alexander-Miller/treemacs/labels/New%20Feature","name":"New Feature","color":"c2e0c6","default":false},{"id":409687775,"node_id":"MDU6TGFiZWw0MDk2ODc3NzU=","url":"https://api.github.com/repos/Alexander-Miller/treemacs/labels/Question/Discussion","name":"Question/Discussion","color":"c4e067","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":22,"created_at":"2018-08-15T18:19:28Z","updated_at":"2018-09-13T20:30:50Z","closed_at":null,"author_association":"NONE","body":"I am working on [lsp-java](https://github.com/emacs-lsp/lsp-java) and I am looking for a way to create a project deps explorer similar to [eclipse project explorer](https://help.eclipse.org/mars/topic/org.eclipse.platform.doc.user/images/Image275_project_explorer.png) . In order to accomplish that the following extension points will be needed:\r\n\r\n1. Ability to plug children(e. g. when you open project the extension will be able to plug a node `Maven Dependecies`). \r\n2. Ability to specify a expand function for the inserted item.\r\n\r\nCan you share your thoughts on that?\r\n\r\nPS: At this point library information is specific to [lsp-java](https://github.com/emacs-lsp/lsp-java) but afte r https://github.com/Microsoft/language-server-protocol/issues/472 is resolved functionallity would become common for all lsp enabled languages. "},"comment":{"url":"https://api.github.com/repos/Alexander-Miller/treemacs/issues/comments/421142881","html_url":"https://github.com/Alexander-Miller/treemacs/issues/263#issuecomment-421142881","issue_url":"https://api.github.com/repos/Alexander-Miller/treemacs/issues/263","id":421142881,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTE0Mjg4MQ==","user":{"login":"yyoncho","id":13259670,"node_id":"MDQ6VXNlcjEzMjU5Njcw","avatar_url":"https://avatars1.githubusercontent.com/u/13259670?v=4","gravatar_id":"","url":"https://api.github.com/users/yyoncho","html_url":"https://github.com/yyoncho","followers_url":"https://api.github.com/users/yyoncho/followers","following_url":"https://api.github.com/users/yyoncho/following{/other_user}","gists_url":"https://api.github.com/users/yyoncho/gists{/gist_id}","starred_url":"https://api.github.com/users/yyoncho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyoncho/subscriptions","organizations_url":"https://api.github.com/users/yyoncho/orgs","repos_url":"https://api.github.com/users/yyoncho/repos","events_url":"https://api.github.com/users/yyoncho/events{/privacy}","received_events_url":"https://api.github.com/users/yyoncho/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T20:30:50Z","updated_at":"2018-09-13T20:30:50Z","author_association":"NONE","body":"I had a chance to play with the API, here it is my initial set of questions/comments:\r\n\r\n1. Since some of the project roots might not be java project root of the current workspace how do I create my root optionally?\r\n2. On a similar note, in multi module project, some of the maven project roots might not be roots in treemacs. So how do I plug an extension in non-root folder? On a similar note, I believe that  the extension interface must be (folder-path, extension) which will provide the option to insert extension in any folder. \r\n3. At some point I will need a function to refresh a node + its children, I suspect that treemacs already have that function. \r\n"}}
{"actor":{"display_login":"yyoncho"}}