foreach template not usefull for me
4 posts
• Page 1 of 1
foreach template not usefull for me
One of the last versions introduced the foreach auto completion template.
At least for me this is not usefull:
- It doesn't maintain the white space settings (I have four spaces instead of two)
- The first curly bracket is on a new line while our code always has it on the first line after the foreach statement in PHP
- I have to replace two dummy values 'array_expression' and 'value'
So this template slows me down as I have to reformat and replace things.
Is there an option to disable it for me (for others it might be usefull)?
Greetings,
Daniel
At least for me this is not usefull:
- It doesn't maintain the white space settings (I have four spaces instead of two)
- The first curly bracket is on a new line while our code always has it on the first line after the foreach statement in PHP
- I have to replace two dummy values 'array_expression' and 'value'
So this template slows me down as I have to reformat and replace things.
Is there an option to disable it for me (for others it might be usefull)?
Greetings,
Daniel
- Daniel
- Posts: 29
- Joined: September 9th, 2013, 2:51 pm
Re: foreach template not usefull for me
Hmm, maybe forget it: I simply have to write the foreach( myself without using tab to autocomplete it. I will try to get used to this.
Greetings,
Daniel
Greetings,
Daniel
- Daniel
- Posts: 29
- Joined: September 9th, 2013, 2:51 pm
Re: foreach template not usefull for me
Hi Daniel,
Thanks for giving us know!
1. A bug. It's fixed in the next updated
2. This will be handled once reformatting supports
3. I've changed it to $array $value, so you don't have to change it
Anyway as you've mentioned no need to use snippets. But most of the time it's just faster then typing.
Thanks!
Thanks for giving us know!
1. A bug. It's fixed in the next updated
2. This will be handled once reformatting supports
3. I've changed it to $array $value, so you don't have to change it
Anyway as you've mentioned no need to use snippets. But most of the time it's just faster then typing.
Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: foreach template not usefull for me
Great, thanks
Greetings,
Daniel
Greetings,
Daniel
- Daniel
- Posts: 29
- Joined: September 9th, 2013, 2:51 pm
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 13 guests