This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kate and TypeScript / AngularJS

Tags: None
(comma "," separated)
marcoczen
Registered Member
Posts
4
Karma
0

Kate and TypeScript / AngularJS

Sun Jan 28, 2018 3:11 pm
Guys,

Kate ( With Fish via Konqueror ) has been great for me , especially for remote editing.
However , It seems to be lacking highlting for typescript ?

How do you guys use Kate for Angular JS / Ionix / Mobile Programming ?

Anybody got TypeScript Syntax highlighting to work ?
marcoczen
Registered Member
Posts
4
Karma
0

Re: Kate and TypeScript / AngularJS

Thu Feb 01, 2018 4:17 pm
Bump ?
Nobody uses Kate for editing Typescript ?
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Kate and TypeScript / AngularJS

Fri Feb 02, 2018 8:50 pm
Probably not because there are plenty of other better editors for TypeScript.
Though as JS/TS gets used more for desktop applications I suspect that the set of users who would consider using Kate (or possibly even kdevelop) for such projects to increase.

While I know that Kate uses syntax files for the various languages it supports, including a mechanism for updating those from the web somewhere, I'm not familiar with where they are stored or how to contribute new ones. (I'd hope that there is a resource on KDE Techbase or Kate's site or somewhere which goes over these syntax files and/or how to contribute new ones)


airdrik, proud to be a member of KDE forums since 2008-Dec.
lueck
Mentor
Posts
225
Karma
2

Re: Kate and TypeScript / AngularJS

Sat Feb 03, 2018 10:29 am
Syntax highlighting is a frameworks library, code is in: commits.kde.org/syntax-highlighting
Documentation: https://docs.kde.org/trunk5/en/applicat ... light.html
marcoczen
Registered Member
Posts
4
Karma
0

Re: Kate and TypeScript / AngularJS

Sat Feb 03, 2018 7:17 pm
airdrik wrote:Probably not because there are plenty of other better editors for TypeScript.


What do u use ?


While I know that Kate uses syntax files for the various languages it supports, including a mechanism for updating those from the web somewhere, I'm not familiar with where they are stored or how to contribute new ones. (I'd hope that there is a resource on KDE Techbase or Kate's site or somewhere which goes over these syntax files and/or how to contribute new ones)


I have explored the typescript.xml syntax highlighting file at https://github.com/PrettyFlower/KateTyp ... ghlighting
but it doesnt seem to be working with newer kate versions - note that it was last worked on in 2012.
marcoczen
Registered Member
Posts
4
Karma
0

Re: Kate and TypeScript / AngularJS

Sat Feb 03, 2018 7:18 pm
lueck wrote:Syntax highlighting is a frameworks library, code is in: commits.kde.org/syntax-highlighting
Documentation: https://docs.kde.org/trunk5/en/applicat ... light.html


Read that - but I am not skilled enough to create my own xml file.
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Kate and TypeScript / AngularJS

Tue Feb 06, 2018 7:40 pm
I haven't done any TypeScript development yet, but we do have projects at our company using TS and/or Angular. As I've been able to observe, a lot of people use Visual Studio Code, Atom, or Sublime Text, possibly a few others.


airdrik, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]