Geany Wiki https://wiki.geany.org/ 2025-06-12T20:25:53+00:00
  • Geany Wiki https://wiki.geany.org/ https://wiki.geany.org/_media/wiki/dokuwiki.svg text/html 2025-03-30T15:56:17+00:00 enrico ([email protected]) Tag Files - Update Terraform/HCL tags https://wiki.geany.org/tags/start?rev=1743350177&do=diff <pre> @@ -83,16 +83,24 @@ ^Filename ^Name ^Version ^Submitted by ^ | [[https://wiki.geany.org/_media/tags/std.glsl.tags|std.glsl.tags]] | [[http://www.opengl.org/|OpenGL Shading Language]] | | Colomban Wendling | ==== HCL (Terraform/OpenTofu) Tags ==== - This is a custom filetype for Geany, see [[config:hcl-terraform|]] for setup instructions. + This filetype is supported since Geany 2.1. + + Most of the tags below are generated using the script at https://github.com/eht16/generate-terraform-tags. [[https://wiki.geany.org/get_tags?language=tf|{{:tags:package-x-generic.png?nolink&amp;|}}]] [[https://wiki.geany.org/get_tags?language=tf|Download all HCL tag files]] ^Filename ^Name ^Version ^Submitted by ^ - | [[https://wiki.geany.org/_media/tags/aws.tf.tags|aws.tf.tags]] | HCL resources for AWS provider | unknown | Erno Kaikkonen and Enrico Tröger | - | [[https://wiki.geany.org/_media/tags/google_cloud.tf.tags|google_cloud.tf.tags]] | HCL resources for Google Cloud provider | unknown | Erno Kaikkonen and Enrico Tröger | - | [[https://wiki.geany.org/_media/tags/helm_kubectl_proxmox.tf.tags|helm_kubectl_proxmox.tf.tags]] | HCL resources for Helm, kubectl and proxmox providers | unknown | Erno Kaikkonen and Enrico Tröger | - | [[https://wiki.geany.org/_media/tags/opentelekomcloud-1.36.30.tf.tags|opentelekomcloud-1.36.30.tf.tags]] | HCL resources for OpenTelekomCloud provider | 1.36.30 | Enrico Tröger | + | [[https://wiki.geany.org/_media/tags/bpg_proxmox-0.74.0.hcl.tags|bpg_proxmox-0.74.0.hcl.tags]] | HCL resources for Proxmox provider | 0.74.0 | Enrico Tröger | + | [[https://wiki.geany.org/_media/tags/gavinbunney_kubectl-1.19.0.hcl.tags|gavinbunney_kubectl-1.19.0.hcl.tags]] | HCL resources for kubectl provider | 1.19.0 | Enrico Tröger | + | [[https://wiki.geany.org/_media/tags/hashicorp_aws-5.93.0.hcl.tags|hashicorp_aws-5.93.0.hcl.tags]] | HCL resources for AWS provider | 5.93.0 | Enrico Tröger | + | [[https://wiki.geany.org/_media/tags/hashicorp_azurerm-4.25.0.hcl.tags|hashicorp_azurerm-4.25.0.hcl.tags]] | HCL resources for Azure provider | 4.25.0 | Enrico Tröger | + | [[https://wiki.geany.org/_media/tags/hashicorp_dns-3.4.2.hcl.tags|hashicorp_dns-3.4.2.hcl.tags]] | HCL resources for DNS provider | 3.4.2 | Enrico Tröger | + | [[https://wiki.geany.org/_media/tags/hashicorp_google-6.27.0.hcl.tags|hashicorp_google-6.27.0.hcl.tags]] | HCL resources for Google Cloud provider | 6.27.0 | Enrico Tröger | + | [[https://wiki.geany.org/_media/tags/hashicorp_helm-2.17.0.hcl.tags|hashicorp_helm-2.17.0.hcl.tags]] | HCL resources for Helm provider | 2.17.0 | Enrico Tröger | + | [[https://wiki.geany.org/_media/tags/hashicorp_kubernetes-2.36.0.hcl.tags|hashicorp_kubernetes-2.36.0.hcl.tags]] | HCL resources for Kubernetes provider | 2.36.0 | Enrico Tröger | + | [[https://wiki.geany.org/_media/tags/opentelekomcloud_opentelekomcloud-1.36.34.hcl.tags|opentelekomcloud_opentelekomcloud-1.36.34.hcl.tags]] | HCL resources for OpenTelekomCloud provider | 1.36.34 | Enrico Tröger | + {{ :tags:aws.tf.tags |}} ==== Java Tags ==== ^Filename ^Name ^Version ^Submitted by ^ | [[https://raw.githubusercontent.com/DThought/geany-tags/master/android/android-22.java.tags|android-22.java.tags]] | [[https://developer.android.com/reference/android/package-summary.html|Android]] | 22 | Ethan Young | </pre> text/html 2025-03-30T15:56:10+00:00 enrico ([email protected]) opentelekomcloud_opentelekomcloud-1.36.34.hcl.tags - created https://wiki.geany.org/?image=tags%3Aopentelekomcloud_opentelekomcloud-1.36.34.hcl.tags&ns=tags&rev=1743350170&tab_details=history&media_do=diff&do=media <table><tr><th width="50%"></th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:56:10+00:00 enrico ([email protected]) hashicorp_google-6.27.0.hcl.tags - created https://wiki.geany.org/?image=tags%3Ahashicorp_google-6.27.0.hcl.tags&ns=tags&rev=1743350170&tab_details=history&media_do=diff&do=media <table><tr><th width="50%"></th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:56:10+00:00 enrico ([email protected]) hashicorp_kubernetes-2.36.0.hcl.tags - created https://wiki.geany.org/?image=tags%3Ahashicorp_kubernetes-2.36.0.hcl.tags&ns=tags&rev=1743350170&tab_details=history&media_do=diff&do=media <table><tr><th width="50%"></th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:56:10+00:00 enrico ([email protected]) hashicorp_helm-2.17.0.hcl.tags - created https://wiki.geany.org/?image=tags%3Ahashicorp_helm-2.17.0.hcl.tags&ns=tags&rev=1743350170&tab_details=history&media_do=diff&do=media <table><tr><th width="50%"></th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:56:10+00:00 enrico ([email protected]) hashicorp_azurerm-4.25.0.hcl.tags - created https://wiki.geany.org/?image=tags%3Ahashicorp_azurerm-4.25.0.hcl.tags&ns=tags&rev=1743350170&tab_details=history&media_do=diff&do=media <table><tr><th width="50%"></th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:56:09+00:00 enrico ([email protected]) hashicorp_aws-5.93.0.hcl.tags - created https://wiki.geany.org/?image=tags%3Ahashicorp_aws-5.93.0.hcl.tags&ns=tags&rev=1743350169&tab_details=history&media_do=diff&do=media <table><tr><th width="50%"></th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:56:08+00:00 enrico ([email protected]) hashicorp_dns-3.4.2.hcl.tags - created https://wiki.geany.org/?image=tags%3Ahashicorp_dns-3.4.2.hcl.tags&ns=tags&rev=1743350168&tab_details=history&media_do=diff&do=media <table><tr><th width="50%"></th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:56:07+00:00 enrico ([email protected]) bpg_proxmox-0.74.0.hcl.tags - created https://wiki.geany.org/?image=tags%3Abpg_proxmox-0.74.0.hcl.tags&ns=tags&rev=1743350167&tab_details=history&media_do=diff&do=media <table><tr><th width="50%"></th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:56:07+00:00 enrico ([email protected]) gavinbunney_kubectl-1.19.0.hcl.tags - created https://wiki.geany.org/?image=tags%3Agavinbunney_kubectl-1.19.0.hcl.tags&ns=tags&rev=1743350167&tab_details=history&media_do=diff&do=media <table><tr><th width="50%"></th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:55:15+00:00 enrico ([email protected]) helm_kubectl_proxmox.tf.tags - removed https://wiki.geany.org/?image=tags%3Ahelm_kubectl_proxmox.tf.tags&ns=tags&rev=1743350115&tab_details=history&media_do=diff&do=media <table><tr><th width="50%">1739122059</th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:54:57+00:00 enrico ([email protected]) opentelekomcloud-1.36.30.tf.tags - removed https://wiki.geany.org/?image=tags%3Aopentelekomcloud-1.36.30.tf.tags&ns=tags&rev=1743350097&tab_details=history&media_do=diff&do=media <table><tr><th width="50%">1739122060</th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:54:40+00:00 enrico ([email protected]) google_cloud.tf.tags - removed https://wiki.geany.org/?image=tags%3Agoogle_cloud.tf.tags&ns=tags&rev=1743350080&tab_details=history&media_do=diff&do=media <table><tr><th width="50%">1739122059</th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-03-30T15:54:29+00:00 enrico ([email protected]) aws.tf.tags - removed https://wiki.geany.org/?image=tags%3Aaws.tf.tags&ns=tags&rev=1743350069&tab_details=history&media_do=diff&do=media <table><tr><th width="50%">1739122059</th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table> text/html 2025-02-23T17:25:19+00:00 enrico ([email protected]) - Remove custom HCL filetype since it's included in Geany now https://wiki.geany.org/config/hcl-terraform?rev=1740331519&do=diff <pre> @@ -1,89 +1 @@ - ==== HCL Filetype (Terraform / OpenTofu) ===== - - **HCL** is a file format used to by Terraform and OpenTofu. - - This page describe how to add HCL file syntax highlighting to Geany. - - ===== Step 1) ===== - - Add the following lines to //~/.config/geany/filetype_extensions.conf// under the respective sections [Extensions] and [Groups] - &lt;file properties&gt; - [Extensions] - HCL=*.tf;*.tfvars;*.hcl; - &lt;/file&gt; - - - ===== Step 2) ===== - - Save the configuration file below in your Geany filetype definition files config directory, e.g. //~/.config/geany/filedefs/filetypes.HCL.conf// - - &lt;file properties filetypes.HCL.conf&gt; - # For complete documentation of this file, please see Geany&#039;s main documentation - [styling=C] - preprocessor=comment - - [keywords] - # all items must be in one line - primary=data local locals module provider resource terraform var - - [lexer_properties=C] - styling.within.preprocessor=0 - - [settings] - # default extension used when saving files - extension=tf - lexer_filetype=C - tag_parser=Terraform - - # the following characters are these which a &quot;word&quot; can contains, see documentation - #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 - - # single comments, like # in this file - comment_single=# - #comment_single=// - # multiline comments - comment_open=/* - comment_close=*/ - - # set to false if a comment character/string should start at column 0 of a line, true uses any - # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d - #command_example(); - # setting to false would generate this - # command_example(); - # This setting works only for single line comments - comment_use_indent=true - - # context action command (please see Geany&#039;s main documentation for details) - #context_action_cmd= - - [indentation] - width=2 - # 0 is spaces, 1 is tabs, 2 is tab &amp; spaces - type=0 - - [build-menu] - FT_00_LB=Plan - FT_00_CM=terraform plan -no-color - FT_00_WD=%d - EX_00_LB=Apply - EX_00_CM=terraform apply - EX_00_WD=%d - EX_01_LB=Destroy - EX_01_CM=terraform destroy - EX_01_WD=%d - FT_01_LB=Init - FT_01_CM=terraform init -no-color - FT_01_WD=%d - &lt;/file&gt; - - ===== Step 3) ===== - - If you are using the Geany-LSP plugin (https://plugins.geany.org/lsp.html) for additional editing assistance, - you can also use the Terraform language server. The Geany-LSP plugin already includes the corresponding - configuration for the filetype HCL. - - You only need to install the language server from https://github.com/hashicorp/terraform-ls or https://github.com/opentofu/opentofu-ls. - - {{tag&gt;configure hcl terraform opentofu tfvars filetype}} - </pre> text/html 2025-02-22T21:46:47+00:00 colombanw ([email protected]) All you never wanted to know about file saving - Explicitly mention that use_atomic_file_saving loses links https://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving?rev=1740260807&do=diff <pre> @@ -39,9 +39,9 @@ * Overwrites the existing file. * If anything goes wrong in writing (disk full, network interruption) the file is likely to be truncated. On some file systems it is truncated to zero length. Geany will give a warning of possible truncation. * Uses Geany&#039;s own code so it can be modified. - If use_atomic_file_saving is set, use_gio_file_saving is ignored and Geany will use an atomic file save method. This means that the file is first written to a temporary file, then renamed to the existing file name. On most file systems rename is atomic, that is it succeeds completely or nothing will change, especially on modern journalling systems. This functionality is provided and maintained by the Glib library. + If use_atomic_file_saving is set, use_gio_unsafe_file_saving is ignored and Geany will use an atomic file save method. This means that the file is first written to a temporary file, then renamed to the existing file name. On most file systems rename is atomic, that is it succeeds completely or nothing will change, especially on modern journalling systems. This functionality is provided and maintained by the Glib library. Advantages: * The existing file is not touched until the rename, which happens after the temporary file has successfully been written. So if the write fails, the existing file should not be lost. @@ -49,8 +49,9 @@ Disadvantages: * Because it writes the temporary file as a new file, it will get the permissions and other metadata (eg execute) of a new file, not those of the old file. + * Because of renaming over the old file rather than changing its content, if the old file was a symlink the link is lost and is replaced with a new file instead, leaving the link target untouched. * Does not work on all file systems since rename or rename over an existing file is not supported on all file systems. * Uses twice as much file space during the process. * Uses library code so Geany can&#039;t modify its behaviour. @@ -93,9 +94,9 @@ * Leaves the previous contents available in case of user error (you meant to do save-as) or failure during the write. Disadvantages: - * Only works if use_gio_unsafe_file_saving is in operation, **remember use_atomic_file_saving overrides it**. + * Only works if &#039;&#039;use_gio_unsafe_file_saving&#039;&#039; is in enabled and &#039;&#039;use_atomic_file_saving&#039;&#039; is disabled (&#039;&#039;use_atomic_file_saving&#039;&#039; **overrides** &#039;&#039;use_gio_unsafe_file_saving&#039;&#039;). * Uses twice the disk space. * Can be slow on remote filesystems as it may have to read and write data to create the backup if renaming fails. ===== Save Actions plugin ===== </pre> text/html 2025-02-09T15:11:32+00:00 enrico ([email protected]) Dockerfile and docker-compose Filetype - Remove wrong tag https://wiki.geany.org/config/docker-compose?rev=1739113892&do=diff <pre> @@ -1,15 +1,17 @@ ==== Dockerfile and docker-compose Filetype ===== + + &lt;WRAP center round tip 60%&gt; + Since Geany 2.1 a filetype for Dockerfiles is included in Geany. + For older versions, the filetype can be manually installed from https://github.com/geany/geany/blob/master/data/filedefs/filetypes.Dockerfile.conf. + &lt;/WRAP&gt; + **Dockerfile** is a file format used to build [[http://www.docker.com|Docker]] images.\\ **docker-compose.yml** is a file format to build and run multiple Docker containers; using [[https://docs.docker.com/compose/|docker-compose]]. \\ [[http://www.docker.com|Docker]] is a computer program that performs operating-system-level virtualization, also known as &quot;containerization&quot; This page describe how to add basic docker-compose file syntax highlighting to Geany. - - //**Note:**// Since Geany 2.1 a filetype for Dockerfiles is included in Geany. - For older versions, the filetype can be manually installed from https://github.com/geany/geany/blob/master/data/filedefs/filetypes.Dockerfile.conf. - ===== Step 1) ===== Add the following lines to //~/.config/geany/filetype_extensions.conf// under the respective sections [Extensions] and [Groups] @@ -50,6 +52,6 @@ &lt;/file&gt; - {{tag&gt;configure gnuplot filetype Dockerfile docker-compose}} + {{tag&gt;configure filetype Dockerfile docker-compose}} </pre> text/html 2025-02-09T15:10:05+00:00 enrico ([email protected]) Dockerfile Filetype - Make deprecation note more prominent https://wiki.geany.org/config/dockerfile?rev=1739113805&do=diff <pre> @@ -1,5 +1,15 @@ ==== Dockerfile Filetype ===== + + &lt;WRAP center round tip 60%&gt; + **Please use the combined [[config:docker-compose]]** \\ + Dockerfiles and docker-compose filetypes are now merged into one filetype. Therefore this filetype for only Dockerfiles files will not be kept updated. \\ + Go to the filetype [[config:docker-compose]] instead. + &lt;/WRAP&gt; + + ---- + + **Dockerfile** is a file format used to build [[http://www.docker.com|Docker]] images.\\ [[http://www.docker.com|Docker]] is a computer program that performs operating-system-level virtualization, also known as &quot;containerization&quot; </pre> text/html 2025-01-18T12:39:47+00:00 giuspen ([email protected]) Build Geany on Windows (using MSYS2) - fix for .dll not generated https://wiki.geany.org/howtos/win32/msys2?rev=1737203987&do=diff <pre> @@ -49,9 +49,9 @@ In case you want also compile the combined Geany-Plugins collection, you need the following dependencies: # geany-plugins dependencies - pacman -S mingw-w64-x86_64-check mingw-w64-x86_64-enchant mingw-w64-x86_64-lua51 mingw-w64-x86_64-gpgme mingw-w64-x86_64-libsoup mingw-w64-x86_64-libgit2 mingw-w64-x86_64-gtkspell3 mingw-w64-x86_64-ctpl-git + pacman -S mingw-w64-x86_64-check mingw-w64-x86_64-enchant mingw-w64-x86_64-lua51 mingw-w64-x86_64-gpgme mingw-w64-x86_64-libsoup mingw-w64-x86_64-libgit2 mingw-w64-x86_64-gtkspell3 mingw-w64-x86_64-ctpl-git intltool Note: Pacman will probably suggest to replace `mingw-w64-x86_64-lua51` by `mingw-w64-x86_64-luajit`. Deny this suggestion and keep installing `mingw-w64-x86_64-lua51`. Otherwise building the GeanyLua plugin might and creating a release installer will break. @@ -142,9 +142,9 @@ DESTINATON=$HOME/geany_build VERSION=&quot;2.1&quot; cd ~/git/geany - make distclean + git clean -dfx NOCONFIGURE=1 ./autogen.sh export lt_cv_deplibs_check_method=${lt_cv_deplibs_check_method=&#039;pass_all&#039;} mkdir _build cd _build @@ -181,9 +181,9 @@ DESTINATON=$HOME/geany_build VERSION=&quot;2.1&quot; cd ~/git/geany-plugins - make distclean + git clean -dfx NOCONFIGURE=1 ./autogen.sh export lt_cv_deplibs_check_method=${lt_cv_deplibs_check_method=&#039;pass_all&#039;} mkdir _build cd _build </pre> text/html 2023-06-19T22:41:15+00:00 fridge-elements ([email protected]) odbc-3.1.c.tags - created https://wiki.geany.org/?image=tags%3Aodbc-3.1.c.tags&ns=tags&rev=1687214475&tab_details=history&media_do=diff&do=media <table><tr><th width="50%"></th><th width="50%">current</th></tr><tr><td align="center"></td><td align="center"></td></tr></table>