Skip to content
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

[feature request] Regions and collapsible code #161

Open
MagmarFire opened this issue May 20, 2020 · 1 comment
Open

[feature request] Regions and collapsible code #161

MagmarFire opened this issue May 20, 2020 · 1 comment

Comments

@MagmarFire
Copy link
Contributor

Certain IDEs--i.e., Visual Studio--have a feature where one can collapse blocks of code, such as if statements or user-defined #region tags. This can be useful if files become so large as to become unwieldy to scroll through and find other relevant blocks of code, especially in situations where code cannot easily be partitioned into multiple individual files, as is the case with RATools.

My general use case is that I like to create dictionaries of data to use as lookup tables for all manner of things, such as location IDs and items. They can be especially useful when they can be tailored for both Rich Presence and all achievements that make use of the same data. However, the dictionaries themselves can get rather large for certain games, so it would be nice if there were a way to collapse some of this code by default and then expand it, when needed.

@PopovMark
Copy link

Seconded. Both of my scripts are currently sitting at well over 1000 lines because I put freaking everything in there and there's a fair few line breaks to space it out and make it not hurt my eyes. Also makes the editor lag like hell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants