Skip to content

Feature Request: Command to Initiate Project Configuration Template #152

@RednibCoding

Description

@RednibCoding

Description:
While the "Open Config For Project" command is incredibly useful for viewing and adjusting project configurations, it's often the initial setup of these configurations that can be daunting for many users. To simplify this process, I propose the addition of a "Create Config For Project" command.

Feature:
Create Config For Project Command: When run, this command should generate and load a default project configuration template. This template would serve as a beginner-friendly starting point, assisting users in setting up their project's basic parameters without having to start from scratch or copy it manually from the global config.

The template could look like as follows:

[1]  # Version number. Do not delete.

[[workspace]]

[workspace dirs]
# These directories will be scanned when a workspace is opened so that search etc. works.
# Example:
# C:/projects/my-project
# C:/jai


# IMPORTANT:
# You can override any section from the global config in your project and it will be used when your project is active.
# Please note that some of the sections will completely replace the ones in the global config, while other sections
# will try to merge with the global config. E.g. the workspace sections such as [ignore dirs] will completely
# override the global [ignore dirs], which allows you to "unignore" some dirs just for your project!
# Empty sections are ignored.

[ignore dirs]
# The workspace scanner will not descend into the dirs that match these names.
# Example:
#.svn
#.git
#__pycache__

[allow file extensions]
# These files are explicitly allowed so that the editor doesn't waste time figuring out
# whether it should ignore these or not (if a file is not explicitly allowed or ignored,
# it will be read to determine if it's binary or not).
# Example:
# .jai .c .cpp .h .hpp

[ignore file extensions]
# Files with the following extensions will not appear in the file open dialog and won't be loaded into memory.
# It makes sense to add all known binary file extensions here.
# Example:
# .exe .pdb .ttf .otf .eot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions