Author |
Topic |
|
tomlu709
New Member
5 Posts |
Posted - Jul 16 2009 : 08:27:04 AM
|
I have a Lua project in my solution, which contains files I'd like to navigate to. Unfortunately, only my C++ files from my other projects show up in the Open Solution File dialogue. Is this by design, and could it be changed so that VAX picks up all files in the solution regardless of file type? |
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jul 16 2009 : 11:40:38 AM
|
Assume I have no idea what Lua is.
Is this a programming language? An API? A plugin? |
zen is the art of being at one with the two'ness |
|
|
gmit
Whole Tomato Software
Croatia
90 Posts |
Posted - Jul 16 2009 : 4:36:13 PM
|
It's a very nice interpreted language often used in gaming industry to define behaviour (and for other scripting purposes). Its speciality is a unique way of handling complex data structures (arrays/structs/maps).
|
|
|
drac
Senior Member
Germany
49 Posts |
Posted - Jul 16 2009 : 6:35:58 PM
|
Lua is very popular in gaming industry, just like C++
Here is an excerpt from a job as a gameplay programmer at Telltale Games (have you played the first episode from Tales of Monkey Island yet?)
"Gameplay Programmers are responsible for the implementation of the games using Lua, C++ and the Telltale Tools
# Responsibilities * Implement gameplay-related functionality including controls, dialogs, puzzles, mini-games, etc using Lua and/or C++ ... # Essential Skills and Experience
* Proven experience and proficiency with high level scripting languages (examples: Java Script, LUA, Python, Perl) * Familiar with C/C++"
I would like to suggest some Lua syntax highlighting and code completion for Visual Assist - it's a niche market which should be explored |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jul 17 2009 : 12:36:03 PM
|
That is interesting, thank you
tomlu709 assuming this is what you are talking about how do I reproduce your problem?
What file extension are you using for Lua files? How do you create a Lua project in your solution?
drac this might happen eventually. For now you might be able to get something by adding custom keywords to the IDE:
http://docs.wholetomato.com?W148
or doing things with VA's StdAfx.h file:
http://docs.wholetomato.com?W302
|
zen is the art of being at one with the two'ness |
|
|
tomlu709
New Member
5 Posts |
Posted - Jul 19 2009 : 01:57:26 AM
|
The other posters are right.
I am using a custom version of LuaLangPack (http://luaforge.net/projects/lualangpack/). It is a VSIP language package with a custom project type. The file extension is ".lua".
It provides limited syntax highlighting (which I've improved), and some pretty awful code completion (which I've removed). I would say there would be a reasonable market for a good Visual Studio integration package with syntax highlighting, limited intellisense and debugging support.
If you iterate through all EnvDTE projects to build the file list the Lua files should be there much like any other file type.
However, I suspect that for performance reasons you register event callbacks for project add / remove item events and maintain a file list that way. If so from recollection every type of project (C++, C#) has different callbacks and properties. I wouldn't know how the Lua projects work in that regard, but if instructed to do so I would be happy to research that aspect. |
|
|
feline
Whole Tomato Software
United Kingdom
19014 Posts |
Posted - Jul 20 2009 : 12:40:57 PM
|
tomlu709 I have just emailed you via the forum about this. |
zen is the art of being at one with the two'ness |
|
|
znakeeye
Tomato Guru
379 Posts |
Posted - Aug 05 2009 : 05:27:34 AM
|
This is quite hot actually. C++/Lua is the future! :)
LuaLangPack: * Only works in VS 2005 (afaik). * No automatical indentation. * Incomplete coloring. * No debugging.
decoda looks promising: http://www.unknownworlds.com/decoda
tomlu709, would be cool to have your own Lua debugger to set breakpoints in your own scripts. That way users could debug there scripts in your software, without any tools. Have you tried this? It seems very hard! |
|
|
|
Topic |
|