Open mizunashi-mana opened 8 years ago
Thanks for fix (https://github.com/ly95/vsc.phpmd/commit/a07700c672d030adb224beb84159cb4550cd98a3).
However, it seems no release was appeared. (https://marketplace.visualstudio.com/items?itemName=linyang95.phpmd)
Issues, if executablePath is empty will get error message.
@ly95 Hmm... phpmd plugin is running without error on my VSCode(v1.0.0) if executablePath is empty...
However, start is slowly. The reason may be "composer support"... I will try to fix.
Perhaps, It can be a resolver to change onInitialize
to return Promise. However, we have no solutions to get config params on initialize...
Many plugins seem to be not supported executablePath (maybe, the reason is such as...).
It's not work fine, a directory without composer.
@ly95 On my environment, working fine without composer. Are there any errors?
Perhaps, we should create gitter room and talk about in that room.
I will check again. Too busy recently. Sorry.
@ly95 I see, thanks.
See, https://github.com/ly95/vsc.phpmd/blob/master/server/src/server.ts#L113
Composer support using
''
as default executablePath value!There are two ways to solve: