openframeworks / openframeworks/projectGenerator
vscode template -> import project -> path issue
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 90
- Forks
- 79
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 5
Description
Hi,
I am very happy about the new vscode template inside of ProjectGenerator. It works fine as long as the openFrameworks project is inside of_root/apps/myApps/myProject . When I import a project located in that folder, ProjectGenerator generates a vscode-workspaces that will let me build and run the applications automatically w/o a problem.
However, when I import an openFrameworks project that is located somewhere else, the c_cpp_properties.json file that is generated still contains the default path to openFrameworks API/libraries. The project cannot be built unless the paths' are fixed manually.
A fix would be great.
Thx and best regards!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ProjectGenerator code that creates c_cpp_properties.json and vscode-workspaces files. Reproduce generation for a project outside _root/apps/myApps/myProject and compare the paths with an in-tree project; done means the generated configuration uses the imported project's actual openFrameworks paths without manual edits.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100