3 ms·
I doesn't know if :resource_id is in the map, but that's not a typo if that's the case. What OP meant is if you type :resuorce_id it won't autocomplete correct
by positr0n 9y ago
I doesn't know if :resource_id is in the map, but that's not a typo if that's the case.
What OP meant is if you type :resuorce_id it won't autocomplete correctly so you're more likely to notice.
- hellofunk 9y agoAh, well I get that same behavior in Emacs. Doesn't always help though.
- raspasov 9y agoAlso if you type resuorce_id when referencing it will tell you that it cannot resolve the local. Of course if you BOTH destructure resuorce_id AND reference resuorce_id then you're out of luck :). That happens rarely though. One recent IntelliJ addition which is sometimes annoying but often very helpful in many cases like that is notifying you of grammatical typos: as long as you're not using obscure one off abbreviations, etc it will most likely catch "resuorce_id", "widht" and similar typos but might also complain about valid words or abbreviations in some niche domains.