Place # at the beginning of the line with the example in filetype conf files
[geany-mirror.git] / data / filedefs / filetypes.java
blob90c5d8f0a2140f522cf1b7fc24092f1eacb25a6c
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling=C]
4 [keywords]
5 primary=abstract assert break case catch class const continue default do else enum extends final finally for goto if implements import instanceof interface native new package private protected public return static strictfp super switch synchronized this throw throws transient try volatile while true false null
6 secondary=boolean byte char double float int long short void
7 # documentation keywords for javadoc
8 doccomment=author deprecated exception param return see serial serialData serialField since throws todo version
9 typedefs=
11 [lexer_properties=C]
13 [settings]
14 # default extension used when saving files
15 extension=java
17 # MIME type
18 mime_type=text/x-java
20 # the following characters are these which a "word" can contains, see documentation
21 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
23 # single comments, like # in this file
24 comment_single=//
25 # multiline comments
26 comment_open=/*
27 comment_close=*/
29 # set to false if a comment character/string should start at column 0 of a line, true uses any
30 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
31 # #command_example();
32 # setting to false would generate this
33 # # command_example();
34 # This setting works only for single line comments
35 comment_use_indent=true
37 # context action command (please see Geany's main documentation for details)
38 context_action_cmd=
40 [indentation]
41 #width=4
42 # 0 is spaces, 1 is tabs, 2 is tab & spaces
43 #type=1
45 [build_settings]
46 # %f will be replaced by the complete filename
47 # %e will be replaced by the filename without extension
48 # (use only one of it at one time)
49 compiler=javac "%f"
50 run_cmd=java "%e"