PlanetSquires Forums

Support Forums => General Board => Topic started by: Robert Rioja on February 17, 2017, 10:12:13 PM

Title: Jellyfish
Post by: Robert Rioja on February 17, 2017, 10:12:13 PM
Is there a way to create a new language for Jellyfish?
Thanks,
Robert
Title: Re: Jellyfish
Post by: Knuth Konrad on February 18, 2017, 09:02:37 AM
I guess you need to be a bit more specific as to what you want to do.

- Add new syntax highligthing to Jellyfish? If so, have a look at the various *.dat files in Jellyfish's folder, i.e. pbcc_keywords.dat
- Localize Jellyfish's GUI? No idea if that is possible.
- ???
Title: Re: Jellyfish
Post by: Robert Rioja on February 18, 2017, 03:44:10 PM
I want to add a new syntax for another language.  I have already created a dat file but Jellyfish does not know it exists.  Where do I tell Jellyfish to read my new file, etc.?

I think that years ago I saw some documentation on customizing Jellyfish, but I cannot find it anywhere.  Also, the links on the Jellyfish page at planetsquires.com are all broken (they point to nowhere).  I guess there is no support for Jellyfish?

I am looking into other similar programs, like Geany which looks promising.  I tried Notepad++ but their documentation is not that good either, and it does not handle code folding properly.

Thanks,
Robert
Title: Re: Jellyfish
Post by: Paul Squires on February 18, 2017, 06:51:46 PM
You could add the keywords to one of the existing dat files. JellyFish only recognizes the dat files that are in the same folder.

Title: Re: Jellyfish
Post by: Paul Squires on February 18, 2017, 06:52:39 PM
FYI - I do not support Jellyfish any longer nor do I update it.
Title: Re: Jellyfish
Post by: Knuth Konrad on February 20, 2017, 12:02:54 PM
Quote from: Robert Rioja on February 18, 2017, 03:44:10 PM
I want to add a new syntax for another language.

[...]

I am looking into other similar programs, like Geany which looks promising.  I tried Notepad++ but their documentation is not that good either, and it does not handle code folding properly.

If you're willing to shell out a few bucks, you might want to have a look at UltraEdit (http://www.ultraedit.com/)

There's also MS' Visual Code, along with explanation on how to add custom languages:
https://code.visualstudio.com/
https://code.visualstudio.com/Docs/customization/colorizer
https://github.com/viatsko/awesome-vscode
Title: Re: Jellyfish
Post by: Robert Rioja on February 24, 2017, 01:54:06 AM
Thanks for this info.  I am looking into your suggestions.  Presently I use Notepad++ which does almost everything I need.
Robert