Solved

Ruby .html.erb in Notepad++

Posted on 2010-09-06
3
1,732 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

749 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