roxma / nvim-completion-manager

:warning: PLEASE USE https://github.com/ncm2/ncm2 INSTEAD
MIT License
917 stars 49 forks source link

PHP autocomplete does not show native functions #111

Closed nicolasmure closed 7 years ago

nicolasmure commented 7 years ago

Hello!

Thank you for the plugin 👍 I'm having some troubles when using it with php-language-server : the native PHP functions are not shown in the autocomplete popup.

They're received from the php language server but not displayed :/ The only native functions displayed are the one present in the currently edited file.

Here are the debug log files when attempting to get the autocomplete for array_map (I typed array_ma) :

NVIM_PYTHON_LOG_FILE=nvim.log NVIM_NCM_LOG_LEVEL=DEBUG NVIM_NCM_MULTI_THREAD=0 nvim

nvim.log_py3_cm_core

2017-08-07 21:38:08,702 [INFO @ cm_start.py:main:47] 10641 - start_channel for cm_core
2017-08-07 21:38:08,706 [INFO @ cm.py:setup_neovim:150] 10641 - connecting to neovim server: /tmp/nvimCgxz4p/0
2017-08-07 21:38:08,713 [INFO @ cm.py:start_and_run_channel:177] 10641 - starting core, enter event loop
2017-08-07 21:38:08,713 [INFO @ cm.py:start_and_run_channel:253] 10641 - <cm_core> entering event loop
2017-08-07 21:38:08,714 [DEBUG @ cm.py:on_notification:226] 10641 - core method: cm_setup, args: []
2017-08-07 21:38:08,715 [INFO @ cm_core.py:register_source:118] 10641 - registering source: {'channel': {'type': 'python3', 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter']}, 'name': 'cm-bufkeyword', 'priority': 5, 'enable': True, 'abbreviation': 'Key'}
2017-08-07 21:38:08,715 [INFO @ cm_core.py:_detect_sources:132] 10641 - source <cm_sources.cm_bufkeyword> registered
2017-08-07 21:38:08,715 [INFO @ cm_core.py:register_source:118] 10641 - registering source: {'channel': {'type': 'python3', 'module': 'cm_sources.cm_filepath', 'events': []}, 'name': 'cm-filepath', 'priority': 6, 'enable': True, 'abbreviation': 'path', 'word_pattern': '([^\\W]|[-.~%$])+', 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'sort': 0}
2017-08-07 21:38:08,716 [INFO @ cm_core.py:_detect_sources:132] 10641 - source <cm_sources.cm_filepath> registered
2017-08-07 21:38:08,716 [INFO @ cm_core.py:register_source:118] 10641 - registering source: {'channel': {'type': 'python3', 'module': 'cm_sources.cm_gocode', 'events': []}, 'name': 'cm-gocode', 'priority': 9, 'enable': True, 'abbreviation': 'Go', 'word_pattern': '[\\w/]+', 'early_cache': 1, 'scoping': True, 'scopes': ['go'], 'cm_refresh_patterns': ['\\.']}
2017-08-07 21:38:08,716 [INFO @ cm_core.py:_detect_sources:132] 10641 - source <cm_sources.cm_gocode> registered
2017-08-07 21:38:08,716 [INFO @ cm_core.py:register_source:118] 10641 - registering source: {'channel': {'type': 'python3', 'module': 'cm_sources.cm_jedi', 'events': [], 'multi_thread': 0}, 'name': 'cm-jedi', 'priority': 9, 'enable': True, 'abbreviation': 'Py', 'scoping': True, 'scopes': ['python'], 'early_cache': 1, 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?']}
2017-08-07 21:38:08,716 [INFO @ cm_core.py:_detect_sources:132] 10641 - source <cm_sources.cm_jedi> registered
2017-08-07 21:38:08,717 [INFO @ cm_core.py:register_source:118] 10641 - registering source: {'channel': {'type': 'python3', 'module': 'cm_sources.cm_keyword_continue', 'events': []}, 'name': 'cm-keyword-continue', 'priority': 5, 'enable': True, 'abbreviation': '', 'word_pattern': '\\w+', 'cm_refresh_length': 0, 'auto_popup': 0, 'sort': 0}
2017-08-07 21:38:08,717 [INFO @ cm_core.py:_detect_sources:132] 10641 - source <cm_sources.cm_keyword_continue> registered
2017-08-07 21:38:08,717 [INFO @ cm_core.py:register_source:118] 10641 - registering source: {'channel': {'type': 'python3', 'module': 'cm_sources.cm_tags', 'events': ['WinEnter']}, 'name': 'cm-tags', 'priority': 6, 'enable': True, 'abbreviation': 'Tag'}
2017-08-07 21:38:08,717 [INFO @ cm_core.py:_detect_sources:132] 10641 - source <cm_sources.cm_tags> registered
2017-08-07 21:38:08,717 [INFO @ cm_core.py:register_source:118] 10641 - registering source: {'channel': {'type': 'python3', 'module': 'cm_sources.cm_tmux', 'events': ['CursorHold', 'CursorHoldI', 'FocusGained', 'BufEnter']}, 'name': 'cm-tmux', 'priority': 4, 'enable': False, 'abbreviation': 'Tmux'}
2017-08-07 21:38:08,718 [INFO @ cm_core.py:_detect_sources:132] 10641 - source <cm_sources.cm_tmux> registered
2017-08-07 21:38:08,719 [INFO @ cm.py:on_notification:216] 10641 - delay notification handling, method[cm_start_channels]
2017-08-07 21:38:08,727 [INFO @ cm_core.py:_load_scopers:82] 10641 - scoper <cm_scopers.html_scoper> imported for html
2017-08-07 21:38:08,728 [INFO @ cm_core.py:_load_scopers:82] 10641 - scoper <cm_scopers.html_scoper> imported for xhtml
2017-08-07 21:38:08,728 [INFO @ cm_core.py:_load_scopers:82] 10641 - scoper <cm_scopers.html_scoper> imported for php
2017-08-07 21:38:08,728 [INFO @ cm_core.py:_load_scopers:82] 10641 - scoper <cm_scopers.html_scoper> imported for blade
2017-08-07 21:38:08,728 [INFO @ cm_core.py:_load_scopers:82] 10641 - scoper <cm_scopers.html_scoper> imported for jinja
2017-08-07 21:38:08,728 [INFO @ cm_core.py:_load_scopers:82] 10641 - scoper <cm_scopers.html_scoper> imported for jinja2
2017-08-07 21:38:08,728 [INFO @ cm_core.py:_load_scopers:82] 10641 - scoper <cm_scopers.html_scoper> imported for vue.html.javascript.css
2017-08-07 21:38:08,728 [INFO @ cm_core.py:_load_scopers:82] 10641 - scoper <cm_scopers.html_scoper> imported for vue
2017-08-07 21:38:08,728 [INFO @ cm_core.py:_load_scopers:82] 10641 - scoper <cm_scopers.markdown_scoper> imported for markdown
2017-08-07 21:38:08,728 [INFO @ cm_core.py:_load_scopers:87] 10641 - _subscope_detectors: {'html': [<cm_scopers.html_scoper.Scoper object at 0x7f97526796a0>], 'xhtml': [<cm_scopers.html_scoper.Scoper object at 0x7f97526796a0>], 'php': [<cm_scopers.html_scoper.Scoper object at 0x7f97526796a0>], 'blade': [<cm_scopers.html_scoper.Scoper object at 0x7f97526796a0>], 'jinja': [<cm_scopers.html_scoper.Scoper object at 0x7f97526796a0>], 'jinja2': [<cm_scopers.html_scoper.Scoper object at 0x7f97526796a0>], 'vue.html.javascript.css': [<cm_scopers.html_scoper.Scoper object at 0x7f97526796a0>], 'vue': [<cm_scopers.html_scoper.Scoper object at 0x7f97526796a0>], 'markdown': [<cm_scopers.markdown_scoper.Scoper object at 0x7f9752ac7f98>]}
2017-08-07 21:38:08,728 [DEBUG @ cm.py:on_notification:243] 10641 - core method cm_setup completed
2017-08-07 21:38:08,728 [DEBUG @ cm.py:on_notification:226] 10641 - core method: cm_start_channels, args: [{'cm-css': {'scopes': ['css', 'scss'], 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'name': 'cm-css', 'priority': 9, 'scoping': 1, 'early_cache': 0, 'sort': 1, 'enable': 1, 'cm_refresh_length': 3, 'abbreviation': 'css', 'word_pattern': '[\\w\\-]+'}, 'cm-bufkeyword': {'early_cache': 0, 'name': 'cm-bufkeyword', 'priority': 5, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Key', 'cm_refresh_length': 4}, 'cm-jedi': {'scopes': ['python'], 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'early_cache': 1, 'name': 'cm-jedi', 'priority': 9, 'enable': True, 'auto_popup': 1, 'scoping': True, 'sort': 1, 'channel': {'module': 'cm_sources.cm_jedi', 'events': [], 'type': 'python3', 'multi_thread': 0}, 'abbreviation': 'Py', 'cm_refresh_length': 3}, 'cm-keyword-continue': {'early_cache': 0, 'name': 'cm-keyword-continue', 'priority': 5, 'enable': True, 'sort': 0, 'cm_refresh_length': 0, 'auto_popup': 0, 'channel': {'module': 'cm_sources.cm_keyword_continue', 'events': [], 'type': 'python3'}, 'abbreviation': '', 'word_pattern': '\\w+'}, 'cm-gocode': {'scopes': ['go'], 'cm_refresh_patterns': ['\\.'], 'early_cache': 1, 'name': 'cm-gocode', 'priority': 9, 'enable': True, 'auto_popup': 1, 'sort': 1, 'scoping': True, 'cm_refresh_length': 3, 'channel': {'module': 'cm_sources.cm_gocode', 'events': [], 'type': 'python3'}, 'abbreviation': 'Go', 'word_pattern': '[\\w/]+'}, 'cm-tags': {'early_cache': 0, 'name': 'cm-tags', 'priority': 6, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'module': 'cm_sources.cm_tags', 'events': ['WinEnter'], 'type': 'python3'}, 'abbreviation': 'Tag', 'cm_refresh_length': 4}, 'cm-tmux': {'early_cache': 0, 'name': 'cm-tmux', 'priority': 4, 'enable': False, 'auto_popup': 1, 'sort': 1, 'channel': {'module': 'cm_sources.cm_tmux', 'events': ['CursorHold', 'CursorHoldI', 'FocusGained', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Tmux', 'cm_refresh_length': 4}, 'cm-filepath': {'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'early_cache': 0, 'name': 'cm-filepath', 'priority': 6, 'enable': True, 'auto_popup': 1, 'cm_refresh_length': 4, 'sort': 0, 'channel': {'module': 'cm_sources.cm_filepath', 'events': [], 'type': 'python3'}, 'abbreviation': 'path', 'word_pattern': '([^\\W]|[-.~%$])+'}}, {'lnum': 1, 'bufnr': 1, 'col': 1, 'changedtick': 2, 'typed': '', 'filetype': '', 'curpos': [0, 1, 1, 0, 1], 'filepath': ''}]
2017-08-07 21:38:08,729 [INFO @ cm_core.py:_start_channel:698] 10641 - starting channels for cm-tags: ['/usr/bin/python3', '/home/nicolas/.vim/bundle/nvim-completion-manager/pythonx/cm_start.py', 'channel', 'cm-tags', 'cm_sources.cm_tags', '/tmp/nvimCgxz4p/0']
2017-08-07 21:38:08,730 [INFO @ cm_core.py:_start_channel:704] 10641 - source <cm-tags> channel pid: 10644
2017-08-07 21:38:08,730 [INFO @ cm_core.py:_start_channel:698] 10641 - starting channels for cm-filepath: ['/usr/bin/python3', '/home/nicolas/.vim/bundle/nvim-completion-manager/pythonx/cm_start.py', 'channel', 'cm-filepath', 'cm_sources.cm_filepath', '/tmp/nvimCgxz4p/0']
2017-08-07 21:38:08,731 [INFO @ cm_core.py:_start_channel:704] 10641 - source <cm-filepath> channel pid: 10645
2017-08-07 21:38:08,731 [INFO @ cm_core.py:_start_channel:698] 10641 - starting channels for cm-bufkeyword: ['/usr/bin/python3', '/home/nicolas/.vim/bundle/nvim-completion-manager/pythonx/cm_start.py', 'channel', 'cm-bufkeyword', 'cm_sources.cm_bufkeyword', '/tmp/nvimCgxz4p/0']
2017-08-07 21:38:08,733 [INFO @ cm_core.py:_start_channel:704] 10641 - source <cm-bufkeyword> channel pid: 10646
2017-08-07 21:38:08,733 [INFO @ cm_core.py:_start_channel:698] 10641 - starting channels for cm-keyword-continue: ['/usr/bin/python3', '/home/nicolas/.vim/bundle/nvim-completion-manager/pythonx/cm_start.py', 'channel', 'cm-keyword-continue', 'cm_sources.cm_keyword_continue', '/tmp/nvimCgxz4p/0']
2017-08-07 21:38:08,737 [INFO @ cm_core.py:_start_channel:704] 10641 - source <cm-keyword-continue> channel pid: 10647
2017-08-07 21:38:08,738 [DEBUG @ cm.py:on_notification:243] 10641 - core method cm_start_channels completed
2017-08-07 21:38:11,478 [DEBUG @ cm.py:on_notification:226] 10641 - core method: cm_start_channels, args: [{'cm-css': {'scopes': ['css', 'scss'], 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'name': 'cm-css', 'priority': 9, 'scoping': 1, 'early_cache': 0, 'sort': 1, 'enable': 1, 'cm_refresh_length': 3, 'abbreviation': 'css', 'word_pattern': '[\\w\\-]+'}, 'cm-bufkeyword': {'early_cache': 0, 'name': 'cm-bufkeyword', 'priority': 5, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 7, 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Key', 'cm_refresh_length': 4}, 'cm-jedi': {'scopes': ['python'], 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'early_cache': 1, 'name': 'cm-jedi', 'priority': 9, 'enable': True, 'auto_popup': 1, 'scoping': True, 'sort': 1, 'channel': {'module': 'cm_sources.cm_jedi', 'events': [], 'type': 'python3', 'multi_thread': 0}, 'abbreviation': 'Py', 'cm_refresh_length': 3}, 'LanguageClient_php': {'scopes': ['php'], 'cm_refresh_patterns': ['\\$', '\\>'], 'cm_refresh': 'LanguageClient_completionManager_refresh', 'early_cache': 0, 'name': 'LanguageClient_php', 'priority': 9, 'enable': 1, 'auto_popup': 1, 'sort': 1, 'abbreviation': '', 'cm_refresh_length': 3}, 'cm-keyword-continue': {'early_cache': 0, 'name': 'cm-keyword-continue', 'priority': 5, 'enable': True, 'sort': 0, 'cm_refresh_length': 0, 'auto_popup': 0, 'channel': {'id': 8, 'module': 'cm_sources.cm_keyword_continue', 'events': [], 'type': 'python3'}, 'abbreviation': '', 'word_pattern': '\\w+'}, 'cm-gocode': {'scopes': ['go'], 'cm_refresh_patterns': ['\\.'], 'early_cache': 1, 'name': 'cm-gocode', 'priority': 9, 'enable': True, 'auto_popup': 1, 'sort': 1, 'scoping': True, 'cm_refresh_length': 3, 'channel': {'module': 'cm_sources.cm_gocode', 'events': [], 'type': 'python3'}, 'abbreviation': 'Go', 'word_pattern': '[\\w/]+'}, 'cm-tags': {'early_cache': 0, 'name': 'cm-tags', 'priority': 6, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 5, 'module': 'cm_sources.cm_tags', 'events': ['WinEnter'], 'type': 'python3'}, 'abbreviation': 'Tag', 'cm_refresh_length': 4}, 'cm-tmux': {'early_cache': 0, 'name': 'cm-tmux', 'priority': 4, 'enable': False, 'auto_popup': 1, 'sort': 1, 'channel': {'module': 'cm_sources.cm_tmux', 'events': ['CursorHold', 'CursorHoldI', 'FocusGained', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Tmux', 'cm_refresh_length': 4}, 'cm-filepath': {'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'early_cache': 0, 'name': 'cm-filepath', 'priority': 6, 'enable': True, 'auto_popup': 1, 'cm_refresh_length': 4, 'sort': 0, 'channel': {'id': 6, 'module': 'cm_sources.cm_filepath', 'events': [], 'type': 'python3'}, 'abbreviation': 'path', 'word_pattern': '([^\\W]|[-.~%$])+'}}, {'lnum': 1, 'bufnr': 1, 'col': 1, 'changedtick': 4, 'typed': '', 'filetype': 'php', 'curpos': [0, 1, 1, 0, 1], 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php'}]
2017-08-07 21:38:11,478 [DEBUG @ cm.py:on_notification:243] 10641 - core method cm_start_channels completed
2017-08-07 21:38:28,639 [DEBUG @ cm.py:on_notification:226] 10641 - core method: cm_insert_enter, args: []
2017-08-07 21:38:28,639 [DEBUG @ cm.py:on_notification:243] 10641 - core method cm_insert_enter completed
2017-08-07 21:38:30,413 [DEBUG @ cm.py:on_notification:226] 10641 - core method: cm_refresh, args: [{'cm-css': {'scopes': ['css', 'scss'], 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'name': 'cm-css', 'priority': 9, 'scoping': 1, 'early_cache': 0, 'sort': 1, 'enable': 1, 'cm_refresh_length': 3, 'abbreviation': 'css', 'word_pattern': '[\\w\\-]+'}, 'cm-bufkeyword': {'early_cache': 0, 'name': 'cm-bufkeyword', 'priority': 5, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 7, 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Key', 'cm_refresh_length': 4}, 'cm-jedi': {'scopes': ['python'], 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'early_cache': 1, 'name': 'cm-jedi', 'priority': 9, 'enable': True, 'auto_popup': 1, 'scoping': True, 'sort': 1, 'channel': {'module': 'cm_sources.cm_jedi', 'events': [], 'type': 'python3', 'multi_thread': 0}, 'abbreviation': 'Py', 'cm_refresh_length': 3}, 'LanguageClient_php': {'scopes': ['php'], 'cm_refresh_patterns': ['\\$', '\\>'], 'cm_refresh': 'LanguageClient_completionManager_refresh', 'early_cache': 0, 'name': 'LanguageClient_php', 'priority': 9, 'enable': 1, 'auto_popup': 1, 'sort': 1, 'abbreviation': '', 'cm_refresh_length': 3}, 'cm-keyword-continue': {'early_cache': 0, 'name': 'cm-keyword-continue', 'priority': 5, 'enable': True, 'sort': 0, 'cm_refresh_length': 0, 'auto_popup': 0, 'channel': {'id': 8, 'module': 'cm_sources.cm_keyword_continue', 'events': [], 'type': 'python3'}, 'abbreviation': '', 'word_pattern': '\\w+'}, 'cm-gocode': {'scopes': ['go'], 'cm_refresh_patterns': ['\\.'], 'early_cache': 1, 'name': 'cm-gocode', 'priority': 9, 'enable': True, 'auto_popup': 1, 'sort': 1, 'scoping': True, 'cm_refresh_length': 3, 'channel': {'module': 'cm_sources.cm_gocode', 'events': [], 'type': 'python3'}, 'abbreviation': 'Go', 'word_pattern': '[\\w/]+'}, 'cm-tags': {'early_cache': 0, 'name': 'cm-tags', 'priority': 6, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 5, 'module': 'cm_sources.cm_tags', 'events': ['WinEnter'], 'type': 'python3'}, 'abbreviation': 'Tag', 'cm_refresh_length': 4}, 'cm-tmux': {'early_cache': 0, 'name': 'cm-tmux', 'priority': 4, 'enable': False, 'auto_popup': 1, 'sort': 1, 'channel': {'module': 'cm_sources.cm_tmux', 'events': ['CursorHold', 'CursorHoldI', 'FocusGained', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Tmux', 'cm_refresh_length': 4}, 'cm-filepath': {'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'early_cache': 0, 'name': 'cm-filepath', 'priority': 6, 'enable': True, 'auto_popup': 1, 'cm_refresh_length': 4, 'sort': 0, 'channel': {'id': 6, 'module': 'cm_sources.cm_filepath', 'events': [], 'type': 'python3'}, 'abbreviation': 'path', 'word_pattern': '([^\\W]|[-.~%$])+'}}, {'lnum': 55, 'bufnr': 1, 'col': 17, 'changedtick': 7, 'typed': '        array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php'}, 0]
2017-08-07 21:38:30,437 [DEBUG @ cm_core.py:cm_refresh:305] 10641 - _check_scope ignore <cm-css> for context scope <php>
2017-08-07 21:38:30,438 [DEBUG @ cm_core.py:cm_refresh:305] 10641 - _check_scope ignore <cm-jedi> for context scope <php>
2017-08-07 21:38:30,438 [DEBUG @ cm_core.py:cm_refresh:309] 10641 - <cm-keyword-continue> is not auto_popup
2017-08-07 21:38:30,438 [DEBUG @ cm_core.py:cm_refresh:305] 10641 - _check_scope ignore <cm-gocode> for context scope <php>
2017-08-07 21:38:30,440 [INFO @ cm_core.py:cm_refresh:359] 10641 - notify_sources_to_refresh calls cnt [1], channels cnt [3]
2017-08-07 21:38:30,440 [DEBUG @ cm_core.py:cm_refresh:360] 10641 - cm#_notify_sources_to_refresh [['LanguageClient_php']] [['cm-bufkeyword', 'cm-tags', 'cm-filepath']] [{'lnum': 55, 'bufnr': 1, 'col': 17, 'changedtick': 7, 'typed': '        array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php', 'scope': 'php', 'force': 0}]
2017-08-07 21:38:30,441 [DEBUG @ cm.py:on_notification:243] 10641 - core method cm_refresh completed
2017-08-07 21:38:30,446 [DEBUG @ cm.py:on_notification:226] 10641 - core method: cm_complete, args: [{'cm-css': {'scopes': ['css', 'scss'], 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'name': 'cm-css', 'priority': 9, 'scoping': 1, 'early_cache': 0, 'sort': 1, 'enable': 1, 'cm_refresh_length': 3, 'abbreviation': 'css', 'word_pattern': '[\\w\\-]+'}, 'cm-bufkeyword': {'early_cache': 0, 'name': 'cm-bufkeyword', 'priority': 5, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 7, 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Key', 'cm_refresh_length': 4}, 'cm-jedi': {'scopes': ['python'], 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'early_cache': 1, 'name': 'cm-jedi', 'priority': 9, 'enable': True, 'auto_popup': 1, 'scoping': True, 'sort': 1, 'channel': {'module': 'cm_sources.cm_jedi', 'events': [], 'type': 'python3', 'multi_thread': 0}, 'abbreviation': 'Py', 'cm_refresh_length': 3}, 'LanguageClient_php': {'scopes': ['php'], 'cm_refresh_patterns': ['\\$', '\\>'], 'cm_refresh': 'LanguageClient_completionManager_refresh', 'early_cache': 0, 'name': 'LanguageClient_php', 'priority': 9, 'enable': 1, 'auto_popup': 1, 'sort': 1, 'abbreviation': '', 'cm_refresh_length': 3}, 'cm-keyword-continue': {'early_cache': 0, 'name': 'cm-keyword-continue', 'priority': 5, 'enable': True, 'sort': 0, 'cm_refresh_length': 0, 'auto_popup': 0, 'channel': {'id': 8, 'module': 'cm_sources.cm_keyword_continue', 'events': [], 'type': 'python3'}, 'abbreviation': '', 'word_pattern': '\\w+'}, 'cm-gocode': {'scopes': ['go'], 'cm_refresh_patterns': ['\\.'], 'early_cache': 1, 'name': 'cm-gocode', 'priority': 9, 'enable': True, 'auto_popup': 1, 'sort': 1, 'scoping': True, 'cm_refresh_length': 3, 'channel': {'module': 'cm_sources.cm_gocode', 'events': [], 'type': 'python3'}, 'abbreviation': 'Go', 'word_pattern': '[\\w/]+'}, 'cm-tags': {'early_cache': 0, 'name': 'cm-tags', 'priority': 6, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 5, 'module': 'cm_sources.cm_tags', 'events': ['WinEnter'], 'type': 'python3'}, 'abbreviation': 'Tag', 'cm_refresh_length': 4}, 'cm-tmux': {'early_cache': 0, 'name': 'cm-tmux', 'priority': 4, 'enable': False, 'auto_popup': 1, 'sort': 1, 'channel': {'module': 'cm_sources.cm_tmux', 'events': ['CursorHold', 'CursorHoldI', 'FocusGained', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Tmux', 'cm_refresh_length': 4}, 'cm-filepath': {'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'early_cache': 0, 'name': 'cm-filepath', 'priority': 6, 'enable': True, 'auto_popup': 1, 'cm_refresh_length': 4, 'sort': 0, 'channel': {'id': 6, 'module': 'cm_sources.cm_filepath', 'events': [], 'type': 'python3'}, 'abbreviation': 'path', 'word_pattern': '([^\\W]|[-.~%$])+'}}, 'cm-tags', {'scope_match': '', 'lnum': 55, 'bufnr': 1, 'changedtick': 7, 'typed': '        array_ma', 'base': 'array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'col': 17, 'early_cache': False, 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php', 'scope': 'php', 'force': 0, 'startcol': 9, 'match_end': 8}, 9, [], False, 0, '']
2017-08-07 21:38:30,448 [DEBUG @ cm_core.py:cm_complete:196] 10641 - <cm-tags> preprocessing result startcol: 9 matches: []
2017-08-07 21:38:30,448 [DEBUG @ cm_core.py:cm_complete:200] 10641 - Not popping up, not refreshing for cm_complete by cm-tags, startcol 9
2017-08-07 21:38:30,448 [DEBUG @ cm.py:on_notification:243] 10641 - core method cm_complete completed
2017-08-07 21:38:30,455 [DEBUG @ cm.py:on_notification:226] 10641 - core method: cm_complete, args: [{'cm-css': {'scopes': ['css', 'scss'], 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'name': 'cm-css', 'priority': 9, 'scoping': 1, 'early_cache': 0, 'sort': 1, 'enable': 1, 'cm_refresh_length': 3, 'abbreviation': 'css', 'word_pattern': '[\\w\\-]+'}, 'cm-bufkeyword': {'early_cache': 0, 'name': 'cm-bufkeyword', 'priority': 5, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 7, 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Key', 'cm_refresh_length': 4}, 'cm-jedi': {'scopes': ['python'], 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'early_cache': 1, 'name': 'cm-jedi', 'priority': 9, 'enable': True, 'auto_popup': 1, 'scoping': True, 'sort': 1, 'channel': {'module': 'cm_sources.cm_jedi', 'events': [], 'type': 'python3', 'multi_thread': 0}, 'abbreviation': 'Py', 'cm_refresh_length': 3}, 'LanguageClient_php': {'scopes': ['php'], 'cm_refresh_patterns': ['\\$', '\\>'], 'cm_refresh': 'LanguageClient_completionManager_refresh', 'early_cache': 0, 'name': 'LanguageClient_php', 'priority': 9, 'enable': 1, 'auto_popup': 1, 'sort': 1, 'abbreviation': '', 'cm_refresh_length': 3}, 'cm-keyword-continue': {'early_cache': 0, 'name': 'cm-keyword-continue', 'priority': 5, 'enable': True, 'sort': 0, 'cm_refresh_length': 0, 'auto_popup': 0, 'channel': {'id': 8, 'module': 'cm_sources.cm_keyword_continue', 'events': [], 'type': 'python3'}, 'abbreviation': '', 'word_pattern': '\\w+'}, 'cm-gocode': {'scopes': ['go'], 'cm_refresh_patterns': ['\\.'], 'early_cache': 1, 'name': 'cm-gocode', 'priority': 9, 'enable': True, 'auto_popup': 1, 'sort': 1, 'scoping': True, 'cm_refresh_length': 3, 'channel': {'module': 'cm_sources.cm_gocode', 'events': [], 'type': 'python3'}, 'abbreviation': 'Go', 'word_pattern': '[\\w/]+'}, 'cm-tags': {'early_cache': 0, 'name': 'cm-tags', 'priority': 6, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 5, 'module': 'cm_sources.cm_tags', 'events': ['WinEnter'], 'type': 'python3'}, 'abbreviation': 'Tag', 'cm_refresh_length': 4}, 'cm-tmux': {'early_cache': 0, 'name': 'cm-tmux', 'priority': 4, 'enable': False, 'auto_popup': 1, 'sort': 1, 'channel': {'module': 'cm_sources.cm_tmux', 'events': ['CursorHold', 'CursorHoldI', 'FocusGained', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Tmux', 'cm_refresh_length': 4}, 'cm-filepath': {'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'early_cache': 0, 'name': 'cm-filepath', 'priority': 6, 'enable': True, 'auto_popup': 1, 'cm_refresh_length': 4, 'sort': 0, 'channel': {'id': 6, 'module': 'cm_sources.cm_filepath', 'events': [], 'type': 'python3'}, 'abbreviation': 'path', 'word_pattern': '([^\\W]|[-.~%$])+'}}, 'cm-filepath', {'scope_match': '', 'lnum': 55, 'bufnr': 1, 'changedtick': 7, 'typed': '        array_ma', 'base': 'array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'col': 17, 'early_cache': False, 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php', 'scope': 'php', 'force': 0, 'startcol': 9, 'match_end': 8}, 9, [{'word': 'Encryptor.php', 'menu': '~buf', 'icase': 1, 'dup': 1}, {'word': 'Exception', 'menu': '~buf', 'icase': 1, 'dup': 1}, {'word': 'Formatter', 'menu': '~buf', 'icase': 1, 'dup': 1}, {'word': '.git', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': '.gitignore', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': '.travis.yml', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'build', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'composer.json', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'composer.lock', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'docker-compose.yml', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'LICENSE', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'phpunit.xml.dist', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'README.md', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'src', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'tests', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'vendor', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'bin', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'boot', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'dev', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'etc', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'home', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'lib', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'lib64', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'lost+found', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'media', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'mnt', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'opt', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'proc', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'root', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'run', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'sbin', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'srv', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'sys', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'tmp', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'usr', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'var', 'menu': '~root', 'icase': 1, 'dup': 1}], 0, 0, '']
2017-08-07 21:38:30,456 [DEBUG @ cm_core.py:cm_complete:196] 10641 - <cm-filepath> preprocessing result startcol: 9 matches: []
2017-08-07 21:38:30,456 [DEBUG @ cm_core.py:cm_complete:200] 10641 - Not popping up, not refreshing for cm_complete by cm-filepath, startcol 9
2017-08-07 21:38:30,456 [DEBUG @ cm.py:on_notification:243] 10641 - core method cm_complete completed
2017-08-07 21:38:30,458 [DEBUG @ cm.py:on_notification:226] 10641 - core method: cm_complete, args: [{'cm-css': {'scopes': ['css', 'scss'], 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'name': 'cm-css', 'priority': 9, 'scoping': 1, 'early_cache': 0, 'sort': 1, 'enable': 1, 'cm_refresh_length': 3, 'abbreviation': 'css', 'word_pattern': '[\\w\\-]+'}, 'cm-bufkeyword': {'early_cache': 0, 'name': 'cm-bufkeyword', 'priority': 5, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 7, 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Key', 'cm_refresh_length': 4}, 'cm-jedi': {'scopes': ['python'], 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'early_cache': 1, 'name': 'cm-jedi', 'priority': 9, 'enable': True, 'auto_popup': 1, 'scoping': True, 'sort': 1, 'channel': {'module': 'cm_sources.cm_jedi', 'events': [], 'type': 'python3', 'multi_thread': 0}, 'abbreviation': 'Py', 'cm_refresh_length': 3}, 'LanguageClient_php': {'scopes': ['php'], 'cm_refresh_patterns': ['\\$', '\\>'], 'cm_refresh': 'LanguageClient_completionManager_refresh', 'early_cache': 0, 'name': 'LanguageClient_php', 'priority': 9, 'enable': 1, 'auto_popup': 1, 'sort': 1, 'abbreviation': '', 'cm_refresh_length': 3}, 'cm-keyword-continue': {'early_cache': 0, 'name': 'cm-keyword-continue', 'priority': 5, 'enable': True, 'sort': 0, 'cm_refresh_length': 0, 'auto_popup': 0, 'channel': {'id': 8, 'module': 'cm_sources.cm_keyword_continue', 'events': [], 'type': 'python3'}, 'abbreviation': '', 'word_pattern': '\\w+'}, 'cm-gocode': {'scopes': ['go'], 'cm_refresh_patterns': ['\\.'], 'early_cache': 1, 'name': 'cm-gocode', 'priority': 9, 'enable': True, 'auto_popup': 1, 'sort': 1, 'scoping': True, 'cm_refresh_length': 3, 'channel': {'module': 'cm_sources.cm_gocode', 'events': [], 'type': 'python3'}, 'abbreviation': 'Go', 'word_pattern': '[\\w/]+'}, 'cm-tags': {'early_cache': 0, 'name': 'cm-tags', 'priority': 6, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 5, 'module': 'cm_sources.cm_tags', 'events': ['WinEnter'], 'type': 'python3'}, 'abbreviation': 'Tag', 'cm_refresh_length': 4}, 'cm-tmux': {'early_cache': 0, 'name': 'cm-tmux', 'priority': 4, 'enable': False, 'auto_popup': 1, 'sort': 1, 'channel': {'module': 'cm_sources.cm_tmux', 'events': ['CursorHold', 'CursorHoldI', 'FocusGained', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Tmux', 'cm_refresh_length': 4}, 'cm-filepath': {'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'early_cache': 0, 'name': 'cm-filepath', 'priority': 6, 'enable': True, 'auto_popup': 1, 'cm_refresh_length': 4, 'sort': 0, 'channel': {'id': 6, 'module': 'cm_sources.cm_filepath', 'events': [], 'type': 'python3'}, 'abbreviation': 'path', 'word_pattern': '([^\\W]|[-.~%$])+'}}, 'cm-bufkeyword', {'scope_match': '', 'lnum': 55, 'bufnr': 1, 'changedtick': 7, 'typed': '        array_ma', 'base': 'array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'col': 17, 'early_cache': False, 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php', 'scope': 'php', 'force': 0, 'startcol': 9, 'match_end': 8}, 9, [], False, 0, '']
2017-08-07 21:38:30,458 [DEBUG @ cm_core.py:cm_complete:196] 10641 - <cm-bufkeyword> preprocessing result startcol: 9 matches: []
2017-08-07 21:38:30,458 [DEBUG @ cm_core.py:cm_complete:200] 10641 - Not popping up, not refreshing for cm_complete by cm-bufkeyword, startcol 9
2017-08-07 21:38:30,458 [DEBUG @ cm.py:on_notification:243] 10641 - core method cm_complete completed
2017-08-07 21:38:30,493 [DEBUG @ cm.py:on_notification:226] 10641 - core method: cm_complete, args: [{'cm-css': {'scopes': ['css', 'scss'], 'cm_refresh_patterns': ['[\\w\\-]+\\s*:\\s+'], 'cm_refresh': {'omnifunc': 'csscomplete#CompleteCSS'}, 'auto_popup': 1, 'name': 'cm-css', 'priority': 9, 'scoping': 1, 'early_cache': 0, 'sort': 1, 'enable': 1, 'cm_refresh_length': 3, 'abbreviation': 'css', 'word_pattern': '[\\w\\-]+'}, 'cm-bufkeyword': {'early_cache': 0, 'name': 'cm-bufkeyword', 'priority': 5, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 7, 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Key', 'cm_refresh_length': 4}, 'cm-jedi': {'scopes': ['python'], 'cm_refresh_patterns': ['^(import|from).*\\s', '\\.', '\\(\\s?', ',\\s?'], 'early_cache': 1, 'name': 'cm-jedi', 'priority': 9, 'enable': True, 'auto_popup': 1, 'scoping': True, 'sort': 1, 'channel': {'module': 'cm_sources.cm_jedi', 'events': [], 'type': 'python3', 'multi_thread': 0}, 'abbreviation': 'Py', 'cm_refresh_length': 3}, 'LanguageClient_php': {'scopes': ['php'], 'cm_refresh_patterns': ['\\$', '\\>'], 'cm_refresh': 'LanguageClient_completionManager_refresh', 'early_cache': 0, 'name': 'LanguageClient_php', 'priority': 9, 'enable': 1, 'auto_popup': 1, 'sort': 1, 'abbreviation': '', 'cm_refresh_length': 3}, 'cm-keyword-continue': {'early_cache': 0, 'name': 'cm-keyword-continue', 'priority': 5, 'enable': True, 'sort': 0, 'cm_refresh_length': 0, 'auto_popup': 0, 'channel': {'id': 8, 'module': 'cm_sources.cm_keyword_continue', 'events': [], 'type': 'python3'}, 'abbreviation': '', 'word_pattern': '\\w+'}, 'cm-gocode': {'scopes': ['go'], 'cm_refresh_patterns': ['\\.'], 'early_cache': 1, 'name': 'cm-gocode', 'priority': 9, 'enable': True, 'auto_popup': 1, 'sort': 1, 'scoping': True, 'cm_refresh_length': 3, 'channel': {'module': 'cm_sources.cm_gocode', 'events': [], 'type': 'python3'}, 'abbreviation': 'Go', 'word_pattern': '[\\w/]+'}, 'cm-tags': {'early_cache': 0, 'name': 'cm-tags', 'priority': 6, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 5, 'module': 'cm_sources.cm_tags', 'events': ['WinEnter'], 'type': 'python3'}, 'abbreviation': 'Tag', 'cm_refresh_length': 4}, 'cm-tmux': {'early_cache': 0, 'name': 'cm-tmux', 'priority': 4, 'enable': False, 'auto_popup': 1, 'sort': 1, 'channel': {'module': 'cm_sources.cm_tmux', 'events': ['CursorHold', 'CursorHoldI', 'FocusGained', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Tmux', 'cm_refresh_length': 4}, 'cm-filepath': {'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'early_cache': 0, 'name': 'cm-filepath', 'priority': 6, 'enable': True, 'auto_popup': 1, 'cm_refresh_length': 4, 'sort': 0, 'channel': {'id': 6, 'module': 'cm_sources.cm_filepath', 'events': [], 'type': 'python3'}, 'abbreviation': 'path', 'word_pattern': '([^\\W]|[-.~%$])+'}}, 'LanguageClient_php', {'scope_match': 'php', 'lnum': 55, 'bufnr': 1, 'changedtick': 7, 'typed': '        array_ma', 'base': 'array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'col': 17, 'early_cache': False, 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php', 'scope': 'php', 'force': 0, 'startcol': 9, 'match_end': 8}, 9, [{'word': '\\array_map', 'menu': 'array', 'info': 'Applies the callback to the elements of the given arrays', 'abbr': 'array_map', 'icase': 1, 'dup': 1}], True, 0, '']
2017-08-07 21:38:30,494 [DEBUG @ cm_core.py:cm_complete:196] 10641 - <LanguageClient_php> preprocessing result startcol: 9 matches: []
2017-08-07 21:38:30,494 [DEBUG @ cm_core.py:cm_complete:200] 10641 - Not popping up, not refreshing for cm_complete by LanguageClient_php, startcol 9
2017-08-07 21:38:30,494 [DEBUG @ cm.py:on_notification:243] 10641 - core method cm_complete completed
2017-08-07 21:38:30,522 [INFO @ cm_core.py:_refresh_completions:559] 10641 - _refresh_completions names: ['LanguageClient_php', 'cm-filepath'], startcol: 16, matches cnt: 0
2017-08-07 21:38:30,522 [DEBUG @ cm_core.py:_refresh_completions:560] 10641 - _refresh_completions names: ['LanguageClient_php', 'cm-filepath'], startcol: 16, matches: [], source matches: {'cm-filepath': {'startcol': 9, 'refresh': 0, 'matches': [{'word': 'Encryptor.php', 'menu': '~buf', 'icase': 1, 'dup': 1}, {'word': 'Exception', 'menu': '~buf', 'icase': 1, 'dup': 1}, {'word': 'Formatter', 'menu': '~buf', 'icase': 1, 'dup': 1}, {'word': '.git', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': '.gitignore', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': '.travis.yml', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'build', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'composer.json', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'composer.lock', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'docker-compose.yml', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'LICENSE', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'phpunit.xml.dist', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'README.md', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'src', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'tests', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'vendor', 'menu': '~cwd', 'icase': 1, 'dup': 1}, {'word': 'bin', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'boot', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'dev', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'etc', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'home', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'lib', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'lib64', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'lost+found', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'media', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'mnt', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'opt', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'proc', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'root', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'run', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'sbin', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'srv', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'sys', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'tmp', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'usr', 'menu': '~root', 'icase': 1, 'dup': 1}, {'word': 'var', 'menu': '~root', 'icase': 1, 'dup': 1}], 'context': {'scope_match': '', 'lnum': 55, 'bufnr': 1, 'changedtick': 7, 'typed': '        array_ma', 'base': 'array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'col': 17, 'early_cache': False, 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php', 'scope': 'php', 'force': 0, 'startcol': 9, 'match_end': 8}, 'enable': True, 'last_matches': []}, 'LanguageClient_php': {'startcol': 9, 'refresh': True, 'matches': [{'word': '\\array_map', 'menu': 'array', 'info': 'Applies the callback to the elements of the given arrays', 'abbr': 'array_map', 'icase': 1, 'dup': 1}], 'context': {'scope_match': 'php', 'lnum': 55, 'bufnr': 1, 'changedtick': 7, 'typed': '        array_ma', 'base': 'array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'col': 17, 'early_cache': False, 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php', 'scope': 'php', 'force': 0, 'startcol': 9, 'match_end': 8}, 'enable': True, 'last_matches': []}}
2017-08-07 21:38:30,522 [INFO @ cm_core.py:_complete:605] 10641 - matches==0, _last_matches==0, ignore
2017-08-07 21:38:58,964 [DEBUG @ cm.py:on_notification:226] 10641 - core method: cm_insert_leave, args: []
2017-08-07 21:38:58,964 [INFO @ cm.py:on_notification:239] 10641 - method: cm_insert_leave not implemented, ignore this message
2017-08-07 21:39:02,520 [INFO @ cm_core.py:cm_shutdown:731] 10641 - channel cm-tags already terminated
2017-08-07 21:39:02,520 [INFO @ cm_core.py:cm_shutdown:731] 10641 - channel cm-filepath already terminated
2017-08-07 21:39:02,521 [INFO @ cm_core.py:cm_shutdown:731] 10641 - channel cm-bufkeyword already terminated
2017-08-07 21:39:02,521 [INFO @ cm_core.py:cm_shutdown:731] 10641 - channel cm-keyword-continue already terminated

nvim.log_py3_cm_sources.cm_bufkeyword

2017-08-07 21:38:08,918 [INFO @ cm_start.py:main:47] 10646 - start_channel for cm_sources.cm_bufkeyword
2017-08-07 21:38:08,923 [INFO @ cm.py:setup_neovim:150] 10646 - connecting to neovim server: /tmp/nvimCgxz4p/0
2017-08-07 21:38:08,938 [INFO @ cm_bufkeyword.py:refresh_keyword:35] 10646 - refreshing_keyword, word_pattern [(-?\d*\.\d\w*)|([^\`\~\!\@\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)]
2017-08-07 21:38:08,940 [INFO @ cm_bufkeyword.py:refresh_keyword:47] 10646 - keyword refresh begin, current count: 0
2017-08-07 21:38:08,941 [INFO @ cm_bufkeyword.py:refresh_keyword:70] 10646 - keyword refresh complete, count: 0
2017-08-07 21:38:08,941 [INFO @ cm.py:start_and_run_channel:201] 10646 - <cm-bufkeyword> handler created, entering event loop
2017-08-07 21:38:08,941 [INFO @ cm.py:start_and_run_channel:253] 10646 - <cm-bufkeyword> entering event loop
2017-08-07 21:38:08,941 [DEBUG @ cm.py:on_notification:226] 10646 - channel method: cm_setup, args: []
2017-08-07 21:38:08,941 [INFO @ cm.py:on_notification:239] 10646 - method: cm_setup not implemented, ignore this message
2017-08-07 21:38:11,065 [DEBUG @ cm.py:on_notification:226] 10646 - channel method: cm_event, args: ['BufEnter', {'lnum': 1, 'bufnr': 1, 'col': 1, 'changedtick': 4, 'typed': '', 'filetype': 'php', 'curpos': [0, 1, 1, 0, 1], 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php'}]
2017-08-07 21:38:11,066 [INFO @ cm_bufkeyword.py:refresh_keyword:35] 10646 - refreshing_keyword, word_pattern [(-?\d*\.\d\w*)|([^\-\`\~\!\@\#\%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)]
2017-08-07 21:38:11,192 [INFO @ cm_bufkeyword.py:refresh_keyword:47] 10646 - keyword refresh begin, current count: 0
2017-08-07 21:38:11,197 [INFO @ cm_bufkeyword.py:refresh_keyword:70] 10646 - keyword refresh complete, count: 152
2017-08-07 21:38:11,197 [DEBUG @ cm.py:on_notification:243] 10646 - channel method cm_event completed
2017-08-07 21:38:28,639 [DEBUG @ cm.py:on_notification:226] 10646 - channel method: cm_event, args: ['InsertEnter', {'lnum': 55, 'bufnr': 1, 'col': 9, 'changedtick': 6, 'typed': '        ', 'filetype': 'php', 'curpos': [0, 55, 9, 0, 9], 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php'}]
2017-08-07 21:38:28,640 [INFO @ cm_bufkeyword.py:refresh_keyword:35] 10646 - refreshing_keyword, word_pattern [(-?\d*\.\d\w*)|([^\-\`\~\!\@\#\%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)]
2017-08-07 21:38:28,688 [INFO @ cm_bufkeyword.py:refresh_keyword:47] 10646 - keyword refresh begin, current count: 0
2017-08-07 21:38:28,690 [INFO @ cm_bufkeyword.py:refresh_keyword:70] 10646 - keyword refresh complete, count: 152
2017-08-07 21:38:28,690 [DEBUG @ cm.py:on_notification:243] 10646 - channel method cm_event completed
2017-08-07 21:38:30,441 [DEBUG @ cm.py:on_notification:226] 10646 - channel method: cm_refresh, args: [{'early_cache': 0, 'name': 'cm-bufkeyword', 'priority': 5, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 7, 'module': 'cm_sources.cm_bufkeyword', 'events': ['InsertEnter', 'BufEnter'], 'type': 'python3'}, 'abbreviation': 'Key', 'cm_refresh_length': 4}, {'scope_match': '', 'lnum': 55, 'bufnr': 1, 'changedtick': 7, 'typed': '        array_ma', 'base': 'array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'col': 17, 'early_cache': False, 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php', 'scope': 'php', 'force': 0, 'startcol': 9, 'match_end': 8}]
2017-08-07 21:38:30,443 [INFO @ cm_bufkeyword.py:refresh_keyword:35] 10646 - refreshing_keyword, word_pattern [(-?\d*\.\d\w*)|([^\-\`\~\!\@\#\%\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)]
2017-08-07 21:38:30,447 [INFO @ cm_bufkeyword.py:refresh_keyword:47] 10646 - keyword refresh begin, current count: 152
2017-08-07 21:38:30,453 [INFO @ cm_bufkeyword.py:refresh_keyword:70] 10646 - keyword refresh complete, count: 152
2017-08-07 21:38:30,455 [DEBUG @ cm.py:on_notification:243] 10646 - channel method cm_refresh completed

nvim.log_py3_cm_sources.cm_filepath

2017-08-07 21:38:08,916 [INFO @ cm_start.py:main:47] 10645 - start_channel for cm_sources.cm_filepath
2017-08-07 21:38:08,920 [INFO @ cm.py:setup_neovim:150] 10645 - connecting to neovim server: /tmp/nvimCgxz4p/0
2017-08-07 21:38:08,934 [INFO @ cm.py:start_and_run_channel:201] 10645 - <cm-filepath> handler created, entering event loop
2017-08-07 21:38:08,934 [INFO @ cm.py:start_and_run_channel:253] 10645 - <cm-filepath> entering event loop
2017-08-07 21:38:08,934 [DEBUG @ cm.py:on_notification:226] 10645 - channel method: cm_setup, args: []
2017-08-07 21:38:08,934 [INFO @ cm.py:on_notification:239] 10645 - method: cm_setup not implemented, ignore this message
2017-08-07 21:38:30,441 [DEBUG @ cm.py:on_notification:226] 10645 - channel method: cm_refresh, args: [{'options': {'path_pattern': '(([^\\W]|[-.~%$]|[/\\\\])+)'}, 'cm_refresh_patterns': ['(\\.[/\\\\]+|[a-zA-Z]:\\\\+|~\\/+)', '([^\\W]|[-.~%$]|[/\\\\])+[/\\\\]+'], 'early_cache': 0, 'name': 'cm-filepath', 'priority': 6, 'enable': True, 'auto_popup': 1, 'cm_refresh_length': 4, 'sort': 0, 'channel': {'id': 6, 'module': 'cm_sources.cm_filepath', 'events': [], 'type': 'python3'}, 'abbreviation': 'path', 'word_pattern': '([^\\W]|[-.~%$])+'}, {'scope_match': '', 'lnum': 55, 'bufnr': 1, 'changedtick': 7, 'typed': '        array_ma', 'base': 'array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'col': 17, 'early_cache': False, 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php', 'scope': 'php', 'force': 0, 'startcol': 9, 'match_end': 8}]
2017-08-07 21:38:30,444 [DEBUG @ cm_filepath.py:cm_refresh:46] 10645 - dir: 
2017-08-07 21:38:30,447 [DEBUG @ cm_filepath.py:cm_refresh:64] 10645 - searching dir: /home/nicolas/www/NmureEncryptor/src/
2017-08-07 21:38:30,448 [DEBUG @ cm_filepath.py:cm_refresh:68] 10645 - search result: ['Encryptor.php', 'Exception', 'Formatter']
2017-08-07 21:38:30,449 [DEBUG @ cm_filepath.py:cm_refresh:64] 10645 - searching dir: /home/nicolas/www/NmureEncryptor/
2017-08-07 21:38:30,449 [DEBUG @ cm_filepath.py:cm_refresh:68] 10645 - search result: ['.git', '.gitignore', '.travis.yml', 'build', 'composer.json', 'composer.lock', 'docker-compose.yml', 'LICENSE', 'phpunit.xml.dist', 'README.md', 'src', 'tests', 'vendor']
2017-08-07 21:38:30,449 [DEBUG @ cm_filepath.py:cm_refresh:64] 10645 - searching dir: /
2017-08-07 21:38:30,449 [DEBUG @ cm_filepath.py:cm_refresh:68] 10645 - search result: ['bin', 'boot', 'dev', 'etc', 'home', 'lib', 'lib64', 'lost+found', 'media', 'mnt', 'opt', 'proc', 'root', 'run', 'sbin', 'srv', 'sys', 'tmp', 'usr', 'var']
2017-08-07 21:38:30,449 [DEBUG @ cm_filepath.py:cm_refresh:90] 10645 - startcol: 9, matches: [{'word': 'Encryptor.php', 'icase': 1, 'menu': '~buf', 'dup': 1}, {'word': 'Exception', 'icase': 1, 'menu': '~buf', 'dup': 1}, {'word': 'Formatter', 'icase': 1, 'menu': '~buf', 'dup': 1}, {'word': '.git', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': '.gitignore', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': '.travis.yml', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'build', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'composer.json', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'composer.lock', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'docker-compose.yml', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'LICENSE', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'phpunit.xml.dist', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'README.md', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'src', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'tests', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'vendor', 'icase': 1, 'menu': '~cwd', 'dup': 1}, {'word': 'bin', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'boot', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'dev', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'etc', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'home', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'lib', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'lib64', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'lost+found', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'media', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'mnt', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'opt', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'proc', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'root', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'run', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'sbin', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'srv', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'sys', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'tmp', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'usr', 'icase': 1, 'menu': '~root', 'dup': 1}, {'word': 'var', 'icase': 1, 'menu': '~root', 'dup': 1}]
2017-08-07 21:38:30,451 [DEBUG @ cm.py:on_notification:243] 10645 - channel method cm_refresh completed

nvim.log_py3_cm_sources.cm_keyword_continue

2017-08-07 21:38:08,920 [INFO @ cm_start.py:main:47] 10647 - start_channel for cm_sources.cm_keyword_continue
2017-08-07 21:38:08,925 [INFO @ cm.py:setup_neovim:150] 10647 - connecting to neovim server: /tmp/nvimCgxz4p/0
2017-08-07 21:38:08,939 [INFO @ cm.py:start_and_run_channel:201] 10647 - <cm-keyword-continue> handler created, entering event loop
2017-08-07 21:38:08,939 [INFO @ cm.py:start_and_run_channel:253] 10647 - <cm-keyword-continue> entering event loop
2017-08-07 21:38:08,939 [DEBUG @ cm.py:on_notification:226] 10647 - channel method: cm_setup, args: []
2017-08-07 21:38:08,939 [INFO @ cm.py:on_notification:239] 10647 - method: cm_setup not implemented, ignore this message

nvim.log_py3_cm_sources.cm_tags

2017-08-07 21:38:08,916 [INFO @ cm_start.py:main:47] 10644 - start_channel for cm_sources.cm_tags
2017-08-07 21:38:08,920 [INFO @ cm.py:setup_neovim:150] 10644 - connecting to neovim server: /tmp/nvimCgxz4p/0
2017-08-07 21:38:08,937 [INFO @ cm.py:start_and_run_channel:201] 10644 - <cm-tags> handler created, entering event loop
2017-08-07 21:38:08,938 [INFO @ cm.py:start_and_run_channel:253] 10644 - <cm-tags> entering event loop
2017-08-07 21:38:08,938 [DEBUG @ cm.py:on_notification:226] 10644 - channel method: cm_setup, args: []
2017-08-07 21:38:08,938 [INFO @ cm.py:on_notification:239] 10644 - method: cm_setup not implemented, ignore this message
2017-08-07 21:38:30,441 [DEBUG @ cm.py:on_notification:226] 10644 - channel method: cm_refresh, args: [{'early_cache': 0, 'name': 'cm-tags', 'priority': 6, 'enable': True, 'auto_popup': 1, 'sort': 1, 'channel': {'id': 5, 'module': 'cm_sources.cm_tags', 'events': ['WinEnter'], 'type': 'python3'}, 'abbreviation': 'Tag', 'cm_refresh_length': 4}, {'scope_match': '', 'lnum': 55, 'bufnr': 1, 'changedtick': 7, 'typed': '        array_ma', 'base': 'array_ma', 'filetype': 'php', 'curpos': [0, 55, 17, 0, 17], 'col': 17, 'early_cache': False, 'filepath': '/home/nicolas/www/NmureEncryptor/src/Encryptor.php', 'scope': 'php', 'force': 0, 'startcol': 9, 'match_end': 8}]
2017-08-07 21:38:30,443 [INFO @ cm_tags.py:cm_refresh:54] 10644 - matches len 0
2017-08-07 21:38:30,444 [DEBUG @ cm.py:on_notification:243] 10644 - channel method cm_refresh completed

nvim.log_py3_rplugin

2017-08-07 21:38:08,599 [INFO @ session.py:request:97] 10639 - 'Received error: [1, b'Key not found']
2017-08-07 21:38:08,602 [INFO @ session.py:request:97] 10639 - 'Received error: [1, b'Key not found']
2017-08-07 21:38:08,603 [INFO @ session.py:request:97] 10639 - 'Received error: [1, b'Key not found']
2017-08-07 21:38:08,604 [INFO @ session.py:request:97] 10639 - 'Received error: [1, b'Key not found']
2017-08-07 21:38:11,248 [INFO @ session.py:request:97] 10639 - 'Received error: [1, b'Key not found']
2017-08-07 21:38:11,251 [INFO @ session.py:request:97] 10639 - 'Received error: [1, b'Key not found']
2017-08-07 21:38:11,253 [INFO @ session.py:request:97] 10639 - 'Received error: [1, b'Key not found']
2017-08-07 21:38:11,255 [INFO @ session.py:request:97] 10639 - 'Received error: [1, b'Key not found']
2017-08-07 21:38:11,486 [INFO @ session.py:request:97] 10639 - 'Received error: [1, b'Key not found']

nvim.log_py3_script

2017-08-07 21:38:08,591 [INFO @ script_host.py:setup:52] 10640 - install import hook/path
2017-08-07 21:38:08,591 [INFO @ script_host.py:setup:57] 10640 - redirect sys.stdout and sys.stderr

Do you have any clue from where the problem comes ?

Thank you for your help 😃

roxma commented 7 years ago

Is there a namespace declaration in the file? If it is, see https://github.com/felixfbecker/php-language-server/issues/273

roxma commented 7 years ago

I'm closing this issue. According to the log files, php language server pass empty result. This is not ncm issue.

It's still open for further discussion, in case you're having trouble debugging this issue.

nicolasmure commented 7 years ago

Yes, there is a namespace declaration. Thank you for this detail :)

roxma commented 7 years ago

I think I should cc @felixfbecker 😆