• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHPStorm Ci4 Live Templates (Snippets)??

#11
(11-18-2020, 05:17 PM)InsiteFX Wrote: Aw, I see mine is different I' m creating the auto complete using live templates.

Your creating them using xml.

No, i'm also using Live Templates.  When you export them out of PHPStorm, that is exactly what it gives you.

Did you import them into your environment to test and compare them?


Attached Files Thumbnail(s)
   

Bridging the gap between Technical and Creative

VASCOsoft Digital Media   |   AllMyLinks

Reply

#12
Oh, yep that's how I' m doing them now.

The download above gives you all of those by just clicking ctrl+j and selecting.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#13
(11-19-2020, 04:32 AM)InsiteFX Wrote: Oh, yep that's how I' m doing them now.

The download above gives you all of those by just clicking ctrl+j and selecting.

OK, good.  For the record, you don't even have to click ctrl-j to open the Live Template dialog,
you can just start typing the abbreviation, and it will be included in the autocomplete as well.

Let me know when you have the new ones done and I would like to review them.

Thanks.

Bridging the gap between Technical and Creative

VASCOsoft Digital Media   |   AllMyLinks

Reply

#14
Yes, I know that I was referring to the file templates you can highlight say libraries and then right click
select new then from file templates. Those are the ones in my download above they give you the complete classes.

I have the live templates from the above all done I'm now adding all the db and query builder live templates.

Half way through the query builder ones. Try to finish it all up tomorrow.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#15
Ok, here are the new Live Templates all of the Query Builder methods are in it.

I will update this later here.

Download:

CodeIgniter 4 - Live Templates for phpStorm.

Let me know what you think.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#16
(11-19-2020, 02:55 PM)InsiteFX Wrote: Ok, here are the new Live Templates all of the Query Builder methods are in it.

I will update this later here.

Download:

CodeIgniter 4 - Live Templates for phpStorm.

Let me know what you think.


Hey, that's a great start!  Now we just need to make them all SMART.

For example, my route template knows to name the URI and the Destination at the same time,
with the proper casing, and includes variables for the controller class, method, and params, all
with informative default placeholders.

Also, my templates automatically match their Class name to their File name, as they should.
My model template has variables for all of the most common table configuration options.
And I always make sure my templates all have their proper END points.

Keep up the good work, and let me know when you are finished!

Thanks!

-Sergio

Bridging the gap between Technical and Creative

VASCOsoft Digital Media   |   AllMyLinks

Reply

#17
Update 11-20-2020

Just a few other things to add .

Assed:

dbforge
constants
time
paths
almost all database stuff.

Same link to download.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#18
Another new update so download from above the link will not change.

Added:

CSP
Table
Parser
response

Let me know if you find anything missing.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.