[oXygen-user] Problems with XQuery indentation.
David Lee
dlee at calldei.com
Mon Feb 13 08:59:57 CST 2012
I'm having two problems with xquery editor indentation that I suspect are in some option somewhere but can't find them.
1) Tab size and spaces
Can I set the Tab key to use Spaces and specify how many ? e.g. make Tab use 2 space characters.
2) Matching indentation of {}
When I declare a function the closing } doesn't auto-match the indentation of the opening }, and to make it worse when I use Enter it does indent ... which makes it harder.
e.g. Typing
declare function local:test()<ENTER>
{<ENTER>
<TAB>foo()<ENTER>
}
Leaves me with
declare function local:test()
{
foo()
} ---> Indented here
Maybe a minor point but when I see Oxygen matching to the open { why wont it match the indentation? Is there a way to get it to ?
Thanks for any hints
----------------------------------------
David A. Lee
dlee at calldei.com<mailto:dlee at calldei.com>
http://www.xmlsh.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20120213/b3df8012/attachment.html
More information about the oXygen-user
mailing list