Autocomplete inside a Live Template context

In general the IDE auto completes variables that are relevant to the scope you are in. As I see it, there is no autocomplete when inside a Live Template context.

For example in my PyCharm I have a live template that I call `privself` and I use it for the cases where you assign inside a class's `__init__` a variable to a private attribute under the same name, e.g. `self._my_var = my_var`.
The Live Template content is as follows: 

self._$VARNAME$ = $VARNAME$$END$


Now usually the `$VARNAME` is something that comes straight from the variables in the `__init__` signature, but inside the live template it won't complete.
Below is a gif example that inside a Live Template I can't get autocomplete to work...

Is there a way to get this to work? Or rather should I open a feature request about it?

0

Please sign in to leave a comment.