re: What are your "must have" custom snippets for your editor/IDE? VIEW POST


impd gives me:

import { } from ' ';

The cursor starts in the path and then moves to the braces so that I can tell it where I want it from and then what I want.

Changes somewhere along the line have made the intellisense a little wonky, but it used to pop up with options immediately without me having to press Ctrl + Space.

I have a few others set up as well, such as impa which expands to:

import * as [alias here] from '[path]';

Ooh this one is handy! Might need to add it to mine.

code of conduct - report abuse