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

Emmet script doesn't work in Kate

Tags: None
(comma "," separated)
kuznietsov
Registered Member
Posts
3
Karma
0

Emmet script doesn't work in Kate

Thu Oct 19, 2017 8:11 pm
Hi, could you please help to get it back to work the Emmet scripts in Kate?
Kate version 17.08.2

No one Emmet script works. I run them from Tools-Scripts-Emmet.
When I start Kate from Konsole and when I invoke an Emmet script, I get the messages:

Code: Select all
$ kate
PluginXmlCheck()
KTranscript: Loaded module: /usr/share/locale/uk/LC_SCRIPTS/ki18n5/ki18n5.js
kf5.kio.core: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf\nLoaded services file OK.\nWARNING: The 'netbios name' is too long (max. 15 chars).\n\n"
error evaluating ":/ktexteditor/script/libraries/emmet/lib.js" "SyntaxError: Unexpected token `'"


the lib.js I found:
Code: Select all
$ dpkg -S lib.js
kate-data: /usr/share/kde4/apps/katepart/script/libraries/emmet/lib.js


Thank you!
kuznietsov
Registered Member
Posts
3
Karma
0

Re: Emmet script doesn't work in Kate

Sun Oct 22, 2017 10:20 pm
Maybe the place of the script is incorrect? Because i have KDE 5, and the script sits at the path with kde4: /usr/share/kde4/apps/katepart/...

Those, who has kde5 and kate, can you , please, check, where is your script?

Code: Select all
$ dpkg -S lib.js
lueck
Mentor
Posts
225
Karma
2
kate in kf5 does not install emmet/lib.js
kuznietsov
Registered Member
Posts
3
Karma
0
Thank you very much for the answer! That's pity, because I like the Emmet feature to highlight paired HTML tags.
lueck
Mentor
Posts
225
Karma
2
since https://cgit.kde.org/ktexteditor.git/co ... 41c9671133 all js stuff is packaged in a resource named script.qrc, but this ressource file is not installed.
you should file a bug report about this issue


Bookmarks



Who is online

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