I tried with a much smaller project, <10 files. 1. Imported files using script as below 2. files imported, as in, nodes are created in leo
http://imgur.com/ocKrT http://imgur.com/pF6hx But only the nodes are created, i don't see anything in the body pane for the actual file content. Is there a second step here? -Todd On Thursday, November 29, 2012 8:51:30 PM UTC-5, Todd Greenwood-Geer wrote: > > My apologies if this is a double post...I posted a few hours ago, but I > don't see what I posted...re-typing a shorter version here: > > As a test, I imported a project with ~400 java files into leo. Couple of > things: > > 1. This takes a long time to import > 2. When I hit Ctrl-S to save, I'm asked if I want to over-write each file > 3. I have to subsequently kill the leo process b/c canceling won't get me > out of this > > I followed the advice here for importing: > http://comments.gmane.org/gmane.comp.python.leo.general/20173 > > So... am I doing something wrong here? > > ------------------------------ > import script > ------------------------------ > > import os > > > @others > > > types = ('.py', '.java', '.scala', '.sh', '.build', '.gradle', '.html', > '.js') > > theDir = r'.' > > > if g.os_path_exists(theDir): > > importFiles(theDir,types,recursive=True) > > g.es("done",color="blue") > > else: > > g.es("directory does not exist: " + theDir) > > > -Todd > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To view this discussion on the web visit https://groups.google.com/d/msg/leo-editor/-/yfM3y65xEH8J. 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.
