Unitron needs Code Folding....BADLY

Wow. I forgot how much I missed the ability to fold up code within brackets like XCode has. Without this ability it makes it very difficult to see what code is nested inside what. Any idea if this feature is upcoming?

Unitron is just Smultron, and an older version at that (to keep it 10.4 compatible). You’re free to use whatever code editor you like.

–Eric

Snarky answer:

@bugzilla
Use indents.

:smile:

Seriously, though, Eric is right (of course.)

I’d like that feature too, I’ve dabbled with using Dreamweaver as my code editor as it offers code collapse. With that in mind it’s a bit “bulky” for my purposes so I’m off that track now.

That I have to disagree with, nested code is easily seen by using indents. I think code collapse is extremely useful for clutter management but not necessarily for seeing nested code, of course mileage may vary across all of us.

Nothing to commit to, no.

I don’t agree. Indents do not hide/show large blocks of code. Again, the way XCode does it is so much better. I’d like to stick with Unitron if possible since it’s integrated with Unity. This is a feature that should be added.

For sure indents don’t hide/show blocks of code but I know that at least my reply above was based on the fact that it is at least another way to see “what code is nested inside what”. And hey, he admitted it was snarky and included a smilie… :slight_smile:

Aside from the “search docs” button possibly, it’s not integrated with Unity any more than any other editor, as long as you set up code completion, like this for TextMate.

–Eric

quote=HiggyB
I’ve dabbled with using Dreamweaver as my code editor as it offers code collapse. With that in mind it’s a bit “bulky” for my purposes so I’m off that track now.
/HiggyB

Yes, Tom even advised me well enough that I added a page for it to the wiki. But the thing that saw me leave dreamweaver to return to Unitron was the lack of that little feature where you can highlight a word, cmd+; and it automagically searches the docs. If we could get that working it would give dreamweaver slightly longer legs.

How it would be possible to add this to Dreamweaver I do not know

AaronC

Code folding in TextMate keeps me from completely crossing the border to insanity.

Any word on what the Windows side will have its editor reference set to out of the box?

I have a feeling this issue is going to explode. :smile:

If you are on C#, though, Visual Studio will be VERY nice. :slight_smile:

How ridiculously nice would it be to have a written-ground-up-for-Unity cross platform code editor with intellisense-like functionality. Something that would grow with Unity as it went forward. I’m sure some innovation could spring from tight integration and it’d be nice for at least one text editor on the planet to truly understand Unity Flavored Javascript (UFJ).

I’d pay for it as a side product.

And yes, it should have code folding, too. :stuck_out_tongue:

I’m guessing that’s the intended target of MonoDevelop.

Unitron / Smultron is just plain lame as an editor, but as I’m on a Mac I’ve yet to find a free editor that is better (under Windoze I like Notepad++ and DX Studio’s editor is pretty nice too). The only thing that keeps me from crossing the brink to insanity with Unitron is the “Function” button at the top. I didn’t discover this useful jewel until a few months ago.

130714--4855--$picture_2_206.jpg

We are keeping an eye on MonoDevelop but are not at a point where we can commit to anything new, MonoDevelop or otherwise.

My vote goes to Komodo Edit. The “Live Import” for project files is just so nice. Oh, and it does code folding as well.

My vote goes to: kick UniCode, make UniScite work on Mac as well :slight_smile:
Does all required and requested and is already there, just not on Unity OSX …

BTW, is UniScite also affected by the trial limit, like Unity itself ? otherwise, it should be possible to keep using it as an external editor in a virtual Windows machine after the trial expires, without having to activate Unity twice on the same Mac.

Unitron was killing me with its lack of features, so today I finally broke down and got MonoDevelop set up to work with my Unity projects.

The only thing missing is that I can’t seem to get it to work as the default “double-click editor” for scripts from within Unity, because while MonoDevelop will launch alright, it won’t load up the script that I clicked on.

But I can live without it, now that I have a “real” IDE for my scripting. Also, MonoDevelop takes a few seconds to launch, which is excruciating when all you want to do is change a variable or something.

So I kept Unitron as the default script editor in Unity for “quick and dirty” fixes, and I leave MonoDevelop open for more serious, in depth scripting.