Quick-Turn-Studio / CLionSupportForQt

19 stars 0 forks source link

String interpolation breaks the syntax highlighting #18

Closed agom closed 4 years ago

agom commented 4 years ago

Using the string interpolation breaks the syntax highlighting for the rest of the file e.g.

property string name: `String ${number}`

Tooltip error on the first ` character:

<bool value>, <object>, <operation>, <ternary operation>, QmlTokenType.CLASS_NAME, QmlTokenType.FIELD_NAME, QmlTokenType.FUNCTION_NAME, QmlTokenType.IMPORT_QUALIFIER, QmlTokenType.INCREMENT_OPERATOR, QmlTokenType.INTEGER_VALUE, QmlTokenType.NAMESPACE_NAME, QmlTokenType.NEW_KEYWORD, QmlTokenType.NULL_KEYWORD, QmlTokenType.NUMBER_VALUE, QmlTokenType.OPEN_ARRAY, QmlTokenType.REFERENCE_NAME or QmlTokenType.STRING_VALUE expected, got '`'

Example screenshot

image

grabusr commented 4 years ago

Hi Agostino, Version 0.9.4 is able to download. Please confirm if it solves your problems.

agom commented 4 years ago

Hi Agostino, Version 0.9.4 is able to download. Please confirm if it solves your problems.

Seems to work, thanks!