On Sun, 11 Dec 2011 19:54:32 -0800 (PST)
HansBKK <[email protected]> wrote:

> I'd like to ensure that **all** content nodes are being stored in my 
> derived-output dirstruc.

You can run this script to list all non-@<file> nodes in the log pane.

def report(p):

    if not p.v.anyAtFileNodeName():
        
        g.es(p.get_UNL(False))
        
        for i in p.children():
            report(i)

for i in c.rootPosition().self_and_siblings():
    report(i)

Just paste it into a node and click run-script.

Reading over your importing projects ideas quickly they seem like they
could work.  For recognized languages (Python, C, Javascript, rst) you
can use the @auto import to get the initial structure into nodes, and
switch to @shadow after that, if you want.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to