{"action":"closed","issue":{"url":"https://api.github.com/repos/felixfbecker/php-language-server/issues/238","repository_url":"https://api.github.com/repos/felixfbecker/php-language-server","labels_url":"https://api.github.com/repos/felixfbecker/php-language-server/issues/238/labels{/name}","comments_url":"https://api.github.com/repos/felixfbecker/php-language-server/issues/238/comments","events_url":"https://api.github.com/repos/felixfbecker/php-language-server/issues/238/events","html_url":"https://github.com/felixfbecker/php-language-server/issues/238","id":199998992,"number":238,"title":"query all symbols return fewer symbols in the folder?","user":{"login":"lialan","id":450283,"avatar_url":"https://avatars.githubusercontent.com/u/450283?v=3","gravatar_id":"","url":"https://api.github.com/users/lialan","html_url":"https://github.com/lialan","followers_url":"https://api.github.com/users/lialan/followers","following_url":"https://api.github.com/users/lialan/following{/other_user}","gists_url":"https://api.github.com/users/lialan/gists{/gist_id}","starred_url":"https://api.github.com/users/lialan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lialan/subscriptions","organizations_url":"https://api.github.com/users/lialan/orgs","repos_url":"https://api.github.com/users/lialan/repos","events_url":"https://api.github.com/users/lialan/events{/privacy}","received_events_url":"https://api.github.com/users/lialan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-01-11T04:07:44Z","updated_at":"2017-01-12T05:04:16Z","closed_at":"2017-01-12T05:04:16Z","body":"Hi @felixfbecker thanks for your amazing library, very useful.\r\n\r\nAt this moment I am trying to integrate php lsp using lsp4j, and want to query all of the symbols from the specified folder. \r\n\r\nWhat I did was to first initialize the server with the root path, and them query using an empty string. Ideally it should return all symbols in the designated folder. However it only returns a small part of all the symbols in the folder.\r\n\r\nI've tried to query php-language-server itself: What I did was to point the root folder to src/ in the initialization, and query using an empty string. What I get are a few symbols from LanguageServer\\Client\\TextDocument and Language\\Client.  If I point the root folder to the project's root folder then I get nothing from the query.\r\n\r\nI remember a while ago I tried to print out $symbols in Workspace and it indeed only contained a few symbols. Maybe I remembered it incorrectly.\r\n\r\nI am trying to get all the symbols. Perhaps you could shed some light on how it might achieve the goal?\r\n\r\n"}}
{"actor":{"display_login":"felixfbecker"}}