Goto bash function in another .sh file in same directory fails on long files (130 lines)
Not sure where to flag this - I really like this feature… but it fails with files over 130 lines long.
For small files - a function in file_inc.sh can be found and the IDE will go to it when Ctrl-clicking on a function in file_main.sh
I tried to determine exactly the cut-off but there is a lot of clever caching so sometimes it will work linking a function in file_main.sh to the definition in file_inc.sh if the function is first created near the top of the file and then moved by adding lines above - but there is strange behaviour if the function is created past I guess around 128 lines, as you can't go to it and even if you move it up the file, it still won't work.
I tried clearing the caches and restarting but that didn't solve it either.
130 lines doesn't seem especially long to have a limit… It would be great if there is a workaround that I haven't found.
Please sign in to leave a comment.
Please file a bug at https://youtrack.jetbrains.com/newIssue?project=IJPL with the sample shell script files to reproduce attached. Don't forget to specify your IDE version.