Is there any way to configure the file editor to insert spaces when the tab character is pressed, instead of tab characters? We have some devs editing through webmin, but some use other editors (like vim) which convert tabs to spaces automatically. Many programming languages heavily encourage the use of spaces over tabs to edit code, so it would be great if webmin could allow us to do this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey, Michael! If you have Webmin 1.990 installed this can be changed on File Manager ⇾ Preferences: File viewer and editor page using Automatically convert tab key press to spaces when editing a file option.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is there any way to configure the file editor to insert spaces when the tab character is pressed, instead of tab characters? We have some devs editing through webmin, but some use other editors (like vim) which convert tabs to spaces automatically. Many programming languages heavily encourage the use of spaces over tabs to edit code, so it would be great if webmin could allow us to do this.
Hi,
Yes, Michael it should be possible.
I will update this ticket when I add this feature.
brilliant, thanks for the speedy response!
Hey Ilia, any progress on this feature?
Hey, Michael! If you have Webmin 1.990 installed this can be changed on File Manager ⇾ Preferences: File viewer and editor page using Automatically convert tab key press to spaces when editing a file option.