Registered Member
|
Hello,
I just got a new computer and decided on KDE as my DE because it has the best support for hidpi displays. Can someone provide a link to a tutorial that explains how to use Kate for web design? I am very familiar with Atom and Visual Studio Code but would prefer to use the built-in Kate instead. In Atom or VS I can just type "h1" and get this: <h1>|</h1> Or type "div" to get: <div class=""</div> or at least: <div>|</div> Thanks for any pointers, tutorial links etc. - v |
Global Moderator
|
You can achieve something like this in kate by using snippets. I think as a built-in, this feature (automatically closing XML tags) is not available.
I'm working on the KDevelop IDE.
|
Registered Member
|
u can download snippets, but the best ones may have been censored away and are no longer available. try decentralized repos like 0install.
|
Registered Member
|
I made HTML and a CSS snippets for snippets a while ago. They are meant as an autocomplete, start writing the tags and you get autocomplete options. You can install them from the "get more snippets" menu but they also are here, which may be helpful for you to download the xml file and edit it for your own usage.
https://www.opendesktop.org/p/1217077/ https://www.opendesktop.org/p/1217325/ As an example, for <div></div> you have to start with the brackets but you could edit the xml file so that you just needed to type div. The fields in the file look like
You would just need to remove the <> in the match field |
Global Moderator
|
I'm very skeptical whether any snippet ever has been "censored" from the GHNS repo, unless it was obvious spam ... please don't make this kind of claim unless you can actually back it up with something (which I very much doubt).
I'm working on the KDevelop IDE.
|
Registered Member
|
You could also just stick with Atom/VS Code for the web design tasks as those are really some of the best tools for the job right now and will inevitably provide a much better experience than Kate can provide.
airdrik, proud to be a member of KDE forums since 2008-Dec.
|
Registered Member
|
Hello there, guys. I highly appreciate your advice on that. Tbh, I wish my friend had shared this thread with me earlier. I thought I’d manage to solve the issue myself, but I found nothing reasonable. So luckily, my friend from https://www.weareframework.co.uk/servic ... eb-design/ has found this thread for me. Actually, he inspired me to start doing web design. I’m still grateful to him for that. Anyway, thanks for your help, guys. Keep the thread updated. Wish you all the best.
|
Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]