Menu

how difficult to tweak for new language

2009-03-22
2013-04-01
  • Stephen Nell

    Stephen Nell - 2009-03-22

    I want to use Eclipse to edit various dialects of Business Basic.  I thought I might be able to just copy the vbasic.hrc file, tweak it a little and then use the resulting 'mybbxlang.hrc'

    but it is not clear how to map the file extension ( in my case .src ) to the .hrc file...   any help?

    thanks
    Steve

     
    • jonib

      jonib - 2009-03-22

      Check this link http://colorer.sourceforge.net/hrc-ref/index.html#basics.filetypes
      Specifically "2.1.1. Prototypes"

      jonib

       
    • Stephen Nell

      Stephen Nell - 2009-03-22

      thanks jonib for the ultra quick response

      that was the info I needed - it works nicely

      now I am left wondering where to set the color preferences... for instance, I am accustomed to having my comments set to green...  are these color definitions left to eclipse or are they part of ColorerLibrary?

      thanks
      Steve

       
      • jonib

        jonib - 2009-03-22

        For color info look here: http://colorer.sourceforge.net/hrc-ref/index.html#hrd
        And the color files should be in directory "Colorer\hrd" specifically "Colorer\hrd\rgb" for Eclipse.
        You can add a custom color style or edit one of the defaults, you choose which you use in Colorer's settings within Eclipse.

        jonib

         
    • Stephen Nell

      Stephen Nell - 2009-03-23

      thanks again jonib - that also did the trick

       

Log in to post a comment.