Text editors and IDEs for Hugo
Moderators: Ice Cream Jonsey, joltcountry
-
- Posts: 12
- Joined: Tue May 11, 2010 5:50 pm
- Location: Indiana
- Contact:
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
Just to give an update, I did get a Kate syntax file working (after cribbing chunks of code off of the Inform syntax file), and it is now up at the Supported Editors page:
http://hugo.gerynarsabode.org/index.php ... ed_Editors
http://hugo.gerynarsabode.org/index.php ... ed_Editors
- Jizaboz
- Posts: 5474
- Joined: Tue Jan 31, 2012 2:00 pm
- Location: USA
- Contact:
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
Here's a direct link:
http://roody.gerynarsabode.org/hugo.lang
In Windows, it goes in:
\gedit\share\gtksourceview-2.0\language-specs\
Maybe that gives a clue on where to put it in Linux, too.
I also made a color scheme file:
http://roody.gerynarsabode.org/colors.xml
That goes in:
\share\gtksourceview-2.0\styles\
http://roody.gerynarsabode.org/hugo.lang
In Windows, it goes in:
\gedit\share\gtksourceview-2.0\language-specs\
Maybe that gives a clue on where to put it in Linux, too.
I also made a color scheme file:
http://roody.gerynarsabode.org/colors.xml
That goes in:
\share\gtksourceview-2.0\styles\
- Jizaboz
- Posts: 5474
- Joined: Tue Jan 31, 2012 2:00 pm
- Location: USA
- Contact:
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
Just wanted to update this thread to say that Notebook Plus Plus has improved since I last looked at it. There can now be up to 8 keyword groups, and line-commenting/multi-line commenting works if you ignore the commenting section and go straight to the delimiter settings. "Find in Files" also looks like it works well enough now, and some of the plugin stuff works better, too.
I'm still happy with my other editor choices, but this is good news for anyone who wanted to love N++ a bit more. Anyhow, an updated user-definition file can be found here:
http://roody.gerynarsabode.org/hbe/syntax/npp/hugo.xml
I'm still happy with my other editor choices, but this is good news for anyone who wanted to love N++ a bit more. Anyhow, an updated user-definition file can be found here:
http://roody.gerynarsabode.org/hbe/syntax/npp/hugo.xml
-
- Posts: 151
- Joined: Fri Jul 09, 2010 8:59 am
Do you happen to know where to put the XML file in order to get the syntax highlighting working on Kate in Kubuntu? It seems like you should be able to import it from the Kate menu, from Settings>Configure>Fonts & colors>Highlighting Text Styles, but when I try to import "hugo.xml," it says, "File is not a single highlighting color file." In the dialog for selecting the file, it automatically has "None.katehlcolor" in the field for the file name, so I assume that's the extension it's looking for.
-
- Posts: 2256
- Joined: Mon Apr 29, 2002 6:23 pm
- Location: Milwaukee
The folder path for the syntax folder under Windows is:
/KDE/share/apps/katepart/syntax/hugo.xml Maybe that can help you find the right place in Linux, too.
Other than that, I know I created the Kate syntax file back when I was still accidentally saving all of my files in PC format, so it's possible that your Kate is choking on the wrong-format carriage returns. In any case, I uploaded a new version in the correct format.
/KDE/share/apps/katepart/syntax/hugo.xml Maybe that can help you find the right place in Linux, too.
Other than that, I know I created the Kate syntax file back when I was still accidentally saving all of my files in PC format, so it's possible that your Kate is choking on the wrong-format carriage returns. In any case, I uploaded a new version in the correct format.