From the course: AI-Enhanced Coding with Amazon Q Developer
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Code references - Amazon Q Tutorial
From the course: AI-Enhanced Coding with Amazon Q Developer
Code references
- [Instructor] Another advanced feature of Q Developer that can come in handy is code references. It does provide the ability to view the code reference that was used in a suggestion. This is available in Visual Studio Code. JetBrains, Cloud9, Lambda, SageMaker Studio, Jupyter Lab and Glues Studio Notebook. For example, in Visual Studio Code, you have the toolkit installed. Open developer tools, select open code reference log, and it will show you a list of sources for suggestions. In the event that particular chunk of code has a source that I can actually reference. You can use this information in order to you know, update your your list of licenses that you are complying with for example. You can turn this on and off, and you can do it at an organizational level if you are using Q Developer Pro. And the Pro subscription, you can opt out of code suggestions that have references. So in the event you need to avoid including any for example GPL2 code in your code, then you can turn that…