Solved

Ruby .html.erb in Notepad++

Posted on 2010-09-06
3
1,717 Views
Last Modified: 2012-05-10
Hi  have a whole bunch of .html.erb files that I edit daily.. how do I make Notepad++ recognise these files so that it colours in the tags as it does with regular html?
0
Comment
Question by:hubfub
  • 2
3 Comments
 
LVL 17

Expert Comment

by:Shinesh Premrajan
ID: 33616111
Right click on the file and select "open" or "open with", It will prompt you with the list of applications from your system program files,to select from. From the list, select the notepad++, if the application is not mentioned in the list, then you need to manually search the file [notepad++.exe] and select it.

In the bottom of the editor selection window, there is a check box, You also need to check that, which says that now onward these type of files will be opened by "notepad++" only.

Hope this helps.
0
 
LVL 1

Author Comment

by:hubfub
ID: 33616460
no.. what i mean is that notepad++ has colours for tags in html, css,  php etc... how can I get it to recognise a .erb as a .html and give me the colors?
0
 
LVL 17

Accepted Solution

by:
Shinesh Premrajan earned 500 total points
ID: 33616760
setting > style configurator > in the window select HTML from the LHS and in below you will find user ext, There you need to type "erb", then save and close

Hope this helps
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
document.write() deleting all existing HTML 5 50
Wordpress Security 29 48
PHP Curl to output a url 7 47
Bootstrap 3 - Style a dropdown 1 11
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question