VSCode Serverless Handler Navigation is a VSCode extension that allows you to navigate directly from your Serverless Framework configuration file to the corresponding handler function in your code.
Hover over a line in your Serverless YAML file that specifies a handler function (e.g., handler: src/handlers/myHandler.myFunction) and press Ctrl (or Cmd on macOS) and click. VSCode will navigate you directly to myFunction in src/handlers/myHandler.js (or .ts/.py, depending on your implementation).
If the extension is not navigating to the expected location, ensure that the path and function name in your Serverless YAML file match exactly with the path and function name in your code file.
If you see an error message indicating the file does not exist, ensure the file path in your Serverless YAML file is correct.
If you see an error message indicating the function was not found, ensure the function exists in your code file.