SF.net SVN: geany:[5602] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Thu Mar 17 16:51:18 UTC 2011
Revision: 5602
http://geany.svn.sourceforge.net/geany/?rev=5602&view=rev
Author: ntrel
Date: 2011-03-17 16:51:18 +0000 (Thu, 17 Mar 2011)
Log Message:
-----------
Add Scala custom filetype, based on file by werg (thanks).
(This uses the newly added [styling=C] syntax).
Modified Paths:
--------------
trunk/ChangeLog
trunk/data/filetype_extensions.conf
Added Paths:
-----------
trunk/data/filetypes.Scala.conf
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2011-03-17 16:41:25 UTC (rev 5601)
+++ trunk/ChangeLog 2011-03-17 16:51:18 UTC (rev 5602)
@@ -17,6 +17,9 @@
* src/interface.c, geany.glade:
Fix wrong label capitalization for Toolbar Preferences dialog tab
and 2 other labels.
+ * data/filetypes.Scala.conf, data/filetype_extensions.conf:
+ Add Scala custom filetype, based on file by werg (thanks).
+ (This uses the newly added [styling=C] syntax).
2011-03-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/data/filetype_extensions.conf
===================================================================
--- trunk/data/filetype_extensions.conf 2011-03-17 16:41:25 UTC (rev 5601)
+++ trunk/data/filetype_extensions.conf 2011-03-17 16:51:18 UTC (rev 5602)
@@ -45,6 +45,7 @@
reStructuredText=*.rest;*.reST;*.rst;
R=*.R;*.r;
Ruby=*.rb;*.rhtml;*.ruby;
+Scala=*.scl;
Sh=*.sh;configure;configure.in;configure.in.in;configure.ac;*.ksh;*.zsh;*.ash;*.bash;*.m4;
SQL=*.sql;
Tcl=*.tcl;*.tk;*.wish;
Added: trunk/data/filetypes.Scala.conf
===================================================================
--- trunk/data/filetypes.Scala.conf (rev 0)
+++ trunk/data/filetypes.Scala.conf 2011-03-17 16:51:18 UTC (rev 5602)
@@ -0,0 +1,37 @@
+# Based on file by werg
+# For complete documentation of this file, please see Geany's main documentation
+[styling=C]
+
+[keywords]
+# all items must be in one line
+primary=abstract case catch class def do else extends false final finally for forSome if implicit import lazy match new object override package private protected requires return sealed throw trait true try type val var with while yield @ =>
+
+secondary=null super this AllRef Any AnyRef Array Attribute Elem Iterable List Option Some Stack String Unit Console Nil None Predef
+# these are some doxygen keywords (incomplete)
+docComment=attention author brief bug class code date def enum example exception file fn namespace note param remarks return see since struct throw todo typedef var version warning union
+
+[settings]
+lexer_filetype=C
+
+# default extension used when saving files
+extension=scl
+
+# the following characters are these which a "word" can contains, see documentation
+#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
+
+# if only single comment char is supported like # in this file, leave comment_close blank
+#comment_open=//
+#comment_close=
+# this is an alternative way, so multiline comments are used
+comment_open=/*
+comment_close=*/
+
+comment_use_indent=true
+
+#[build_settings]
+# %f will be replaced by the complete filename
+# %e will be replaced by the filename without extension
+# (use only one of it at one time)
+#compiler=g++ -Wall -c "%f"
+#linker=g++ -Wall -o "%e" "%f"
+#run_cmd="./%e"
Property changes on: trunk/data/filetypes.Scala.conf
___________________________________________________________________
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list