-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Missing Parts of Multiple Content Roots #1780
Comments
From the engine side we need to have the following supported:
The complexity comes from the Windows side of things. I've already done some work to support multiple content roots in the boot response, so I can likely merge that even if I don't continue with the task. |
IDE needs a way to represent Content Root in a path passed to
So the |
@farmaazon What if instead all content roots would include an optional cc: @kustosz |
Also wanted to clarify that we can remove the |
Well, from IDE perspective that's ok. However, the initial reasoning for content roots was "we cannot provide the full paths/tree in cloud environment". I assumed that was why the
I don't know any plans for using them (@wdanilo do you know any?), so they may be removed. |
Well, as the path is needed for the |
@farmaazon The path is being added in a separate PR (#1827). I just wanted to confirm, @lolczak @4e6, as I understand that the user data (for now the project root, in the future we'll modify the structure so that the libraries will also sit next to it) in the cloud is mounted from some network storage, is the path for the user data stable? I.e. will it not change between whenever the project is opened? I want to make sure that we can rely on this filesystem path to be stable (so that a |
The Dockerfile sets the workspace to |
@radeusgd So far we are not going to change the absolute path. But it can change in the future. You shouldn't rely on absolute paths. |
@farmaazon In this case I think you will need to implement it the way you described it above. I guess I should then change it so that the absolute path is provided only for the filesystem roots, and for libraries I will add a library name field. |
Summary
We have a concept of multiple content roots, but it is not yet fully implemented.
This task consists of adding the missing parts so that we can use content roots for editing libraries.
Value
Specification
file/rootAdded
,file/rootRemoved
Acceptance Criteria & Test Cases
If reasonably possible, add a test for the scenario that a library import is added and then such a library is edited, to see if the update is propagated properly.(This may be added once libraries are implemented)The text was updated successfully, but these errors were encountered: