Merge branch 'callbacks-cleanup'
[geany-mirror.git] / data / filetypes.php
blob472374fdc4041cd905022ea43fdd6e7e4581dd9b
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling=HTML]
4 [keywords=HTML]
6 [lexer_properties]
7 phpscript.mode=1
9 [settings]
10 # default extension used when saving files
11 extension=php
13 # MIME type
14 mime_type=application/x-php
16 # the following characters are these which a "word" can contains, see documentation
17 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
19 # these comments are used for PHP, the comments used in HTML are in filetypes.xml
20 # single comments, like # in this file
21 comment_single=//
22 # multiline comments
23 comment_open=/*
24 comment_close=*/
26 # set to false if a comment character/string should start at column 0 of a line, true uses any
27 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
28 #command_example();
29 # setting to false would generate this
30 # command_example();
31 # This setting works only for single line comments
32 comment_use_indent=true
34 # context action command (please see Geany's main documentation for details)
35 context_action_cmd=
37 # if this setting is set to true, a new line after a line ending with an
38 # unclosed tag will be automatically indented
39 xml_indent_tags=true
41 [indentation]
42 #width=4
43 # 0 is spaces, 1 is tabs, 2 is tab & spaces
44 #type=1
46 [build_settings]
47 # %f will be replaced by the complete filename
48 # %e will be replaced by the filename without extension
49 # (use only one of it at one time)
50 compiler=php -l "%f"
51 run_cmd=php "%f"
53 # use can also use something like this, to view your PHP or HTML files through a browser and webserver
54 #run_cmd=firefox http://localhost/test_site/%f