HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Jass: in what enviroment do you code?

02-25-2007, 11:54 PM#1
Lordy
Hey,

I have been coding in Jasscraft for a long time now but since the release of vJass I am puzzled. Jasscraft does no precompiling so I cannot parse any vJass code from within Jasscraft. If I want to parse my vJass code I have to copy it to a wc3 map while using JassNewGenPack and then save the map. Then I copy the code back to jasscraft so I can type again. This takes some time.
The alternative to this is coding purely from within the WE, although this means working in an enviroment which has the same intellisense that a text editor has, which I don't want!
Are there any other alternatives?

Thanks:)

PS: another question. In CS_Cache library there is a table "class". Can someone try to explain to me what a table is? It probably only requires a couple of sentences. I don't know the term 'field' either just so you know. What I got from Vex's explanation was that the tables you create in CS_Cache can be identified by a string or corresponding integer and can contain all sorts of variable types.
So we can use tables to link merely 1 identifier to a number of variables. I don't really see the use of it yet. Does it use gamecache to work?

Thanks again :).
02-26-2007, 12:26 AM#2
BlinkBoy
WE + Grimoire + JASSHelper + PJASS = All I need to be happy.

Yet, I sometimes use JassCraft for syntax highlighting and for searching for functions in blizzard.j and common.j
02-26-2007, 01:12 AM#3
Lordy
Hmm I _Really_ like working in Jasscraft. It would be heaven if someone could combine Jasscraft with the precompilers, too bad until then.
02-26-2007, 01:16 AM#4
Vexorian
I just use gvim. If I wanted to compile stuff externally which seems kind of lame I would code in some err.j file and always have something that triggers mapcompiler.exe on a map that has //! include err.j on that file.

I think that's what pipedream does.
02-26-2007, 02:52 AM#5
PipeDream
Whenever I work with gvim on something I bind F5 to compile or compile&run. Usually I just bind !<make or scons> run to it and then put the nasty stuff in the makefile/sconstruct.
vim conf:
Code:
map <F5> :!make run<CR>
makefile:
Code:
all: dirty.w3x

run: dirty.w3x
	startwar3.bat -opengl -window dirty.w3x

dirty.w3x: clean.w3x
	rm -f dirty.w3x
	cp clean.w3x dirty.w3x
	mapcompiler --debug dirty.w3x
If you don't have cygwin then change "rm -f" to "del" and "cp" to "copy"
For war3 to load the map has to be somewhere in the warcraft directory tree.
02-26-2007, 03:34 PM#6
Jacek
KaTTaNa's JassEditor ^^