Well "width" is only be detected if the indent is spaces.

Detecting the indent type is a heuristic based on the most common indent in the 
file, so that means scanning the file, not so good for huge files.  And being a 
heuristic it can be wrong, although medium sized files where most of the indent 
is the same should work.  But detecting per file means it might find different 
settings for different files in the project.

That is why these settings can be set in the project file too, the intention is 
that you adapt each project file to the requirements of the specific project, 
then all files in the project remain consistent and can't have the heuristic 
get the wrong setting for some files in the project.

Tabs are the default because Geany uses tabs, no correspondence will be entered 
into ;-)

> PS: Wasn't this feature the default back in the day?

According to git it has been false since 0.19 which was as far as I bothered to 
look back.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3565#issuecomment-1738313427
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3565/[email protected]>

Reply via email to