Hi,

    I'm discovering TaskJuggler, which is a DSL for  project management.
In task juggler there's the  possibility  to  generate  a  tag  file, to
help with completion of dependencies:

    task test0rburn0r "Test0rBurn0r" {
        task T1 "Test0rBurn0r Task #1" {
        }
        task T2 "Test0rBurn0r Task #2" {
        }
        task burn0r "Burn0r" {
            task T7 "Burn0r Task #1" {
            }
            task T8 "Burn0r Task #2" {
                task T9 "Burn0r Task #2.2" {
                }
            }
            task foobar "Foobar" {
                task T10 "Foobar Task #1" {
                }
                task T11 "Foobar Task #2" {
                    task T12 "Foobar Task #2.2" {
                    }
                }
            }
        }
        task test0r "Test0r" {
            task T4 "Test0r Task #1" {
            }
            task T5 "Test0r Task #2" {
                task T6 "Test0r Task #2.2" {
                }
            }
        }
    }

so within `task T11 "Foobar Task #2"` I can add:

    depends test0rburn0r.burn0r.T8.T9

if I do ^] on T9, vim says 'no tag found', but if I visual select
`burn0r.T8.T9` then it jumps to the line where it's defined.

when I try to do completion, I only have ^N^P working, which 
obviously isn't much help in this context.

The tag file is as follows:

    !_TAG_FILE_FORMAT   2   /extended format; --format=1 will not append ;" to 
lines/
    !_TAG_FILE_SORTED   1   /0=unsorted, 1=sorted, 2=foldcase/
    !_TAG_PROGRAM_AUTHOR    Chris Schlaeger <[email protected]>   //
    !_TAG_PROGRAM_NAME  TaskJuggler //
    !_TAG_PROGRAM_URL   http://www.taskjuggler.org  /official site/
    !_TAG_PROGRAM_VERSION   3.5.0   //
    test0rburn0r    ./test0rburn0r-0_0_0-20.tjp   21;"    t
    test0rburn0r.T1 ./test0rburn0r-0_0_0-20.tjp   26;"    t
    test0rburn0r.T2 ./test0rburn0r-0_0_0-20.tjp   32;"    t
    test0rburn0r.T2.T3  ./test0rburn0r-0_0_0-20.tjp   35;"    t
    test0rburn0r.burn0r ./test0rburn0r-0_0_0-20.tjp   40;"    t
    test0rburn0r.burn0r.T7  ./test0rburn0r-0_0_0-20.tjp   42;"    t
    test0rburn0r.burn0r.T8  ./test0rburn0r-0_0_0-20.tjp   45;"    t
    test0rburn0r.burn0r.T8.T9   ./test0rburn0r-0_0_0-20.tjp   48;"    t
    test0rburn0r.burn0r.foobar  ./test0rburn0r-0_0_0-20.tjp   53;"    t
    test0rburn0r.burn0r.foobar.T10  ./test0rburn0r-0_0_0-20.tjp   55;"    t
    test0rburn0r.burn0r.foobar.T11  ./test0rburn0r-0_0_0-20.tjp   58;"    t
    test0rburn0r.burn0r.foobar.T11.T12  ./test0rburn0r-0_0_0-20.tjp   60;"    t
    test0rburn0r.test0r ./test0rburn0r-0_0_0-20.tjp   66;"    t
    test0rburn0r.test0r.T4  ./test0rburn0r-0_0_0-20.tjp   68;"    t
    test0rburn0r.test0r.T5  ./test0rburn0r-0_0_0-20.tjp   71;"    t
    test0rburn0r.test0r.T5.T6   ./test0rburn0r-0_0_0-20.tjp   73;"    t

A syntax file exists and is generated by taskjuggler. I can post a copy
of it if it can help.

So here's my questions:

 - how can I activate omnicompletion on that file/syntax using the tag file?
 - how can jump to tags respecting the semantics of that language?

Thanks,

-- 
Guyzmo

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to