Click to See Complete Forum and Search --> : Creating a custom project type in Visual Studio .net 2003?


MrDoomMaster
October 12th, 2004, 01:35 PM
I'm sure you guys might have heard of JASS? Maybe not?

Let me explain. This is the scripting language that Blizzard Entertainment created for coding triggers in the Warcraft 3 World Editor.

By default, you must do all of your coding in the world editor, which is boring.

I want to add functionality to Visual Studio .NET 2003 Enterprise Ed. that will allow me to select a new project called 'JASS Projects'.

As you know, when you go to File >> New >> Project..., you see a list of all of the available projects. They are 'folders' for different types of projects you can create. For example, you see a root 'Visual C++ Projects' folder, and by expanding that folder you see console application, win32 application, MFC, and others... I want my JASS folder to work the same way. I want to be able to expand the 'JASS Projects' folder and see all of the available jass project types.

Also, once you get a project going, I want to have my own syntax coloring and formatting of the text. Like, when you hit enter it indents automatically a certain way for this language.

I already have an external linker tool for JASS, so I would just use this with the IDE to compile the code. An external tool would do this but I'm hoping it could be pre-installed for that project type, so that when you use the debug toolbar it uses my custom linkers and stuff.

Also if this custom feature could be distributable, that would be great, but not a requirement.

I know this is asking a lot, but I'm sure it can all be done with config files SOMEHOW. Any tutorials or helpful points could work greatly! I need to know where to start!

Idmir
October 12th, 2004, 05:13 PM
if you goto your vs.net folder/vc7/vcprojects there are a bunch of folders in there for the different types of projects. I would think you would need to findout what files are needed and copy some of them from another project and edit them to work for what you need. msdn might give some clues on how to do this.

Looks like you will need a vsz, a vsdir and a icon. there might also be some other files you have to edit to get yours to show up. I have never tried anything like this so I won't be much more help sorry

vsdir = Visual Studio IDE NewFileItems File
vsz = Msdev Visual Interdev98 Templates Web Projects file

hope this helped a little, good luck

MrDoomMaster
October 13th, 2004, 04:32 PM
see, since you are in the vc7 projects folder, that means you're only creating a new project type for visual C++.

I want to create a whole new project category called JASS projects.

I think this requires going to the root visual studio .net folder (which has the vc7 and vb7 folders in it) and create a new folder called JASS, and just add files in there to create an entirely new language for the IDE.

Anyone have any clues on how to do this?

Idmir
October 14th, 2004, 11:53 AM
Sorry I had just assumed sense this was a C++ forum that it was a C++ question. Have you tried msdn or asking someone at microsoft? I would think they would be the people to ask on this.

You might want to try going to each folder for each language and see what files they all have in common. Then I would read up on Jass and see what you need to compile a jass file. Someone at microsoft should be able to tell you if you can add soemthing like this to your ide.