Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    hassanbinsafdar
    @hassanbinsafdar
    hi
    i have some questions
    about wordpress api
    actually i installed it in atom and i was hoping that it will allow me to write code more efficiently like if i will type something it will show me functions and hools or refrence to related that post but nothing happens
    is there any option that i need to enable
    Azizur Rahman
    @azizur
    Hi,
    When you install the package and restart atom it should lot it by default, unless you intentionally disable it.
    /s/lot/load/
    hassanbinsafdar
    @hassanbinsafdar
    thanks when i type loop its give me loop but what if i want to use just one function like wp_nav_menus but when i type wp nothing show me is there any option
    Azizur Rahman
    @azizur
    This package is not as intelligent as you wish it to be. I have been trying to make it intelligent. Here is quick demo of me trying very basic thing. http://quick.as/3jvbcb9vp
    this only offers basic auto completion support
    hassanbinsafdar
    @hassanbinsafdar
    Thanks
    Mike Schinkel
    @mikeschinkel

    Trying to figure out if it is possible to get Atom to autocomplete for A::foo() if B is actually an instance method of class B and A contains a singleton instance of B, and the foo() call gets sent to A::__callStatic()?

    This is more of a PHP question but we are using in the context of WordPress: https://advancedwp.slack.com/archives/backpress/p1436995963006110

    Azizur Rahman
    @azizur
    Hi @mikeschinkel Thanks for dropping by.
    Mike Schinkel
    @mikeschinkel
    @azizur Thx. I'm not an Atom user, but others are and we are discussing a style of programming it would be nice to get autocomplete for for them.
    Azizur Rahman
    @azizur
    I have not tried that scenario. I am sure Atom's autocomplete will kick into this action at that point. Then again without having all the WordPress/PHP code indexed it will be challenge.
    I will welcome a PR for that feature if someone is volunteering.
    Mike Schinkel
    @mikeschinkel
    @azizur Thanks. So you think it is technically possible to make happen?
    Azizur Rahman
    @azizur
    Through reflection it will be possible. I am not sure
    I am not sure if atom has that capability and the performance implications for doing this within Atom.
    Mike Schinkel
    @mikeschinkel
    @azizur Thanks.
    Hamid Shariati
    @hmdshariati
    hi
    I install your package for atom
    but that not recognize some functions like 'add_filter' !