Jump to:

22977 Posts in 11742 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Notepad++ question

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1742 Views
  • Graphicator
    Avatar
    Community Member
    62 Posts

    Notepad++ question Link to this post

    I use Notepad++. I also know when and when not to use Dreamweaver. When I want to associate a .ss file with html syntax coloring, Dreamweaver accepts filetype changes to assist you while developing with that file type.

    I am asking if anyone knows how to associate .ss with Notepad++ as html? Right now I have to change the 'language' manually to help me with syntax coloring.

    -Thanks

  • wmboy
    Avatar
    Community Member
    3 Posts

    Re: Notepad++ question Link to this post

    Anyone find out a solution to this? Would make editing in Notepad++ a whole lot quicker!

  • swaiba
    Avatar
    Forum Moderator
    1769 Posts

    Re: Notepad++ question Link to this post

    I've never done it but googled out of curiosity. I use TextPad instead it's much faster and integrates tons more customization of tools.
    anyway...

    http://allthingsmarked.com/2009/07/29/associate-file-extensions-with-specific-languages-in-notepad-plus-plus/

  • wmboy
    Avatar
    Community Member
    3 Posts

    Re: Notepad++ question Link to this post

    Thanks for your response. Unfortunately after following these instructions, and restarting Notepad++ it's still not working. Have attached a screenshot to show you my updated settings.

    Attached Files
  • Wyman
    Avatar
    Community Member
    9 Posts

    Re: Notepad++ question Link to this post

    The posted instructions are right but you still have a conflict. The problem is that ss files are detected as Scheme files by default and that setting is getting in the way of your user set setting. Therefore you need to get rid of that default, there isn't a nice way to do this inside N++ that I could find. I did find this post on stack overflow though:
    http://superuser.com/questions/58672/how-to-set-the-default-language-in-notepad
    The post by 'Mike Chess' gave me the answer:
    In the Notepad++ directory look for the langs.xml file.

    <Language name="scheme" ext="scm smd ss" commentLine="">

    Delete the 'ss' and the one you set via N++'s GUI will work. Don't forget to save (and make sure to not edit it with N++...).

    Restart Notepad++ Open a .ss file. It should be formatted as HTML now (if you did what was posted in the previous post by swaiba).

    Cheers!

  • RBG
    Avatar
    Community Member
    1 Post

    Re: Notepad++ question Link to this post

    I know this thread is long dead... but thanks... I spent ages trying to work out why ss files would not show up as html files.

    1742 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.