NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Closing XML tag completion


Joined: 20 Feb 2012
Posts: 15
Reply with quote
Not sure if this already exists and I've overlooked the setting, but it'd be nice if tag completion was available for custom XML documents in the same way as it is for HTML.

Being lazy I'd find it really handy not having to copy paste tags to close them.
View user's profileFind all posts by klwSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
and this already exists

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Feb 2012
Posts: 15
Reply with quote
Hi Dmitri,

Could you explain where the setting is for it?

I had a skim through the settings and can only see two relevant options:

- Editor > Editor settings > Smart end

- Code Insight > Code completion > Trigger auto close

Neither of which enables auto closing of non html mark up like <mynode> </ ....
View user's profileFind all posts by klwSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
with all settings left by-default type the following
<?xml version="1.0" encoding="utf-8"?>
<abc>
</|
where | denotes cursor location
and press Ctrl+Space to have list of tags ready to close

ah, I see, probably you mean </abc> to appear without pressing Ctrl-space... Then -- no, it's not implemented.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 20 Feb 2012
Posts: 15
Reply with quote
Hi Dmitri,

Exactly; it's one of the few things I miss from Netbeans.

It'd be nice if closing xml tags worked in the same way as phpEd handles curly braces, html etc rather than have to start the two chars of the end tag and then hit ctrl+space.

It's not too bad though.

Thanks for the ctrl+space tip.
View user's profileFind all posts by klwSend private message
Closing XML tag completion
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 vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic