ionic-team / vscode-extension

15 stars 0 forks source link

Extension showing subfolder only #47

Closed cbetz closed 2 years ago

cbetz commented 2 years ago

We have a project that is structured like this:

root |-- android |-- functions |-- |-- src |-- |-- package.json |-- ios |-- src |-- ... |-- package.json

The Ionic project is the root project (with the package.json in the root). The functions subfolder is for Firebase functions (not an Ionic project). The extension shows only the functions subfolder:

image

Is there a way to "force" the extension to map to the root folder instead?

dtarnawsky commented 2 years ago

Hi @cbetz,

Thanks for the bug report. This should now be fixed in 1.8.5! Theres a new rule that if non of the subfolders with package.jsons contain an Ionic app (@ionic/vue,react or angular, or @angular/core) then it will treat the folder structure as a single repo rather than mono repo.

Hopefully this fixes your problem.

cbetz commented 2 years ago

Thank you for the quick reply and turnaround on this! Verified it is working with 1.8.5. Awesome extension!

cbleu commented 1 year ago

Hi, i have exactly the same problem with an ionic/angular project where i have a ./functions sub-project for Firebase-functions.

I have the latest ionic (v1.27.1), vscode(v1.76.0) versions.

Thanks for you help or advices!

best regards, cesar

dtarnawsky commented 1 year ago

Hi @cbleu , This is a closed issue, but if you can provide a sample project with this problem then I can help?