0

Previously I had another autosuggestion behaviour for snippets: I type in a Python snippet alias and in a few milliseconds I see a list of suggestions, including code snippets on top. Now, I see the following:

Screenshot w/o snippets in suggestion

After pressing Ctrl+Space:

Screenshot after pressing Ctrl+Space

After this autosuggestion on-the-fly starts working for this snippet - "inp". For each snippet that hasn't been used with Ctrl+Space, I will need to press the shortcut.

The issue holds for both Jupyter notebooks and Python scripts. I want to restore suggestions of code snippets on-the-fly, without pressing the Ctrl+Space combination.

Some suggestion-related settings

I tried to modify some settings with no success.

Reading https://code.visualstudio.com/docs/editor/userdefinedsnippets also didn't provide much insight into the issue.

1

1 Answer 1

0

The problem is due to the 1.75.0 version of VScode. Running

sudo apt -y update

and installing 1.75.1 is enough to resolve the issue.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.