microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
163.63k stars 29.04k forks source link

php function code edit #28881

Closed blueskyzh closed 7 years ago

blueskyzh commented 7 years ago
Extension Author Version
vscode-intelephense-client bmewburn 0.6.10
php-autocomplete bschulte 0.4.2
php-debug felixfbecker 1.10.0
php-intellisense felixfbecker 1.3.0
php-project FrogTheFrog 2.1.0
vscode-auto-open-markdown-preview hnw 0.0.4
ftp-simple humy2833 0.4.24
vue jcbuisson 0.1.5
goto-last-edit-location krizzdewizz 0.2.1
vue liuji-jim 0.1.5
vscode-JS-CSS-HTML-formatter lonefy 0.2.3
PowerShell ms-vscode 1.3.2
php-docblocker neilbrayfield 1.2.0
vscode-apielements vncz 0.6.6
twig whatwedo 1.0.2 ;

Steps to Reproduce:

1.Use php editing function, add function annotation, enter "/ *" and then click Enter, find the end of the comment more than a " /" 2.

jens1o commented 7 years ago

This sounds more than an issue with php-docblocker... It's working fine for me.

// cc @neild3r

ramya-rao-a commented 7 years ago

@blueskyzh I am not very familiar with the feature you are expecting. Can you elaborate on what is the expected behavior? Most likely like @jens1o mentioned, this must be coming from an extension that you have installed. In which case, please log this issue in the repo for the extension that you are using.

jens1o commented 7 years ago

To clarify: This feature he's trying to say(for what I understand) is when you're starting a docblock, you're getting this suggestion: image image when you hit enter, you get an additional line of asteriks:

image

This functionality is provided by php-docblocker. But I'm not sure what's wrong with this, it's just working perfectly.

bmewburn commented 7 years ago

This is a conflict between the docblocker and intelephense extensions. It's resolved in the latest release of intelephense bmewburn/intelephense#30

neild3r commented 7 years ago

@bmewburn yes you're correct. Hopefully soon we'll have #17530 merged and we can release versions of both of our extensions with the language config updates removed.