- Newest
- Most votes
- Most comments
Yes, it's possible to disable the code suggestion popups in SageMaker JupyterLab. These popups are likely part of the Amazon Q Developer feature, which includes CodeWhisperer functionality. To disable these suggestions, you can follow these steps:
- From the top of the SageMaker Studio window, choose "Settings".
- From the "Settings" dropdown, select "Advanced Settings Editor".
- In the Amazon CodeWhisperer dropdown, deselect the box next to "Enable suggestions with code references".
This should turn off the code suggestion popups that are appearing when you type.
If you want to disable this feature for all users in a SageMaker Studio domain by default, an ML platform admin can do so using lifecycle configuration scripts. This involves creating a script that sets certain configuration options, including disabling the code suggestions.
Keep in mind that while these steps should help disable the popups, the exact method might vary depending on your specific SageMaker Studio setup and configuration. If you continue to have issues, you may need to consult with your AWS administrator for further assistance.
Sources
Code references - CodeWhisperer
Accelerate development of ML workflows with Amazon Q Developer in Amazon SageMaker Studio | AWS Machine Learning Blog
Unfortunately, the AI-generated response is incorrect. It may be geared toward an older version of SM Studio. In the current version that I have:
- there is no "advanced" settings editor, only a regular one
- there is no code whisperer option. There is an Amazon Q-Developer section and it does have a checkbox for "Enable suggestions with code references," but unchecking this box (and even restarting) has no effect.
Still looking for a workable answer to my original question.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
Incorrect - see my explanation.