You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a suggestion to handle nicely projects with multiple sub-Makefiles.
A small section at the right (below history) could show different Makefiles of a project.
It will find a Makefile from the current path and search for others in the subdirectories.
It could also display mk files at the very end of the list.
You could enter this list to select which Makefile to use/preview.
For a folder that doesn't have any Makefile, it could also search within the sub-folders
and preview the nearest sub-Makefile automatically.
For instance, I have a project with multiple Makefiles:
I'm sorry for the late reply. I haven't have enough time for recent few days.
Thank you for nice suggestion! Also, your example made your idea quit understandable.
This is nice idea for handling makefiles in some directories! I think this feature is useful too.
I will deal with this in some release.
This is a cool project, and so I just wanted to add to this suggestion:
I would love if this actually was able to resolve all the wildcard declarations in my root Makefile so that I could fuzzy search across all the makefiles in my project, e.g.
js/%:
@$(MAKE) --no-print-directory -C js $@
Which in the js directory has further subdirectories and definitions for projects like this, so ideally I can fuzzy search a string like js project_name build and that would resolve to make js/project_name/build
This is a suggestion to handle nicely projects with multiple sub-Makefiles.
A small section at the right (below history) could show different Makefiles of a project.
It will find a Makefile from the current path and search for others in the subdirectories.
It could also display mk files at the very end of the list.
You could enter this list to select which Makefile to use/preview.
For a folder that doesn't have any Makefile, it could also search within the sub-folders
and preview the nearest sub-Makefile automatically.
For instance, I have a project with multiple Makefiles:
The section could show something like the following
When choosing the target to run, it will use the correct commands according to the context:
make rule
as usualmake -C directory rule
for subdirsmake -f some.mk rule
for mk fileseven with combinations of both
make -C directory -f some.mk rule
The text was updated successfully, but these errors were encountered: