CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript, Python code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Thu Apr 18, 2024 1:23 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: snippet window/library
PostPosted: Fri Aug 12, 2016 6:04 pm 
Offline

Joined: Fri Aug 12, 2016 3:52 pm
Posts: 1
I'm ready to but this but the one thing missing that is a deal breaker is a code snippet library. I found where I can enter snippets in but even after searching this forum I can't find a way to display and use them.

I saw something using autocomplete but that isn't really the same.

Any ideas?


Top
 Profile  
 
 Post subject: Re: snippet window/library
PostPosted: Mon Aug 15, 2016 11:31 am 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3931
Hi.

Yes, Codelobster's snippents work via autocomplete only.

---
In order to insert a snippet into a code you can enter snippet’s name and select a snippet from autocomplete list or press "ALT+Space" combination. After that a corresponding construction will be inserted into a code.

Navigation through the elements within construction is carried out by pressing "Tab" button.
Pressing "Enter" button completes a template insertion.
---
Creation of snippets:

Variables are set by "@" symbol. If you need to insert "@" sign into snippet text, this sign should be doubled such as "@@".

When the same variable is in several positions of a construction, edition of the variable in any position leads to automate changes in the rest positions to the right of the first changed position.

For example, let’s view "For" construction:

for($@i (1) = 0; $@i (2) < @cond; $@i (3)++){ @ }

Variable "@i" has three positions. If to set "one" name for the variable in position (1), the same name will be set to the rest variables to the right of the edited one, that is (2) and (3).

If you rename the variable in second occurrence (2) into "onetwo", so the variable in position (3) will get the same name.
---

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: snippet window/library
PostPosted: Wed Jan 11, 2017 3:30 am 
Offline

Joined: Thu Aug 04, 2016 10:06 am
Posts: 46
I saw something using autocomplete but that isn't really the same.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 49 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2016 phpBB Group