Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99173

Add custom auto imports to vscode

$
0
0

if I type autorun inside the code, vscode suggests me to auto import it from mobx:

enter image description here

I want to define some custom names for that for example if I type _ somewhere in the code, I want vscode to suggest me to import lodash

or if type PropTypes I want vscode to suggest auto import PropTypes from 'prop-types'

Is this possible?

I haven't written any vscode extensions yet, but I can take a swing at it if that's what it takes to complete this functionality

Thanks in advance for any help and guidance!


Viewing all articles
Browse latest Browse all 99173

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>