D27692: TypeScript: add private fields and type-only imports/exports, and some fixes

Nibaldo González noreply at phabricator.kde.org
Thu Feb 27 05:56:52 GMT 2020


nibags created this revision.
nibags added reviewers: Framework: Syntax Highlighting, dhaumann, cullmann.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
nibags requested review of this revision.

REVISION SUMMARY
  - Add private-named instance fields. Ex: `x.#name;`. [1]
  - Support type-only imports and exports. [2]
  - Improve the detection of conditional expressions `a ? b : c`. Allow multiple lines.
  - Add rules of round brackets `()` to correct bracket animation feature. [3]
  
  [1] https://github.com/microsoft/TypeScript/pull/30829
  [2] https://github.com/microsoft/TypeScript/pull/35200
  [3] https://unix.stackexchange.com/questions/527268/kate-18-12-3-no-longer-shows-matching-parenthesis-for-typescript

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  update-typescript

REVISION DETAIL
  https://phabricator.kde.org/D27692

AFFECTED FILES
  autotests/folding/test.ts.fold
  autotests/folding/test.tsx.fold
  autotests/html/test.ts.html
  autotests/html/test.tsx.html
  autotests/input/test.ts
  autotests/input/test.tsx
  autotests/reference/highlight.php.ref
  autotests/reference/test.htm.ref
  autotests/reference/test.markdown.ref
  autotests/reference/test.ts.ref
  autotests/reference/test.tsx.ref
  data/syntax/typescript-react.xml
  data/syntax/typescript.xml

To: nibags, #framework_syntax_highlighting, dhaumann, cullmann
Cc: kwrite-devel, kde-frameworks-devel, rrosch, LeGast00n, cblack, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200227/c16c8802/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list