how to activate only Left-hand match suggestions on VSCode

Viewed 28

I am trying to activate only Left-hand match suggestions on VSCode Editor.

For example, my custom snippet contains "time_period" and "period_date". When I type "pe", both of two are show on suggestions.

However, I want VSCode to show only "period_date".

Any solutions?

screenshot

1 Answers

Use regex search.

Enable it with Alt + R on Windows/Linux, Cmd + Option + R on Mac, or simply by clicking on the icon: enter image description here

From there, you can use ^period to match the start of the line.

Related