Closed mikehaertl closed 4 years ago
I see many _ around parameter or namespace names and duplicate \ in my hover or documentation popups:
_
\
app\tasks\Task::__construct
@param array $config
__app\\tasks\\Task::\_\_construct__
_@param_ array $config
[Trace - 11:04:05 AM] Received response 'textDocument/hover - (2)' in 9ms. Result: { "contents": { "kind": "markdown", "value": "__app\\\\tasks\\\\Task::\\_\\_construct__\n\n```php\n<?php\npublic function __construct($config = []) { }\n```\n\n_@param_ `array $config` \nobject configuration. The special key 'options' can\ncontain immutable options that will override default options from\n[[options()]]. Options can be fetched from [[getOption()].\n\n_@return_ `void`\n\n_@throws_ `yii\\base\\InvalidConfigException` — if an unknown option is passed" }, "range": { "start": { "line": 406, "character": 20 }, "end": { "line": 406, "character": 31 } } }
vim version: NVIM v0.5.0-506-gda6f38ab3 node version: v10.20.1 coc.nvim version: 0.0.78-0033e4e624 term: screen-256color platform: linux
I don't know if this is a problem of intelephense, coc.nvim or this extension. Any help welcome.
@marlonfan I think this is really an issue with intelephense and not this library. Will report it there.
I see many
_
around parameter or namespace names and duplicate\
in my hover or documentation popups:Expected
app\tasks\Task::__construct
@param array $config
Actual
__app\\tasks\\Task::\_\_construct__
_@param_ array $config
LSP response
Versions
vim version: NVIM v0.5.0-506-gda6f38ab3 node version: v10.20.1 coc.nvim version: 0.0.78-0033e4e624 term: screen-256color platform: linux
I don't know if this is a problem of intelephense, coc.nvim or this extension. Any help welcome.