{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1816","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1816/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1816/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1816/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1816","id":120601883,"number":1816,"title":"Why is youcomplete me doesn't show suggestions with javacomplete2 but manually invoking suggestions works","user":{"login":"purpleP","id":6205841,"avatar_url":"https://avatars.githubusercontent.com/u/6205841?v=3","gravatar_id":"","url":"https://api.github.com/users/purpleP","html_url":"https://github.com/purpleP","followers_url":"https://api.github.com/users/purpleP/followers","following_url":"https://api.github.com/users/purpleP/following{/other_user}","gists_url":"https://api.github.com/users/purpleP/gists{/gist_id}","starred_url":"https://api.github.com/users/purpleP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/purpleP/subscriptions","organizations_url":"https://api.github.com/users/purpleP/orgs","repos_url":"https://api.github.com/users/purpleP/repos","events_url":"https://api.github.com/users/purpleP/events{/privacy}","received_events_url":"https://api.github.com/users/purpleP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-06T02:01:22Z","updated_at":"2015-12-22T15:53:35Z","closed_at":null,"body":"I've tried to add\r\nlet g:ycm_semantic_triggers = {'java': 're!.'}\r\nto vimrc\r\nand to execute this command in vim.\r\nIn both cases autocompletion haven't been triggered when typing some class of the field, but I could've call autocomplete menu by pressing ctrl-x-o.\r\n\r\nIs that expected behaviour?"},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/166654567","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1816#issuecomment-166654567","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1816","id":166654567,"user":{"login":"puremourning","id":10584846,"avatar_url":"https://avatars.githubusercontent.com/u/10584846?v=3","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":"2015-12-22T15:53:34Z","updated_at":"2015-12-22T15:53:34Z","body":"IIRC @Valloric has said that \"semantic\" (in this case omnifunc) completion without a trigger is out of scope of YCM. From memory, others have tried to use the regex you include without success. THere is some quite lengthy discussion about the foibles of the omnifunc completer and javacomplete2 on this issue: https://github.com/Valloric/YouCompleteMe/issues/1779."}}