Course Hero Helper Plugin

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion Gogland DataGrip Rider Android Studio
24.05.2016
832
Code Generation:
- Service Injector: Inject Symfony2 services via annotations (@InjectParams)
- Service Test Generator: Generate test skeleton for Symfony2 services
- API Doc adder: Add API docs quickly

Download plugin

Recent change notes

3.0.1

Service Test Generator:

  • Fixed namespace issue
  • No longer imports primitive types ("use string")
3.0.0

Service Test Generator:

  • Now uses the same field names and same letter case as the original class instead of making its own
  • Now makes sure to create a field for each of the constructor's parameters (even if they are not a service) so that the constructor works...
  • Fixed a bug where it could not identify the correct constructor
  • Fixed a bug where it would generate gibberish if the constructor parameters did not have strict typing

Service Injector:

  • Now works by manipulating PSI elements instead of Regex, which made things much more consistent and less buggy
  • Now takes an optional second word for the service name that will be used as the field name for the injected service
  • Now automatically looks up the service class and imports it via a 'use' statement
  • Fixed a bug that, when injecting a service, would not let you autocomplete using the newly injected service