Jotos Posted 23 hours ago Posted 23 hours ago Hi everyone, I'm having some trouble with function navigation in SciTE when using a centralized include structure in my AutoIt project. To keep things organized, I created a MasterInclude.au3 file that includes all other .au3 files containing functions and helper code. Then in my main script, I only include this one file: #include "MasterInclude.au3" However, since I switched to this approach, the "Go to Function" feature in SciTE (ctrl + j) no longer works. It doesn't jump to the function definition anymore, even though everything compiles and runs just fine. I assume it's because the editor doesn't follow nested includes, but I'm not sure if there's a workaround or setting that could help. Has anyone run into this issue before? Is there a way to keep the master include approach and still have function navigation work properly? Any suggestions or best practices would be greatly appreciated! Thanks in advance!
Developers Jos Posted 14 hours ago Developers Posted 14 hours ago 9 hours ago, Jotos said: However, since I switched to this approach, the "Go to Function" feature in SciTE (ctrl + j) no longer works. It doesn't jump to the function definition anymore, even though everything compiles and runs just fine. Which version of SciTE4AutoIt3 are you running? 9 hours ago, Jotos said: I assume it's because the editor doesn't follow nested includes, but I'm not sure if there's a workaround or setting that could help. It does support nested includes and should work in the latest version(s) of the full version, but would need an example replicator set of files to check when it is not. 9 hours ago, Jotos said: Has anyone run into this issue before? Is there a way to keep the master include approach and still have function navigation work properly? Yes as that is what all standard UDF's do so have used it many times. Just provide me with the requested info and/or set of replication files in a zip so I can have a look. You could try the latest Beta installer to see if that fixes it. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Jotos Posted 12 hours ago Author Posted 12 hours ago (edited) 1 hour ago, Jos said: Which version of SciTE4AutoIt3 are you running? ProductVersion FileVersion FileName -------------- ----------- -------- 4.4.6 4.4.6 C:\Program Files (x86)\AutoIt3\SciTE\SciTE.exe 1 hour ago, Jos said: It does support nested includes and should work in the latest version(s) of the full version, but would need an example replicator set of files to check when it is not. How can I do that? Maybe I use the function wrong? I alway get this: Edited 12 hours ago by Jotos
Developers Solution Jos Posted 12 hours ago Developers Solution Posted 12 hours ago (edited) 37 minutes ago, Jotos said: How can I do that? create a couple of small au3 files which demonstrate to me the issue you have, and put them in a zip file. PM me the zip file. 🙂 I do see there where some fixes for this function since that latest production release, so you might want to try the current Beta installer. You could also try using the current AutoItGotoDefinition.lua in the Beta directory first. Edited 12 hours ago by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Jotos Posted 11 hours ago Author Posted 11 hours ago 36 minutes ago, Jos said: You could also try using the current AutoItGotoDefinition.lua in the Beta directory first. You are today my personal hero. Thanks!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now