Initial commit for Geany config files for the efl.

This include an edje file definition
This commit is contained in:
Davide Andreoli 2014-08-06 11:31:15 +02:00
commit 65860f1769
1 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,76 @@
#
# Edje (edc) filetype definition for Geany.
#
#
# Usage:
#
# 1. Put this file in ~/.config/geany/filedefs/ folder.
#
# 2. To make geany automatically recognize .edc extension as Edje file:
# Edje=*.edc; in filetype_extensions.conf
#
# For complete documentation of this file, please see Geany's main documentation
[styling=C]
[keywords]
# primary will draw in blu and have precedence on secondary
# used for edc properties, like "name:" or "state:"
primary=item font tag base external name type state min max normal color color2 color3 clip_to signal source action transition target scale align relative offset inherit to border aspect aspect_preference align effect size mouse_events repeat_events ellipsis fixed layout padding visible to_x to_y middle smooth x y confine alias color_class border_scale_by border_scale after entry_mode select_mode multiline source source2 source3 source4 source5 source6 text_class text_source ignore_flags cursor_mode in
# secondary will draw in red (with default colors)
# used for edc blocks, like "parts{}" or "part{}"
secondary=data images image fonts styles style externals collections group script parts part description programs program rel1 rel2 box text fill dragable
# these are the Doxygen keywords
# docComment=addtogroup
[lexer_properties]
styling.within.preprocessor=1
lexer.cpp.track.preprocessor=0
preprocessor.symbol.$(file.patterns.cpp)=#
preprocessor.start.$(file.patterns.cpp)=if ifdef ifndef
preprocessor.middle.$(file.patterns.cpp)=else elif
preprocessor.end.$(file.patterns.cpp)=endif
[settings]
lexer_filetype=C
# default extension used when saving files
extension=edc
# the following characters are these which a "word" can contains, see documentation
#wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
# single comments, like # in this file
comment_single=//
# multiline comments
comment_open=/*
comment_close=*/
# set to false if a comment character/string should start at column 0 of a line, true uses any
# indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
#command_example();
# setting to false would generate this
# command_example();
# This setting works only for single line comments
comment_use_indent=true
# context action command (please see Geany's main documentation for details)
context_action_cmd=
[indentation]
#width=4
# 0 is spaces, 1 is tabs, 2 is tab & spaces
#type=1
[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=edje_cc -v "%f"
linker=g++ -Wall -o "%e" "%f"
run_cmd=edje_player "%f"