lectures.alex.balgavy.eu

Lecture notes from university.
git clone git://git.alex.balgavy.eu/lectures.alex.balgavy.eu.git
Log | Files | Refs | Submodules

syntax_test_java_properties.properties (3649B)


      1 # SYNTAX TEST "Packages/Java/JavaProperties.sublime-syntax"
      2 
      3 # Comment line 1
      4 # <- comment.line.java-props punctuation.definition.comment.java-props
      5 #^^^^^^^^^^^^^^^ comment.line.java-props
      6 
      7   # Comment line 2
      8 # ^ comment.line.java-props punctuation.definition.comment.java-props
      9 # ^^^^^^^^^^^^^^^^ comment.line.java-props
     10 
     11 ! Comment line 3
     12 # <- comment.line.java-props punctuation.definition.comment.java-props
     13 #^^^^^^^^^^^^^^^ comment.line.java-props
     14 
     15   ! Comment line 4
     16 # ^ comment.line.java-props punctuation.definition.comment.java-props
     17 # ^^^^^^^^^^^^^^^^ comment.line.java-props
     18 
     19 property_name=Value of Property
     20 #^^^^^^^^^^^^ entity.name.key.java-props
     21 #            ^ punctuation.separator.java-props
     22 #             ^^^^^^^^^^^^^^^^^ string.unquoted.java-props
     23 
     24 property_name = Value of Property
     25 #^^^^^^^^^^^^ entity.name.key.java-props
     26 #            ^ -entity.name.key.java-props
     27 #             ^ punctuation.separator.java-props
     28 #              ^ -entity.name.key.java-props
     29 #               ^^^^^^^^^^^^^^^^^ string.unquoted.java-props
     30 
     31 property_name:Value of Property
     32 #^^^^^^^^^^^^ entity.name.key.java-props
     33 #            ^ punctuation.separator.java-props
     34 #             ^^^^^^^^^^^^^^^^^ string.unquoted.java-props
     35 
     36 property_name     :     Value of Property
     37 #^^^^^^^^^^^^ entity.name.key.java-props
     38 #            ^^^^^ -entity.name.key.java-props
     39 #                 ^ punctuation.separator.java-props
     40 #                  ^^^^^ -entity.name.key.java-props
     41 #                       ^^^^^^^^^^^^^^^^^ string.unquoted.java-props
     42 
     43 property_name Value of Property
     44 #^^^^^^^^^^^^ entity.name.key.java-props
     45 #            ^ -entity.name.key.java-props -string.unquoted.java-props
     46 #             ^^^^^^^^^^^^^^^^^ string.unquoted.java-props
     47 
     48 
     49 name=
     50 #^^^ entity.name.key.java-props
     51 #   ^ punctuation.separator.java-props
     52 value
     53 #^^^^ entity.name.key.java-props -string.unquoted.java-props
     54 
     55 =value
     56 # <- punctuation.separator.java-props
     57 #^^^^^ string.unquoted.java-props
     58 
     59 :value
     60 # <- punctuation.separator.java-props
     61 #^^^^^ string.unquoted.java-props
     62 
     63 name===value
     64 #   ^ punctuation.separator.java-props
     65 #    ^^ -punctuation.separator.java-props string.unquoted.java-props
     66 
     67 name\ with\=escap\es\:=Value \ with \nescap\es
     68 #^^^^^^^^^^^^^^^^^^^^^ entity.name.key.java-props
     69 #   ^^ constant.character.escape.java-props
     70 #         ^^ constant.character.escape.java-props
     71 #                ^^ constant.character.escape.java-props
     72 #                   ^^ constant.character.escape.java-props
     73 #                     ^ punctuation.separator.java-props
     74 #                      ^^^^^^^^^^^^^^^^^^^^^^^ string.unquoted.java-props
     75 #                            ^^ constant.character.escape.java-props
     76 #                                   ^^ constant.character.escape.java-props
     77 #                                          ^^ constant.character.escape.java-props
     78 
     79 
     80 unicode_\u263A = \u263B unicode \u263c
     81 #^^^^^^^^^^^^^ entity.name.key.java-props
     82 #       ^^^^^^ constant.character.escape.unicode.java-props
     83 #                ^^^^^^^^^^^^^^^^^^^^^ string.unquoted.java-props
     84 #                ^^^^^^ constant.character.escape.unicode.java-props
     85 #                               ^^^^^^ constant.character.escape.unicode.java-props
     86 
     87 name = First Line \
     88 #      ^^^^^^^^^^^^ string.unquoted.java-props
     89 #                 ^ punctuation.separator.continuation.java-props
     90 
     91 name = First Line \
     92        Second Line \
     93        Third Line
     94 #      ^^^^^^^^^^ string.unquoted.java-props
     95 
     96 name=value
     97 #^^^ -string.unquoted.java-props
     98 
     99 name = \
    100 value
    101 #^^^^ string.unquoted.java-props
    102 
    103 name = \
    104 # Not a comment
    105 #^^^^^^^^^^^^^^ string.unquoted.java-props
    106 
    107 property_\
    108 name = value
    109 #^^^ entity.name.key.java-props