Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Bootstrap class autocomplete in *.html.erb

$
0
0

I have IntelliJ 13.1 with Ruby plugin installed. My Rails project is properly set up to use the 'bootstrap-sass' gem and works fine in the browser.

 

As per Rails convention I have a file (app/assets/stylesheets/custom.css.scss) which @imports "bootstrap" on its first line and contains custom styles. Autocompletion works (almost) fine within this file (ie Bootstrap variables and classes pop up on ctrl+space).

 

I'd like autocompletion of Bootstrap classes to be available when editing *.html.erb files too (or any html file for that matter). Is that possible?

 

ps In *.html.erb files, the only css classes available for autocompletion are the ones directly defined in custom.css.scss.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



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