This is not a problem with vscode-intelephense, but it is a problem when used from Vim. Completion items are also suggested in the following cases, but there is a glitch.
Before:
| is the cursor.
/**|
public function dummy1()
{
// ...snip
}
/**
*
*/
public function dummy2()
{
// ...snip
}
After:
This is a bug that causes the dummy2 method to disappear... :(
/**
*
* @return void
*/
public function dummy1()
{
//
}
Add feature
Added the ability to behave as follows.
Auto insert */ by typing /**.
Text will be /**| */. (| is the cursor)
Automatically triggers completion at the current cursor position.
/** [Intelephense PHPDoc] */ complemention items are suggested.
If this feature is not needed, it can be disabled. Set intelephense.client.autoCloseDocCommentDoSuggest to false.
Description
"intelephense" will suggest the completion item
/** [Intelephense PHPDoc] */
in the case of/**| */
.In
vscode-intelephense
,*/
is automatically inserted in the "Language Configuration" function of the VSCode itself. https://code.visualstudio.com/api/language-extensions/language-configuration-guideThis is not a problem with
vscode-intelephense
, but it is a problem when used from Vim. Completion items are also suggested in the following cases, but there is a glitch.Before:
After:
This is a bug that causes the dummy2 method to disappear... :(
Add feature
Added the ability to behave as follows.
*/
by typing/**
./**| */
. (|
is the cursor)/** [Intelephense PHPDoc] */
complemention items are suggested.If this feature is not needed, it can be disabled. Set
intelephense.client.autoCloseDocCommentDoSuggest
tofalse
.