I use a version of the 'make' utility, which requires hard tabs (not spaces) on all indented lines...
I have the editor set to replace hard tabs with spaces, which I *want* in source files, but not in the Makefile ...
How do I set 'Makefile' (with no extension), and nothing else, to use hard tabs ??
//*****************************************************************************************
I tried Tools -> Configure Tools -> Editor -> Fonts and tabs
Selected language: makefiles
cleared "Tab inserts spaces"
set "Preserve tab characters"
Apply, save, reload file...
That did nothing, and I think I see why...
In Environment > Add-ons > Highlighters > %lang% > File extensions
There is no way to specify files without extensions, such as Makefile
Is there some way to apply rules to Makefile??
//*****************************************************************************************
Well, I found a hack that solves the problem; rename Makefile to Makefile.mak, edit the file, then rename back.
That works, but is hardly a generic solution...
problem with Makefile files
- DerellLicht1
- Posts: 161
- Joined: 23 Jul 2021 17:38
- Location: Fremont, CA, USA
- DerellLicht1
- Posts: 161
- Joined: 23 Jul 2021 17:38
- Location: Fremont, CA, USA
Re: problem with Makefile files
Bump ??
I guess what I'm really asking for, is a way to set options (hard tabs vs spaces, in this case) for files which have no extension...
I guess what I'm really asking for, is a way to set options (hard tabs vs spaces, in this case) for files which have no extension...