# |
Jul 23rd 2018, 13:36 |
flavius |
i've done it a couple of times now, does not exhibit any caching behavior :P |
# |
Jul 23rd 2018, 13:34 |
flavius |
i delete that, i type it again and AGAIN it takes 4 seconds to display the suggestion |
# |
Jul 23rd 2018, 13:34 |
flavius |
in a controller i'm just typing `$this->getReq` and pressing ctrl+space... it takes 4 seconds to load the suggestion |
# |
Jul 23rd 2018, 13:34 |
admad |
the intellisense plugin does caching |
# |
Jul 23rd 2018, 13:33 |
flavius |
does vs code not have a caching mechanism? |
# |
Jul 23rd 2018, 13:33 |
admad |
well if the java based monster works faster for you use that :slightly_smiling_face: |
# |
Jul 23rd 2018, 13:32 |
flavius |
Eclipse |
# |
Jul 23rd 2018, 13:32 |
admad |
@flavius "my other IDE" phpstorm? |
# |
Jul 23rd 2018, 13:32 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBUFG0LTS/image.png / https://slack-files.com/T053DPNCM-FBUFG0LTS-003cb2bc8f - it was for real deprecated, my IDE was showing it so i've fixed it with getRequest(), dereuromark then came along and updated it as a soft deprecation :slightly_smiling_face: |
# |
Jul 23rd 2018, 13:31 |
admad |
child classes can use protected properties :slightly_smiling_face: |
# |
Jul 23rd 2018, 13:31 |
admad |
"The property will become protected" |
# |
Jul 23rd 2018, 13:31 |
flavius |
however, i believe there was one or two if not more releases with it being deprecated and my other IDE was going crazy so I've fixed that |
# |
Jul 23rd 2018, 13:30 |
flavius |
https://github.com/cakephp/cakephp/blame/1f51a72d4b85ab98e0a1dcc195d50565c847724e/src/Controller/Controller.php#L128 |
# |
Jul 23rd 2018, 13:30 |
flavius |
` * Deprecated 3.6.0: The property will become protected in 4.0.0. Use getRequest()/setRequest instead.` -- yeah, dereuro, you fixed that with a soft deprecation 3 months ago |
# |
Jul 23rd 2018, 13:28 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBV32722F/image.png / https://slack-files.com/T053DPNCM-FBV32722F-c33045996a - yeah, and i've disabled the native php typehinting as well |
# |
Jul 23rd 2018, 13:28 |
admad |
@flavius have you installed the php intellisense plugin? |
# |
Jul 23rd 2018, 13:27 |
dereuromark |
he might not have latest code, it is fixed there to a soft deprecation |
# |
Jul 23rd 2018, 13:27 |
dereuromark |
for external use |
# |
Jul 23rd 2018, 13:27 |
admad |
it's made protected instead of public, not deprecated |
# |
Jul 23rd 2018, 13:27 |
dereuromark |
no |
# |
Jul 23rd 2018, 13:27 |
flavius |
`$this->request` was deprecated |
# |
Jul 23rd 2018, 13:26 |
styks1987 |
Their community page appears down too |
# |
Jul 23rd 2018, 13:26 |
dereuromark |
inside controller you shouldnt need getRequest() :slightly_smiling_face: |
# |
Jul 23rd 2018, 13:26 |
styks1987 |
Sorry this is off topic but I am at a loss where to find help on this. UPS test webservices appears to be down. I have no way to validate this outside of my connection. Does anyone know of a ups api status page? |
# |
Jul 23rd 2018, 13:25 |
flavius |
where's @admad pinging doctor @admad :P |
# |
Jul 23rd 2018, 13:24 |
flavius |
does VS code not cache anything? |
# |
Jul 23rd 2018, 13:24 |
flavius |
and everything is on a SSD |
# |
Jul 23rd 2018, 13:23 |
flavius |
4 seconds of loading to be exact |
# |
Jul 23rd 2018, 13:23 |
flavius |
you press ctrl + space and you're greeted with a "loading", how wonderful :P |
# |
Jul 23rd 2018, 13:22 |
flavius |
this feels sluggish |
# |
Jul 23rd 2018, 13:22 |
flavius |
my other IDE took it's sweet time to cache everything, sure i had to wait a bit to load the whole project but when it was ready everything was instant |
# |
Jul 23rd 2018, 13:21 |
flavius |
maybe there's a setting somewhere, however i'm a newb :slightly_smiling_face: |
# |
Jul 23rd 2018, 13:20 |
flavius |
and the loading is annoying me, it's not "instant" like i'm used to |
# |
Jul 23rd 2018, 13:20 |
flavius |
so now that works after trying it a second time |
# |
Jul 23rd 2018, 13:19 |
flavius |
File uploaded https://cakesf.slack.com/files/U75U0UMR9/FBUKW2QBT/image.png / https://slack-files.com/T053DPNCM-FBUKW2QBT-ba48a1b9b0 |
# |
Jul 23rd 2018, 13:17 |
dereuromark |
what code exist is still lacking? i am curious |
# |
Jul 23rd 2018, 13:16 |
flavius |
even with dereuromark's IDE helper |
# |
Jul 23rd 2018, 13:16 |
flavius |
@neon1024 so you haven't used it in any projects yet huh? im also trying it out but there's some code assist things that are lacking |
# |
Jul 23rd 2018, 13:15 |
flavius |
@dereuromark :slightly_smiling_face: |
# |
Jul 23rd 2018, 13:15 |
dereuromark |
I prefer components :slightly_smiling_face: |
# |
Jul 23rd 2018, 13:15 |
flavius |
you can have private functions that are helpers for those actions however |