On August 30, 2024 11:37:50 PM GMT-04:00, Lex Trotman via Users <[email protected]> wrote: >On Sat, 31 Aug 2024 at 12:43, H via Users <[email protected]> >wrote: >> >> On August 30, 2024 10:15:17 PM GMT-04:00, Lex Trotman via Users ><[email protected]> wrote: >> >On Sat, 31 Aug 2024 at 02:56, H via Users <[email protected]> >> >wrote: >> >> >> >> I just installed geany 2.0 on a computer running RL 9. In my >previous >> >use of geany 1.36 I had changed the indentation setting for yml and >> >yaml files to 2 spaces from the default but for some reason I cannot >> >get that to work with geany 2.0. Undoubtedly I forgot to do >something >> >but what? >> >> >> >> I uncommented [indentation] width=2 and type=0 in filetypes.yaml >and >> >uncommented YAML=*.yaml;*.yml in filetype_extensions.conf. I then >> >reloaded the configuration and saw no difference whereupon I >restarted >> >geany with still no change. >> >> >> >> What have I missed? >> > >> >WFM not sure what is wrong. >> > >> >Tools->Configuration files->Filetype >> >Configuration->Miscellaneous->filetypes.yaml and edit width=2 and >> >type=0 save and Tools->reload configuration and then tab inserts two >> >spaces. >> > >> >> _______________________________________________ >> >> Users mailing list -- [email protected] >> >> To unsubscribe send an email to [email protected] >> >_______________________________________________ >> >Users mailing list -- [email protected] >> >To unsubscribe send an email to [email protected] >> >> I eventually did get it to work when I created /new/ files after >making the configuration change and reloading the configuration. >However, I could not get it to change behavior in the already existing >yaml file I was experimenting with and had created before making the >configuration changes. >> >> Do you know why this could be? Anyway, it is now working. > >Things like indentation can be set for an individual file, so those >are saved for files in the session. So nothing will change whilst the >file is in the session. Also if a file actually has 4 spaces of >indentation then it is likely that Geany will determine the indent to >be 4 when the file is opened. > >You need to actually change the number of spaces in the file to your >new setting by Project->Apply default indentation. > >> _______________________________________________ >> Users mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >_______________________________________________ >Users mailing list -- [email protected] >To unsubscribe send an email to [email protected]
Got it, thank you. _______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected]
