GMS 2 How to make script not appear in the auto-complete feature?

Suzaku

Member
I have some old scripts that Im not using anymore, but I would prefer to leave them in a group of unused scripts, inside of my project. The problem is that their names keep appearing in the auto-complete feature when I start typing some similar name. Is there a way to specify that the script is actually disabled and unused? Thank you.
 

Rukiri

Member
^. Pretty much this.

Use git or whatever you use and set the version to 0.2 or whatever and the new version 0.3 and the old scripts won't be in the new version branch.
 

samspade

Member
I also agree with YellowAfterlife. You should look up version control (especially something like git). Then you should delete all code, really all resources, you don't use. Once I started doing this, my code and projects were so much easier to work with. You don't have to worry about losing code, because everything you write is saved, and you don't have to worry about auto fill, scrolling through lists of pointless resources, having finds turn up code you don't care about and having to figure out if it also needs to be changed, and so on.

That said, for a long time I didn't use version control. While for all the reasons above, this was a bad thing which I ultimately stopped doing, my solution at the time was that I would have an old/saved [resource] folder for each type of resource and if I wasn't using that script, object, font, sprite, etc. I would move it to that folder and change the name of the resource so that it started with old_ (old_scr..., old_obj..., etc.).

Again, this is a bad long term idea but if for some reason you can't learn to do version control right now, the above worked alright for me for awhile.
 
Top