webksde / ddev-vscode-devcontainer-drupal-template

Drupal DDEV based development container with attached Visual Studio Code
22 stars 3 forks source link

Switch to DEVSENSE VSCode Plugins? #157

Open JPustkuchen opened 6 months ago

JPustkuchen commented 6 months ago

Perhaps we should do this in an experimental branch first, but after testing for 30 days I think these VSCode plugins are better then the combination we're using currently.

https://www.devsense.com/en/features#vscode

List of problems:

joshsedl commented 6 months ago

According to the documentation, this would make the following VSCode plugins obsolete:

But doesn't seem to replace "valeryanm.vscode-phpsab" (PHPCS) or it isn't stated on the feature list at least.

We shouldn't forget to adjust / delete any related VSCode settings!

joshsedl commented 6 months ago

I will start using it locally and give feedback, on what is missing / not working.

joshsedl commented 6 months ago

I created a list of problems in the issue summary.

First problem:

image

Here are a few PHPCS error after formatting a Drupal class with it:

It also doesn't work as linter and won't replace the sniffer part of "PHP Sniffer & Beautifier for Visual Studio Code" and since the formatter doesn't work properly, it also won't replace the "beautifier part".

joshsedl commented 4 months ago

Just used it for a bit again, but I just don't see it...

As it currently stands, it just isn't an out-of-the-box plugin and probably needs vast custom configurations. I really don't see it for a price point of 120€ per YEAR!! I rather just use intelephense for 20€ one time payment and even the free version of intelephense would suffice here.

I really don't see it with the amount of money + time investment to have a similar setup as the current one.

joshsedl commented 4 months ago

Of course, this isn't solely my decision to make. I just realized, that intelephense also doesn't provide PHP linting and its formatter isn't used either. To be fair, I rarely use any of the intelephense features at all, so if you @JPustkuchen find the DEVSENSE addon useful, we could of course integrate it and stay with "PHP Sniffer & Beautifier" as a linter / formatter like we currently do it with intelephense.

joshsedl commented 4 months ago

Currently using it for JTL Plugin development together with PHP Code Beautifier and I think its fine. Although the Performance seems worse than Intelliphense (takes longer to suggest methods) and the doc block creation doesn't seem to work? Is this a premium feature?

JPustkuchen commented 4 months ago

doc block works for me. ctrl+. on the function name