Hello
Ive been using this plugin but not the debugging/running. At first a little while ago it wouldnt load my file cause my directory had a space.
Now I have tried and Im finding that my script isnt actually running. I have no breakpoints or anything set, and it seems like it stalls at different parts, like every time I hit run and then press my hotkeys i get a different behaviour.
I've spent some pretty good time analyzing the textmates because Im making a theme and have been working in AHK a lot recently (im not very good). Ive noticed that there is a "source.ahk functionline.ahk string.function.arguments.ahk", textmate, but I can only get it to appear SOMETIMES. I havent quite figured out the logic behind it, but sometimes its a matter of having the opening { on the same line as the function, but other times it doesnt seem to make a difference. One thing I dont like about it when it does work is that it converts all the text in the function line, punctuation, byref (keyword.other) into the same color.
Also wondering what you have planned for formatting? sometimes I seem to get some strange results. From what I have learned it seems that preparing a function like
Code: Select all
thisIsMyFunction(arg1, arg2..)
{
code
}
Rather Than
thisIsMyFunction(arg1, arg2..) {
code
}
Because it seems to give the best results, but then I have two functions I am looking at right now which have the { on the opening line but they look like
Code: Select all
chunkExpander(virginChunkChars, numCharsToExpandTo, disableDev := true) {
while (strlen(virginChunkChars) < numCharsToExpandTo) ;no indent
virginChunkChars .= virginChunkChars ;no indent
virginChunkChars := substr(virginChunkChars, 1, numCharsToExpandTo) ;no indent
return virginChunkChars
} ;------------------------------------------------------------------------------------------>
sumOfChunks(lineOfChunks) {
sum := 0
loop, % lineOfChunks.maxindex()
if !(instr(lineOfChunks[A_Index, 2], "rF") || instr(lineOfChunks[A_Index, 2], "rH"))
sum += lineOfChunks[A_Index, 3] ;no indent
return sum
}
Anyway, keep up the good work, I noticed youve been working really hard lately.
Maybe if you dont mind, and if I can figure out how to create an extension, I could try and see if I can do anything to tighten up the text mates, refine the scopes and bring some of them more in line with other genreal languages? I dont expect to do any better but Im willing to try.