Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Do vscode-go support monorepo(not multi-root) multiple project settings #2689

Closed
xujintao opened this issue Aug 8, 2019 · 3 comments
Closed

Comments

@xujintao
Copy link

xujintao commented Aug 8, 2019

Steps to Reproduce:

  1. Given structure:
repo
  |------project1
  |               |---.vscode
  |               |         |----settings.json(eg. "GOOS": "windows" pair in "go.toolsEnvVars")
  |               |
  |               |---src
  |
  |------project2
  |               |---.vscode
  |               |         |----settings.json(eg. "GOOS": "linux" pair in "go.toolsEnvVars")
  |               |---src
  1. Open repo folder, the project1 will report some "undefined" error. However, open project1 separetely will be ok. Meanwhile Monolithic structure, multiple project settings vscode#32693 says vscode already support monorepo.
@ramya-rao-a
Copy link
Contributor

I went through the issue you linked microsoft/vscode#32693, but I don't see anything there that says that the individual vscode settings file in a monorepo are respected.

If you want settings from each folder to be respected, then have to be in a multi-root set up.

Can you elaborate on which part of the linked issues says that what you have described above is supported?

@xujintao
Copy link
Author

Yes, i went through the issue too. The result is that vscode has not support monorepo until now.
Please close this issue.

@ramya-rao-a
Copy link
Contributor

Thanks for confirming

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants