Full support for Multi-root? #86
Replies: 18 comments 4 replies
-
Could you be more specific. To my understanding multi-root should be supported. |
Beta Was this translation helpful? Give feedback.
-
I'll show you video))) |
Beta Was this translation helpful? Give feedback.
-
OK, could you maybe paste the full path of the 2 workspaces here. |
Beta Was this translation helpful? Give feedback.
-
1: |
Beta Was this translation helpful? Give feedback.
-
OK, it seems the there the problem is that reference work through workspace boundaries. That shouldn't be the case. |
Beta Was this translation helpful? Give feedback.
-
Could you please try this fix here. asm-code-lens-2.1.0-rc1.vsix.zip Every workspace folder should only show hovers, references etc. of its own and not from other workspace folders. |
Beta Was this translation helpful? Give feedback.
-
Why? |
Beta Was this translation helpful? Give feedback.
-
Why? Mainly because I use it that way :-) I think if you group projects in a workspace you group related projects but not necessarily dependent projects. Imagine you would use the same labels in different (not related) projects: why should a label of project A appear in project B? |
Beta Was this translation helpful? Give feedback.
-
Because otherwise I would not add folders from other projects to my main project))) I use it like this: |
Beta Was this translation helpful? Give feedback.
-
I understand your use case but I'm not sure how to handle that. Lets say there is a subroutine set_sprite in C. If asm-code-lens would collect all labels from all folders it would show the the hovers correctly, e.g. But I see several problems:
The multi root workspace has no concept of dependent projects. I.e. All projects, A to C, are seen on the same level. It is not possible to tell that A and B should be treated differently but C should be treated as common to both. So even with a setting I would not know how to handle it. But for your problem: |
Beta Was this translation helpful? Give feedback.
-
If you have two workflows:
in the previous version of ASM-CODE-LENS, after activating Multi-root, links are displayed like this:
Yes, now i use it, but all my projects in cloud. I coding at home (windows) and at my work (MacOS). MacOS understands google drive's symbolic links (inside cloud), but windows is not, windows sees the *.lnk files... |
Beta Was this translation helpful? Give feedback.
-
What do you mean by workflow?
What about the next problem: You also silently ignored my 2nd problem :-) |
Beta Was this translation helpful? Give feedback.
-
Please note that I moved this issue now into the discussions area. For anyone else reading this: |
Beta Was this translation helpful? Give feedback.
-
Ok, so "workflow" is probably a translation error. I guess you mean a vscode "workspace". One workspace contains several projects /workspace folders.
Unfortunately not. It's also mine, as I got the (wrong) error reports.
And how to jump to second definition? This would just randomly pick a definition.
Does not sound convincing to me.
I don't think so. Anyhow, I will check if I can add some setting.
with this setup project A and B would not interfere. Would this also suit your requirements? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Asm code lens is broken in the new VSC update (((((( |
Beta Was this translation helpful? Give feedback.
-
All my extensions are broken with 1.74. There is a change in vscode. I'm looking for it. |
Beta Was this translation helpful? Give feedback.
-
I looked at the code to see how I could implement this. But there are more problems: This could be solved by using the exclude settings from A for folder A and exclude settings from B for folder B. Then for the "label excludes": same problem here, but here it is not so clear if label excludes from A should work on files from B or if label excludes from A should only work on A. So, I think I have to disappoint you. The feature is quite difficult to implement and I also believe that it will be hard for the user to understand what is going on if settings get mixed between the workspace folders. I guess it is better to "keep it simple". I.e. keep it as it is (i.e. the 2.1.0-rc1 I attached some time ago.) |
Beta Was this translation helpful? Give feedback.
-
Hi, again)))
Is there any plan to support this functionality?
References are counted correctly, but hovers do not work between different folders.
Beta Was this translation helpful? Give feedback.
All reactions