oxid-esales / oxideshop-ide-helper
OXID eShop IDE helper for code completion
Requires
- php: >=8.2
- oxid-esales/oxideshop-facts: *
- oxid-esales/oxideshop-unified-namespace-generator: *
- symfony/filesystem: ^6.3
- twig/twig: 3.8.0
Requires (Dev)
- mikey179/vfsstream: ~1.6.0
- phpunit/phpunit: ^10
- dev-b-8.0.x
- v6.3.0
- v6.2.0
- v6.1.1
- v6.1.0
- v6.0.0
- v5.0.0
- v4.2.0
- v4.1.0
- v4.0.0
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.0
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.0.0
- dev-b-7.3.x
- dev-b-7.3.x-symfony7-OXDEV-7754
- dev-b-7.2.x
- dev-b-8.0.x-twig-up
- dev-b-7.2.x-test-cherry-pick
- dev-b-7.1.x
- dev-b-7.0.x
- dev-b-6.5.x
- dev-b-6.3.x
- dev-b-6.2.x
This package is auto-updated.
Last update: 2024-12-18 14:33:24 UTC
README
Synapsis
This component generates a helper file for your IDE, which enables you to use
autocompletion for backwards compatible OXID eShop classes (e.g. class oxArticle
).
The name of the generated file is .ide-helper.php
(note the leading dot).
It's located in the root directory of your OXID eShop project.
Also this component generates a helper file for PhpStorm IDE so that virtual module
parent classes (*_parent) of namespaced modules are clickable. The name of the
generated file is .phpstorm.meta.php/oxid.meta.php
.
This enables you to find the related shop class that is extended by a module.
NOTE: in case of changes in modules please update the helper file as described below.
Installation
To install this component, run the following command in the root directory of your OXID eShop:
composer require --dev oxid-esales/oxideshop-ide-helper
Usage
To create or update the helper file, run the following command in the root directory of your OXID eShop project:
vendor/bin/oe-eshop-ide_helper
If you upgrade an existing OXID eShop edition (>= 6.x), the IDE helper file should be updated afterwards. Simply run the above command after the upgrade process.
Bugs and Issues
If you experience any bugs or issues, please report them in the section OXID eShop (all versions) of https://bugs.oxid-esales.com.
Known Issues
Virtual module parent classes (*_parent) are clickable but the class chain is not built. This affects the case that multiple modules chain extend the same shop class. Virtual parent classes for not namescpaed modules are not clickable.
Note for PhpStorm users
There is an excellent third-party plug-in for PhpStorm, which complements the functionality of this IDE helper component. See Haenchen's IntelliJ IDEA / PhpStorm Plugin for OXID for details and installation instructions.