We recently started to use the add-on, and we have ran across a problem for us. First, let me introduce what we're using the control and the add-on for.
We have implemented a macro-like function within our program. These macro's consist of C# code. However, only the main-function is used. When, for example, the user types a macro like:
void main()
{
print("Test");
}
our builder makes code like:
using stuff;
namespace macro {
void main()
{
print("Test");
}
}
We are using the add-on to easily implement features like auto-completion.
When I type the code like it would come out of the builder, the intelliPrompt feetures do work. However, when I type my first code, these features don't work. Quite logical, because the document uses the CSharplanguage.
My question is whether I'll have to make my own complete language definition or whether I can simply edit the CSharpLanguage definition. Or do you have some better idea perhaps?
Regards,
Lennart Theil
We have implemented a macro-like function within our program. These macro's consist of C# code. However, only the main-function is used. When, for example, the user types a macro like:
void main()
{
print("Test");
}
our builder makes code like:
using stuff;
namespace macro {
void main()
{
print("Test");
}
}
We are using the add-on to easily implement features like auto-completion.
When I type the code like it would come out of the builder, the intelliPrompt feetures do work. However, when I type my first code, these features don't work. Quite logical, because the document uses the CSharplanguage.
My question is whether I'll have to make my own complete language definition or whether I can simply edit the CSharpLanguage definition. Or do you have some better idea perhaps?
Regards,
Lennart Theil