How to disable code "popups" in Sagemaker Jlab

0

I apologize if this has been asked/answered before, I don't know what these are called and therefore do not know what to search for. A recent update to Sagemaker Jlab includes a code "popup" functionality that is enabled by default. When I type a left parens, the UI produces a giant popup that blocks my view of my previous code (see below) Is there a way to disable this? I need to be able to see my code. Thanks.screenshot

asked 9 days ago40 views
2 Answers
0

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:

  1. From the top of the SageMaker Studio window, choose "Settings".
  2. From the "Settings" dropdown, select "Advanced Settings Editor".
  3. 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

profile picture
answered 9 days ago
  • Incorrect - see my explanation.

0

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:

  1. there is no "advanced" settings editor, only a regular one
  2. 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.

answered 9 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions