Auto build constructors, getters and setters.
17 posts
• Page 1 of 2 • 1, 2
Auto build constructors, getters and setters.
I'm trying out the php tools and really like it, other than it doesn't seem to automatically build a constructor or getters and setters like netbeans has. Would this be hard to implement?
I also emailed devsense the other day asking if there was a discounted price for students... Haven't received a response yet...
I also emailed devsense the other day asking if there was a discounted price for students... Haven't received a response yet...
- sawebdev
- Posts: 25
- Joined: February 15th, 2014, 6:44 pm
Re: Auto build constructors, getters and setters.
Hi,
Thanks for suggestion. I guess you mean to add snippets for these three constructs? That's quite easy to implement, we'll add it in one of the future updates.
Thanks again!
Thanks for suggestion. I guess you mean to add snippets for these three constructs? That's quite easy to implement, we'll add it in one of the future updates.
Thanks again!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Auto build constructors, getters and setters.
This link https://netbeans.org/kb/docs/php/editor ... generators is what I'm talking about. but ya, sounds like you have the idea.
- sawebdev
- Posts: 25
- Joined: February 15th, 2014, 6:44 pm
Re: Auto build constructors, getters and setters.
I see! That's not just a snippet, but something as context sensitive snippet. That might take a little longer, since there isn't such a concept in Visual Studio by default.
At least for now you can just use function snippet which works fine, you'd just need to write the name (__constructor, __get, __set ).
At least for now you can just use function snippet which works fine, you'd just need to write the name (__constructor, __get, __set ).
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Auto build constructors, getters and setters.
Alright. No rush, just thought it would be nice, because it does save a lot of time, especially when following a professor who uses netbeans and uses that function.
Thanks
Thanks
- sawebdev
- Posts: 25
- Joined: February 15th, 2014, 6:44 pm
Re: Auto build constructors, getters and setters.
Another thing that I'm wondering if it would be possible to add... Happened to notice that breakpoints in javascript don't stop the debugger... would be a nice addition
- sawebdev
- Posts: 25
- Joined: February 15th, 2014, 6:44 pm
Re: Auto build constructors, getters and setters.
Breakpoints in JS should work when debugging in IE.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
Re: Auto build constructors, getters and setters.
I doesn't seem to be working for me, though might that be because I'm using jquery and ajax?
- sawebdev
- Posts: 25
- Joined: February 15th, 2014, 6:44 pm
Re: Auto build constructors, getters and setters.
jquery and ajax shouldn't be an issue here. What version of PHP Tools do you have? Since 1.10 Javascript debugging is turned on by default when Internet Explorer is used.
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbeno │ miloslav@devsense.com
-
Miloslav Beno - Posts: 1252
- Joined: January 7th, 2012, 8:36 pm
Re: Auto build constructors, getters and setters.
I'm using 2013 and VS 2013
- sawebdev
- Posts: 25
- Joined: February 15th, 2014, 6:44 pm
17 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 28 guests