Place # at the beginning of the line with the example in filetype conf files
[geany-mirror.git] / data / filedefs / filetypes.erlang
blob8228dd70688fadd6a0cecd078f098fdada4a7faa
1 [styling]
2 # Edit these in the colorscheme .conf file instead
3 default=default
4 comment=comment
5 variable=default
6 number=number_1
7 keyword=keyword_1
8 string=string_1
9 operator=operator
10 atom=default
11 function_name=function
12 character=character
13 macro=preprocessor
14 record=type
15 preproc=preprocessor
16 node_name=default
17 comment_function=comment
18 comment_module=comment
19 comment_doc=comment_doc
20 comment_doc_macro=comment_doc
21 atom_quoted=default
22 macro_quoted=default
23 record_quoted=default
24 node_name_quoted=default
25 bifs=keyword_2
26 modules=default
27 modules_att=preprocessor
28 unknown=default
30 [keywords]
31 # all items must be in one line
32 keywords=after and andalso band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse query receive rem try when xor
33 # Erlang built-in functions (BIFs)
34 bifs=erlang: abs adler32 adler32_combine erlang:append_element apply atom_to_binary atom_to_list binary_to_atom binary_to_existing_atom binary_to_list bitstring_to_list binary_to_term bit_size erlang:bump_reductions byte_size erlang:cancel_timer check_process_code concat_binary crc32 crc32_combine date decode_packet delete_module erlang:demonitor disconnect_node erlang:display element erase erlang:error exit float float_to_list erlang:fun_info erlang:fun_to_list erlang:function_exported garbage_collect get erlang:get_cookie get_keys erlang:get_stacktrace group_leader halt erlang:hash hd erlang:hibernate integer_to_list erlang:integer_to_list iolist_to_binary iolist_size is_alive is_atom is_binary is_bitstring is_boolean erlang:is_builtin is_float is_function is_integer is_list is_number is_pid is_port is_process_alive is_record is_reference is_tuple length link list_to_atom list_to_binary list_to_bitstring list_to_existing_atom list_to_float list_to_integer erlang:list_to_integer list_to_pid list_to_tuple load_module erlang:load_nif erlang:loaded erlang:localtime erlang:localtime_to_universaltime make_ref erlang:make_tuple erlang:max erlang:md5 erlang:md5_final erlang:md5_init erlang:md5_update erlang:memory erlang:min module_loaded erlang:monitor monitor_node node nodes now open_port erlang:phash erlang:phash2 pid_to_list port_close port_command erlang:port_command port_connect port_control erlang:port_call erlang:port_info erlang:port_to_list erlang:ports pre_loaded erlang:process_display process_flag process_info processes purge_module put erlang:raise erlang:read_timer erlang:ref_to_list register registered erlang:resume_process round self erlang:send erlang:send_after erlang:send_nosuspend erlang:set_cookie setelement size spawn spawn_link spawn_monitor spawn_opt split_binary erlang:start_timer statistics erlang:suspend_process erlang:system_flag erlang:system_info erlang:system_monitor erlang:system_profile term_to_binary throw time tl erlang:trace erlang:trace_delivered erlang:trace_info erlang:trace_pattern trunc tuple_size tuple_to_list erlang:universaltime erlang:universaltime_to_localtime unlink unregister whereis erlang:yield
35 # Erlang preprocessor instructions
36 preproc=-define -else -endif -ifdef -ifndef -include -include_lib -undef
37 # Erlang module attributes
38 module=-behavior -behaviour -compile -created -created_by -export -file -import -module -modified -modified_by -record -revision -spec -type -vsn
39 # Erlang documentation helpers
40 doc=@author @clear @copyright @deprecated @doc @docfile @end @equiv @headerfile @hidden @private @reference @see @since @spec @throws @title @todo @TODO @type @version
41 # Erlang documentation macros
42 doc_macro=@date @docRoot @link @module @package @section @time @type @version
44 [settings]
45 # default extension used when saving files
46 extension=erl
48 # MIME type
49 mime_type=text/x-erlang
51 # the following characters are these which a "word" can contains, see documentation
52 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
54 # single comments, like # in this file
55 comment_single=%
56 # multiline comments
57 #comment_open=
58 #comment_close=
60 # set to false if a comment character/string should start at column 0 of a line, true uses any
61 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
62 # #command_example();
63 # setting to false would generate this
64 # # command_example();
65 # This setting works only for single line comments
66 comment_use_indent=true
68 # context action command (please see Geany's main documentation for details)
69 context_action_cmd=
71 [indentation]
72 #width=4
73 # 0 is spaces, 1 is tabs, 2 is tab & spaces
74 #type=1
76 [build_settings]
77 # %f will be replaced by the complete filename
78 # %e will be replaced by the filename without extension
79 # (use only one of it at one time)
80 compiler=erlc "%f"
81 run_cmd=erl "%f"