Solved

Ruby .html.erb in Notepad++

Posted on 2010-09-06
3
1,749 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

726 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