The rfc Snippet That Wouldn’t Work
dev.to·4h·
Discuss: DEV
⚙️Configuration Parsing
Preview
Report Post

Today, I was trying something simple — just type rfc and have my React component snippet expand automatically.

But nothing happened. I typed rfc… nothing.

I checked my snippet JSON. Everything looked correct. The file was valid. Yet the snippet refused to expand. My frustration peaked. 😭

And at that point… I just fell asleep.


Morning Realization

When I woke up, I looked at it again. Maybe stepping away would help. That’s when it clicked:

  • The file was .jsx — but VS Code wasn’t recognizing it properly.
  • IntelliSense and quick suggestions were turned off.
  • The snippet itself was fine, the problem was editor settings and context.

How I Fixed It

Step by step:

  1. Turned on Quick Suggestions
  2. Enabled Snippet Suggestions
  3. Ena…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help