Guillaume Cartier
2013-05-26 21:30:21 UTC
Related to a recent message by Antti Karttunen on using Jedi's prebuilt
binaries at https://github.com/jazzscheme/jedi-windows-mingw.git I would
like to explain some options on cataloging Jazz's source code.
First it is important to understand that every code-related feature in Jedi
(code completion, syntax coloring, F12 edit definition, shift-F12 edit
references, ...) relies on cataloging source code.
With this in mind, you have 3 options :
#1 The best one if you plan on doing serious Jazz development is to build
Jedi from the source code in which case you of course have access to Jedi
and Jazz's source code.
If you installed Jedi's prebuilt binaries they do not come with Jazz's
source code included.
#2 The simplest solution is then to use the .otl outline files that come
bundled with the prebuilt binaries. When Jazz compiles a file into a Gambit
.o1 it also extracts all the signatures into a .otl outline file similar to
a C header. Jedi can catalog those files giving you access to almost every
code-related feature even though you don't have access to the source code.
To do so, simply right-click on the Workbench project in the Workbench pane
and choose "Import Directory...". Then select the directory containing
Jedi's prebuilt binaries. That's it, Jedi will now start cataloging the
outline files.
#3 Option #2 will only give you access to the signatures. If you want to
look at or modify Jazz's source code, install it from
https://github.com/jazzscheme/jazz.git into some folder. Then in Jedi :
File / New Project..., choose "Empty" on the left, give it a Name: lets say
"jazz" and OK. Now right-click of this new "jazz" project and choose
"Import Directory...", now simply select the folder where you installed
Jazz's source code. That's it, Jedi will now start cataloging Jazz's source
code.
Guillaume
binaries at https://github.com/jazzscheme/jedi-windows-mingw.git I would
like to explain some options on cataloging Jazz's source code.
First it is important to understand that every code-related feature in Jedi
(code completion, syntax coloring, F12 edit definition, shift-F12 edit
references, ...) relies on cataloging source code.
With this in mind, you have 3 options :
#1 The best one if you plan on doing serious Jazz development is to build
Jedi from the source code in which case you of course have access to Jedi
and Jazz's source code.
If you installed Jedi's prebuilt binaries they do not come with Jazz's
source code included.
#2 The simplest solution is then to use the .otl outline files that come
bundled with the prebuilt binaries. When Jazz compiles a file into a Gambit
.o1 it also extracts all the signatures into a .otl outline file similar to
a C header. Jedi can catalog those files giving you access to almost every
code-related feature even though you don't have access to the source code.
To do so, simply right-click on the Workbench project in the Workbench pane
and choose "Import Directory...". Then select the directory containing
Jedi's prebuilt binaries. That's it, Jedi will now start cataloging the
outline files.
#3 Option #2 will only give you access to the signatures. If you want to
look at or modify Jazz's source code, install it from
https://github.com/jazzscheme/jazz.git into some folder. Then in Jedi :
File / New Project..., choose "Empty" on the left, give it a Name: lets say
"jazz" and OK. Now right-click of this new "jazz" project and choose
"Import Directory...", now simply select the folder where you installed
Jazz's source code. That's it, Jedi will now start cataloging Jazz's source
code.
Guillaume
--
You received this message because you are subscribed to the Google Groups "Jazz Scheme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jazzscheme+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to jazzscheme-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/jazzscheme?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Jazz Scheme" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jazzscheme+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To post to this group, send email to jazzscheme-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
Visit this group at http://groups.google.com/group/jazzscheme?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.