platformio / platformio/platformio-core

control names of IDE project files

Open
#4,264 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement integration
Dominant language
Python
Stars
9.5k
Forks
905
Avg merge
2d 13h
Merged PRs (30d)
2

Description

What kind of issue is this?

  • Feature Request.
    Start by telling us what problem you’re trying to solve. Often a solution
    already exists! Don’t send pull requests to implement new features without first getting our
    support. Sometimes we leave features out on purpose to keep the project small.
Description of problem

At least for Qt Creator, the project name follows the name of the generated *.creator file (and associated files) rather than the directory name. So if pio project init always uses the basename platformio for generated files, all the projects will have the same name in the IDE.

Since there are now multiple files generated for qtcreator, renaming is tedious (though I can do it with a utility like rename).

Expected Results

Perhaps project init should name the IDE project files following the directory name.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the pio project init entry point and trace how generated Qt Creator *.creator and associated files are named. Check whether existing project-generation tests cover these files. Done means generated IDE project files follow the project directory name instead of always using platformio.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.