-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't jump to the function call when ctrl click on a function definition in VSCode Bash IDE plugin #515
Comments
I can't really reproduce this. If I check right click on Let me know if you have a reproducible example. #!/bin/sh
# Helper function to add a user
add_a_user()
{
USER=$1
PASSWORD=$2
shift; shift;
# Having shifted twice, the rest is now comments ...
COMMENTS=$@
echo "Adding user $USER ..."
echo useradd -c "$COMMENTS" $USER
echo passwd $USER $PASSWORD
echo "Added user $USER ($COMMENTS) with pass $PASSWORD"
}
###
# Main body of script starts here
###
echo "Start of script..."
add_a_user bob letmein Bob Holness the presenter
add_a_user fred badpassword Fred Durst the singer
add_a_user bilko worsepassword Sgt. Bilko the role model
echo "End of script..."
|
I mean click on add_a_user on the add_a_user bob letmein Bob Holness the presenter line. It won't send you back to the add_a_user() function. P.S. I don't know what happened, but I tired to reinstall the plugin and it worked both ways.
|
A much better heuristic for symbol resolution has been released as Please let me know if it works for you or if you have any feedback to the new version. |
Thanks! Seems to be working now. |
I can jump/go to a function Definition by clicking
ctrl+left mouse
orf12
on a function call, but it does not seem to work backwards - I can't jump from a function Definition to the function call, like it is implemented, for example, in the built-in plugin Shell Script for IntelliJ IDEA.Is this a current VSCode Bash IDE plugin/bash-language-server limitation or am I doing something wrong?
I am using the latest version of https://marketplace.visualstudio.com/items?itemName=mads-hartmann.bash-ide-vscode
The text was updated successfully, but these errors were encountered: