Update Russian translation (#3918)
[geany-mirror.git] / data / filedefs / filetypes.php
blobfbe093ebabdc4433a9e3876a665891d5c8a04de6
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 # these characters define word boundaries when making selections and searching
17 # using word matching options
18 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
20 # these comments are used for PHP, the comments used in HTML are in filetypes.xml
21 # single comments, like # in this file
22 comment_single=//
23 # multiline comments
24 comment_open=/*
25 comment_close=*/
27 # set to false if a comment character/string should start at column 0 of a line, true uses any
28 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
29 # #command_example();
30 # setting to false would generate this
31 # # command_example();
32 # This setting works only for single line comments
33 comment_use_indent=true
35 # context action command (please see Geany's main documentation for details)
36 context_action_cmd=
38 # if this setting is set to true, a new line after a line ending with an
39 # unclosed tag will be automatically indented
40 xml_indent_tags=true
42 [indentation]
43 #width=4
44 # 0 is spaces, 1 is tabs, 2 is tab & spaces
45 #type=1
47 [build_settings]
48 # %f will be replaced by the complete filename
49 # %e will be replaced by the filename without extension
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