[Gambas-bugtracker] Bug #2587: IDE should color syntax highlight Gambas scripts without .gbs suffix

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Fri Jul 15 05:50:38 CEST 2022


http://gambaswiki.org/bugtracker/edit?object=BUG.2587&from=L21haW4-

Ian LAURIE reported a new bug.

Summary
-------

IDE should color syntax highlight Gambas scripts without .gbs suffix

Type             : Request
Priority         : Medium
Gambas version   : Master
Product          : Development Environment


Description
-----------

As Gambas may be used to write scrips, and generally these will not have the .gbs suffix, it would make sense to have the option to show Gambas syntax highlighting in the editor for files with no .gbs suffix.  Even better, detect the #!/usr/bin/gbs3 on the first line and automatically assume it is a Gambas source file.

It would be less of an issue if Gambas syntax was recognized by other editors, but unfortunately that isn't the case.  So we must add a suffix when editing, then remove it later which is a pain.


System information
------------------

Fedora 36 Linux gambas3-ide-3.17.2-1.fc36.x86_64




More information about the Bugtracker mailing list