I have IntelliJ IDEA 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 mostly 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 just the ones directly defined in custom.css.scss
.