software-mansion / radon-ide

VSCode extension that turns your editor into a fully fledged IDE for React Native and Expo.
https://ide.swmansion.com
Other
985 stars 33 forks source link

IDE reads launch.json from other projects in workspace #529

Closed mohemos closed 2 months ago

mohemos commented 2 months ago

*Description I have many projects in my workspace; backend projects, web and the mobile app project. All these projects have launch.json as I use Vscode debugger for all my projects. The issue is, React Native IDE randomly picks launch.json from any of my projects. At first, it picks launch.json in the top folder in the workspace, so I moved mobileApp folder to the top and it started working but today , it went rogue and started picking launch.json in my backend services.

Environment Version: 0.0.17

filip131311 commented 2 months ago

Hello, thank you for contacting us, have you tried setting up launch.json in your monorepo root? I believe vscode looks for .vscode dir in the root of opened workspace first.

mohemos commented 2 months ago

@filip131311 I added .vscode to the root and now it works. I'm surprise why it was working at first without the .vscode folder at the root but inside mobileApp folder. The most important thing is it works now. Thanks so much!