sid-srini commented on PR #7610:
URL: https://github.com/apache/netbeans/pull/7610#issuecomment-2265166120

   Thanks @lahodaj for the explanation of the concrete implementation context. 
   
   The key differentiation in the patch is that a workspace with ***no*** 
folders is chosen to associate the single-file with.
   - In this sense, there is no extra conceptual distinction between multiple 
workspaces which do not have any folders associated with it. They may be viewed 
as instances of the same *global* settings. 
       - The workspaces may exist concurrently or at different points of time. 
       - Nonetheless, they are supposed to share the same configuration 
persisted on disk.
   - Thus if someone opens a file in different such UI windows, at the same 
time, or across different points of time, the runtime configuration loaded is 
expected to be the same.
   
   The contrast scenario for this is to associate the single-file with a 
workspace having one-or-more folders.
   - In this case, my conception seems to be that this will hold and persist 
its unique configuration across different points of time.
   - A workspace with folders may have a configuration or setting, that is 
different from the *global* settings.
       - In a very rare case, a workspace without folders may also have 
different settings than the *global*.
       - However, a workspace having folders is definitely **not** global.
   - So, irrespective of the backend being shared across multiple UI windows, 
we can clearly avoid associating the non-global configurations of workspaces 
having folders.
   
   Does that make sense?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to