Hi All, new here.. puzzling how to do a filetype description for *.vue files?
They can be basically a combination of html, javascript and scss..
Thanks Bret
Hi,
Le 15/02/2020 à 04:54, Bret Watson a écrit :
new here..
Welcome !
puzzling how to do a filetype description for *.vue files?
They can be basically a combination of html, javascript and scss..
Doesn't the HTML file mostly work OK?
There is currently no way to declare a custom mixed set of languages like that, support for it has to be added in the C++ highlighter, and possibly the C symbols extractor. The HTML ones already partly do this (highlighting should support HTML with embedded JavaScript and CSS at least), and the symbols extractor is on its way of being improved in that regard (but contributor time being scarce sometimes it's a little lagging behind).
Regards, Colomabn
Hi Colomabn, yes html mostly works.. but I was hoping it was possible to get it to fully work :) Sounds like thats a no..
Cheers Bret
On Sat, 15 Feb 2020 at 18:06, Colomban Wendling lists.ban@herbesfolles.org wrote:
Hi,
Le 15/02/2020 à 04:54, Bret Watson a écrit :
new here..
Welcome !
puzzling how to do a filetype description for *.vue files?
They can be basically a combination of html, javascript and scss..
Doesn't the HTML file mostly work OK?
There is currently no way to declare a custom mixed set of languages like that, support for it has to be added in the C++ highlighter, and possibly the C symbols extractor. The HTML ones already partly do this (highlighting should support HTML with embedded JavaScript and CSS at least), and the symbols extractor is on its way of being improved in that regard (but contributor time being scarce sometimes it's a little lagging behind).
Regards, Colomabn _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Le 15/02/2020 à 11:08, Bret Watson a écrit :
Hi Colomabn, yes html mostly works.. but I was hoping it was possible to get it to fully work :) Sounds like thats a no..
It might be good to open an issue listing what should be improved. For example, is the highlighting OK, and if not what are the issues? Same for the symbols it you care, although I have a fair idea of how it's likely not to work so well.
Also, it's not a "no" but a "it's some coding work" :)
Cheers, Colomban
Cheers Bret
On Sat, 15 Feb 2020 at 18:06, Colomban Wendling lists.ban@herbesfolles.org wrote:
Hi,
Le 15/02/2020 à 04:54, Bret Watson a écrit :
new here..
Welcome !
puzzling how to do a filetype description for *.vue files?
They can be basically a combination of html, javascript and scss..
Doesn't the HTML file mostly work OK?
There is currently no way to declare a custom mixed set of languages like that, support for it has to be added in the C++ highlighter, and possibly the C symbols extractor. The HTML ones already partly do this (highlighting should support HTML with embedded JavaScript and CSS at least), and the symbols extractor is on its way of being improved in that regard (but contributor time being scarce sometimes it's a little lagging behind).
Regards, Colomabn _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On Sat, 15 Feb 2020 at 20:13, Colomban Wendling lists.ban@herbesfolles.org wrote:
Le 15/02/2020 à 11:08, Bret Watson a écrit :
Hi Colomabn, yes html mostly works.. but I was hoping it was possible to get it to fully work :) Sounds like thats a no..
It might be good to open an issue listing what should be improved. For example, is the highlighting OK, and if not what are the issues? Same for the symbols it you care, although I have a fair idea of how it's likely not to work so well.
Also, it's not a "no" but a "it's some coding work" :)
Or more specifically its a "needs someone to do the coding work, and someone to do reviews and testing".
Cheers Lex
Cheers, Colomban
Cheers Bret
On Sat, 15 Feb 2020 at 18:06, Colomban Wendling lists.ban@herbesfolles.org wrote:
Hi,
Le 15/02/2020 à 04:54, Bret Watson a écrit :
new here..
Welcome !
puzzling how to do a filetype description for *.vue files?
They can be basically a combination of html, javascript and scss..
Doesn't the HTML file mostly work OK?
There is currently no way to declare a custom mixed set of languages like that, support for it has to be added in the C++ highlighter, and possibly the C symbols extractor. The HTML ones already partly do this (highlighting should support HTML with embedded JavaScript and CSS at least), and the symbols extractor is on its way of being improved in that regard (but contributor time being scarce sometimes it's a little lagging behind).
Regards, Colomabn _______________________________________________ Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/users
On 2020-02-14 7:54 p.m., Bret Watson wrote:
Hi All, new here.. puzzling how to do a filetype description for *.vue files?
They can be basically a combination of html, javascript and scss..
Not much to add, except to provide link to the upstream CTags discussion around adding support for single-file Vue components:
https://github.com/universal-ctags/ctags/issues/1577
As well as the existing Geany Issue for this:
https://github.com/geany/geany/issues/1346
Regards, Matthew Brush