Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1840
  • Last Modified:

Ruby .html.erb in Notepad++

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
hubfub
Asked:
hubfub
  • 2
1 Solution
 
Shinesh PremrajanTechnical ManagerCommented:
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
 
hubfubAuthor Commented:
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
 
Shinesh PremrajanTechnical ManagerCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now