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 25, 2024 1:27 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Auto Formatting options
PostPosted: Sat Jul 31, 2010 2:00 pm 
Offline

Joined: Sat Jul 31, 2010 1:47 pm
Posts: 1
Where can I define how the auto-formatting is done?
for example when I do the auto-format I get this:
<li>
<a href="index.html">
Home
</a>
</li>
I want it to be like this:
<li><a href="index.html">Home</a></li>
Is there a way I can set it so that certain blocks stay on the same line?
or even:
<li>
<a href="index.html">Home</a>
</li>

Are there auto-format options, and if so where are they?

Thanks.


Top
 Profile  
 
 Post subject: Re: Auto Formatting options
PostPosted: Sun Aug 01, 2010 3:43 pm 
Offline
Site Admin

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

Codelobster hasn't auto-format option that you described.

Codelobster has ability to format code -> look at the top Edit menu.

We are going to improve format feature soon.

Regards,
Codelobster Team.


Top
 Profile  
 
 Post subject: Re: Auto Formatting options
PostPosted: Mon Nov 01, 2010 5:03 pm 
Offline

Joined: Mon Nov 01, 2010 4:55 pm
Posts: 4
Location: Oklahoma City, OK, USA
I second Sheridan's request. I mistakenly hit the format option under the Edit menu. I ended up with an ever progressing tab stops, so that each node of my XML was pushed to the right. Only way to fix this was to go through my 1097 line xml and push them back.

Another nice feature to be added would be something like a xml validation check or auto syntax checker for xml and strict coded x/html language. This would help making sure that all nodes are closed properly. This is one feature of Notepad++ that I enjoyed.

but after seeing that you guys have a plug-in for jQuery and CodeIgniter, I am really trying to use your product. I typically spend 50% of my time modifying (by hand) XML files and the other 50% in jQuery/CodeIgniter.

respectfully,
Tony


Attachments:
File comment: picture of the pushing tab stops inside XML code
CL_errorWithXMLcodeColapsing.jpg
CL_errorWithXMLcodeColapsing.jpg [ 101.08 KiB | Viewed 28184 times ]

_________________
It is not the job you get handed, but what you have done with it in the end that gets noticed.
Top
 Profile  
 
 Post subject: Re: Auto Formatting options
PostPosted: Mon Nov 01, 2010 5:30 pm 
Offline

Joined: Tue Oct 12, 2010 1:00 pm
Posts: 63
Ctrl+A (select all)
LShift + Tab (indent)


Top
 Profile  
 
 Post subject: Re: Auto Formatting options
PostPosted: Mon Nov 01, 2010 6:05 pm 
Offline
Site Admin

Joined: Wed Sep 12, 2007 2:18 pm
Posts: 3932
Hi, Energetic Pixels.

1) Ctrl+Z will return your code into previous state.

2) Codelobster highlights all unclosed XML/HTML tags.
So you may check easy that all nodes are closed properly.

Regards,
Codelobster Team.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 144 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:  
Powered by phpBB © 2016 phpBB Group