Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Autocomplete django in visual studio code

hello everyone I am having a problem the visual studio code autocomplete for django does not work for me, because for python it does it without problems but when working with django the framework options do not work, that is when I work with views based on classes does not generate the autocomplete, such as template_name, form_class, etc ..., likewise with the models it does not generate the help of max_length, and those other things of the framework, I have selected the interpreter but it does not work for me and also python: build workspace symbols and nothing. in advance I appreciate the help.

like image 688
cosmos multi Avatar asked Jun 10 '20 06:06

cosmos multi


People also ask

How do I enable autocomplete in VS Code?

You can trigger IntelliSense in any editor window by typing Ctrl+Space or by typing a trigger character (such as the dot character (.)

How do I show autocomplete in Visual Studio?

The suggestion list of Basic completion appears when you press the default Visual Studio IntelliSense shortcut Ctrl+Space . If necessary, you can always return to the Visual Studio's native's IntelliSense. To do so, select Visual Studio on the Environment | IntelliSense | General page of ReSharper options ( Alt+R, O ).


Video Answer


1 Answers

You can install and activate python & Microsoft AI extension in visual studio code.

enter image description here

like image 122
Anoop K George Avatar answered Sep 18 '22 13:09

Anoop K George