Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Wed, 20 Nov 2024 14:58:31 UTC Commit: 8fad65c66c6f088a78eeae2c0397ab4c4f470bee https://github.com/geany/geany/commit/8fad65c66c6f088a78eeae2c0397ab4c4f470b...
Log Message: ----------- Update documentation
Modified Paths: -------------- HACKING doc/geany.txt
Modified: HACKING 3 lines changed, 1 insertions(+), 2 deletions(-) =================================================================== @@ -536,8 +536,7 @@ first (scintilla or ctags). If you want to reuse an existing lexer and/or tag parser, making a custom filetype is probably easier - it doesn't require any changes to the source code. Follow instructions in the manual: -https://geany.org/manual/index.html#custom-filetypes. Don't forget to -update the ``[Groups]`` section in ``filetype_extensions.conf``. +https://geany.org/manual/index.html#custom-filetypes.
.. warning:: You should use the newer `[build-menu]` section for default build
Modified: doc/geany.txt 29 lines changed, 0 insertions(+), 29 deletions(-) =================================================================== @@ -4219,7 +4219,6 @@ support for the following has been implemented:
* Recognizing and setting the filetype (after the user has manually updated the `filetype extensions`_ file). -* `Filetype group membership`_. * Reading filetype settings in the ``[settings]`` section, including: * Using an existing syntax highlighting lexer (`lexer_filetype`_ key). * Using an existing tags parser (`tag_parser`_ key). @@ -4892,34 +4891,6 @@ should look like:: [Extensions] Make=Makefile*;*.mk;Buildfile;
-Filetype group membership -^^^^^^^^^^^^^^^^^^^^^^^^^ -Filetype groups are used in the `Document->Set Filetype` menu. - -Group membership is also stored in ``filetype_extensions.conf``. This -file is used to store information Geany needs at startup, whereas the -separate filetype definition files hold information only needed when -a document with their filetype is used. - -The format looks like:: - - [Groups] - Programming=C;C++; - Script=Perl;Python; - Markup=HTML;XML; - Misc=Diff;Conf; - None=None; - -The key names cannot be configured. - -.. note:: - Group membership is only read at startup. - -.. tip:: - You can make commonly used filetypes appear in the top-level of the - filetype menu by adding them to the `None` group, e.g. - `None=C;Python`. - Preferences file format -----------------------
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).