Skip to content
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

user function or class can not code jump #863

Open
earl86 opened this issue Dec 14, 2023 · 3 comments
Open

user function or class can not code jump #863

earl86 opened this issue Dec 14, 2023 · 3 comments

Comments

@earl86
Copy link

earl86 commented Dec 14, 2023

Summary of the new feature

user function or class can not code jump

@jordanbreen28
Copy link
Contributor

hey @earl86 thanks for raising this.
Could you supply more information on this? Steps to reproduce, version of pdk(or puppet) and puppet-vscode, screenshots if applicable.
Thanks

@earl86
Copy link
Author

earl86 commented Dec 14, 2023

vscode version : 1.85.1
puppet pdk version : pdk-2.7.1.0-x64.msi
puppet-vscode: v1.5.0

in node.pp file, user class or user function cann't use Ctrl and left mouse button to code jump

image

@earl86
Copy link
Author

earl86 commented Dec 27, 2023

I find this in https://puppet-vscode.github.io/docs/features/code-navigation/
Open Symbol by Name
Pressing Ctrl+T (or ⌘T on OSX) will list all [Puppet Custom Types], [Functions], [Classes] and [Defined Types] in the workspace. You can then [navigate to the symbol] by pressing Enter.

So if want to use code jump must Re-operate Ctrl+T when vscode first start or restarted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants