More other languages

Back to Programming Languages forum

litso_roman     2019-06-05 13:06:43

I uderstand, that implementing many different languages for syntax highlighting can be complicated. But I would like to set any language I want. For example if language is other, there could be additional text field where to put in language name. Currentrly I have a problem to use more then one "other" languge, if I add another solution it has been rewritten.

The only solution at the moment is using more then one account.

Rodion (admin)     2019-06-05 18:19:37
User avatar

Roman, Hi!

Thanks for the suggestion. It is not that hard to implement, but it may be harder to support it then wherever the language is used. I not always remember this well in the code... For example I don't remember will reloading the solution to editor work correctly if I simply add it to the list :)

I'll try to think how we could improve it easily/conveniently.

The only solution at the moment is using more then one account.

It's ok, surely. The other "solution" could be to set the language to some wrong language which you definitely are not going to use (e.g. Lisp) - with the hope of changing it later when some improvement is done on the site...

By the way, if you can tell the language - I think it would be not hard for me at least to add this as one of the "predefined" ones (as recently I've added Go and Perl).

litso_roman     2019-06-06 12:39:15

The language is swift. Whould be nice to see it. Thank you

Rodion (admin)     2019-06-06 13:21:00
User avatar

Thanks for suggestion! Swift is certainly spoken of for several years already (though curiously it still has less popularity than Objective-C, in various charts/indexes).

Hopefully, from now the Swift is added to the list, so it should appear in the selection box for solution language and in the form for finding other solutions.

The things still missing are: highliting, language detection and run on server feature. I perhaps improve this by and by :)

Please login and solve 5 problems to be able to post at forum