( ycmd )
| 49 | |
| 50 | |
| 51 | def _FormatYcmdDebugInfo( ycmd ): |
| 52 | python = ycmd[ 'python' ] |
| 53 | clang = ycmd[ 'clang' ] |
| 54 | message = ( |
| 55 | f'Server Python interpreter: { python[ "executable" ] }\n' |
| 56 | f'Server Python version: { python[ "version" ] }\n' |
| 57 | f'Server has Clang support compiled in: { clang[ "has_support" ] }\n' |
| 58 | f'Clang version: { clang[ "version" ] }\n' ) |
| 59 | extra_conf = ycmd[ 'extra_conf' ] |
| 60 | extra_conf_path = extra_conf[ 'path' ] |
| 61 | if not extra_conf_path: |
| 62 | message += 'No extra configuration file found\n' |
| 63 | elif not extra_conf[ 'is_loaded' ]: |
| 64 | message += ( 'Extra configuration file found but not loaded\n' |
| 65 | f'Extra configuration path: { extra_conf_path }\n' ) |
| 66 | else: |
| 67 | message += ( 'Extra configuration file found and loaded\n' |
| 68 | f'Extra configuration path: { extra_conf_path }\n' ) |
| 69 | return message |
| 70 | |
| 71 | |
| 72 | def _FormatCompleterDebugInfo( completer ): |
no outgoing calls
no test coverage detected