Gert-dev / php-ide-serenata

Atom IDE package that integrates the Serenata server to provide PHP code assistance
https://serenata.gitlab.io/
Other
274 stars 19 forks source link

PHP IDE #441

Closed tillkruss closed 6 years ago

tillkruss commented 6 years ago

I couldn't find an answer in the issues, I hope it's alright to ask questions here.

Is this package an addition to PHP IDE, or should this package run with PHP IDE disabled?

Gert-dev commented 6 years ago

Asking questions is alright!

This package is completely standalone and not an addition to the mentioned ide-php package. In fact, it could even be seen as a competitor.

ide-php integrates felixfbecker's language server into Atom, whilst this package integrates the Serenata ("language") server into Atom. Both have the same goal: providing code assistance for PHP, so you will likely encounter conflicts if both are enabled.

Due to the way the existing services work in Atom, you're likely not to see any errors but either to see duplicate results for things such as autocompletion - because both packages are providing suggestions - or just one of both for things such as the outline - as they select the results with the highest priority.

Since this package currently has settings that allow disabling most functionalities individually, it is in theory possible to disable e.g. linting and use the linting from ide-php if you so desire. However, note that the reverse may not apply if ide-php does not allow disabling anything.

I've also added a note about this to the README.