Limit parsing/refactoring to the currently opened file #1951
Replies: 2 comments
-
i have a similar issue where each lua file is an Open Brush plugin. as well as inexpected refactorings, I find that a global in one file is masking undefinied errors in another. Surely globals should be global for just that file unless I am requiring them? Is this different enough to @Mailaender 's question to warrant it's own issue? I'm posting here because the solution might be a single "Files within a workspace are isolated from each other" setting. |
Beta Was this translation helpful? Give feedback.
-
The files in the opened workspace are all loaded into the same scope. See "multiple workspace support" for more info. I'm not aware of a way to divide multiple files within a workspace into separate scopes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@OpenRA contains multiple files which are individual missions. How can I disable renaming operations refactoring the whole workspace, and how do I avoid globals leaking in from other missions?
Beta Was this translation helpful? Give feedback.
All reactions