Here is a Notepad++ language file for TJ2. I really like this editor, it
makes working in XP bearable, and now with TJ3 I think with a bit of
work I'll have a proper TaskJuggler development environment set up here.
This file gets put into the %User%\Application Data\Notepad++ directory
on XP. If you've already defined any other user defined languages then
open then don't overwrite that file, instead append the taskjuggler
section to it.
You may prefer to switch up the keywords a little, but I find this setup
works quite similar to the TJ2 GUI. There are some minor problems - for
example brackets are sometimes not recognized if they are adjacent to
another character, so code folding can get confused. However this just
encourages well laid out code. Also I used a bit of a hack to have it
differentiate between, e.g. task as an object versus as a column
heading, and it works most of the time but will once in a while get the
colour wrong.
Provided as-is, and with encouragement to post back if you improve it.
Works in Notepad++ v5.6.6.
Enjoy,
Brendan
--
Brendan Hyland
brendan...@hylandqs.ca
On Feb 18, 8:00 am, "Brendan Hyland" <brendan.hyl...@hylandqs.ca>
wrote:
> brendan.hyl...@hylandqs.ca
>
> userDefineLang.xml
> 6KViewDownload
I haven't set it up to run the scripts from NPP yet, but I think that as
long as you have the correct environment path set up for ruby, it should
be pretty straight forward. I'll look into it this week and report back.
Currently I just run from a terminal.
Brendan
C:\Ruby19\bin\setrbvars.bat
You may have the same. Or you could permanently add the ruby path to
your %PATH%.
So the answer would probably be to make a batch file that includes
adding ruby to your path, then calling tj3 command (set up to take the
filename as an input), and then followed by a PAUSE so that it doesn't
just disappear when it's done.
I'm on deadlines so I won't be testing this out for a few days, but I
will report back.
Brendan
> --
> You received this message because you are subscribed to the "TaskJuggler
> Users" group.
> To post to this group, send email to taskjugg...@googlegroups.com
> To unsubscribe from this group, send email to
> taskjuggler-us...@googlegroups.com
> For more information about TaskJuggler visit http://www.taskjuggler.org
--
Brendan Hyland
brendan...@hylandqs.ca
Go to "Plugins/NppExec/Show Console Dialog"
Then the console is opened and you have access to the whole directory.
So, change to your project dir and execute e.g. "tj3 [project].tjp".
best regards
JohnZ
Thanks so much!
Steve
On Feb 27, 3:22 pm, sss <neventsres...@gmail.com> wrote:
> At the DOS shell, tj3 will start TaskJuggler, and I can see the
> output. It's just that if, in winxp, I go to Start, Run, then put in
> the command. In that case, the command will run, then the DOS window
> goes away, as soon as the program is done. Has to be run from a shell
> to see if there were errors. And I am getting lots of errors with
> some of the example scripts. Others are just fine. So, I am using
> PowerCmd, as my DOS shell. Easier to see the history and it has a kind
> of auto-completion. And I am trying Locate32 project, so that I can
> search for words in a .tjp file since I am new to TaskJuggler. With
> NotePad++, I have now installed NppExec. I see it has a shell too.
> Here is my first tj3 chart.http://i50.tinypic.com/wvabnp.jpg. By the
I dont't know your use case , but yes every task has it's own row.
In a gantt chart every row is represented as a row.
So, you want to define a grouptask and visualize the subtasks in the
same row.
I think this makes not easier to read a gantt chart, from my
perspective it's
better to have this in separate rows...
best regards
JohnZ