Environment and development tools: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 78: Line 78:
For this see page [[FAQ Get,update GIT project sources]].
For this see page [[FAQ Get,update GIT project sources]].


==== Codium ====
Codium est la version Libre de VSCode, la documentation suivante s'appliquera donc probablement à vscode.
Voici la liste des modules complémentaire conseillés:
* PHP Intelephense
* phpdoc-comment
* PHPUnit
* PHP CS Fixer
If you develop add-ons for Dolibarr, you will appreciate having the definitions of functions and other objects of dolibarr without having to source the complete tree of dolibarr...
All this is done by retrieving the stubs from <nowiki>https://packagist.org/packages/caprel/dolibarr-stubs</nowiki>.
Once the stub is downloaded / or installed following the doc, remember to add the dolibarr-stubs file to the list of stubs of your codium, edit the file ~/.config/VSCodium/User/settings.json
<syntaxhighlight>
"intelephense.stubs": [
  "apache",
  "intl",
  "standard",
  "/media/erics/stockage/tmp/dolibarr/stubs",
],
"intelephense.environment.includePaths": [
  "/media/erics/stockage/tmp/dolibarr/stubs",
],
</syntaxhighlight>


=== VSCode ===
=== VSCode ===

Navigation menu