Go Down

Topic: Collapsible Sections of Code (Read 1 time) previous topic - next topic

TchnclFl

Aug 06, 2010, 10:49 pm Last Edit: Aug 06, 2010, 10:50 pm by Tchnclfl Reason: 1
I think it'd be nice to be able to collapse certain sections of code within the Arduino IDE.  This is implemented in a few coding platforms, one example is TI's Code Composer Studio:


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Could be useful when working with large code for hiding functions, setup, things you're not working on, etc.

Osgeld

#1
Aug 06, 2010, 11:04 pm Last Edit: Aug 06, 2010, 11:07 pm by Osgeld Reason: 1
the same thing was discussed in the regions thread, it was deemed to be too confusing for the users (as regions basicly do the same thing but allow more control)

(but if you want to change the font size go find a hidden file and edit it)

I would love to have this, its in my fav windows editor notepad++ and its not always useful but when you start writing in more functions and getting further away from sticking all your crap in the main loop its very handy
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

retrolefty

Quote
but when you start writing in more functions and getting further away from sticking all your crap in the main loop its very handy


How dare you call my pain staking attempted coding CRAP, you insensitive clod.  ;D

Lefty

Osgeld

#3
Aug 06, 2010, 11:25 pm Last Edit: Aug 06, 2010, 11:25 pm by Osgeld Reason: 1
yea its crap

Code Right And Praise

or something  ;)
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

UltraMagnus

I think it would be a great option.  You could go the MPlab route and have it off by default, but have an option to enable it.

Mark S

This is entirely an editor issue and while I think its an OK idea. There are a LOT of other things that need to be improved in the editor long before this sort thing needs to be added.

just my $0.02 worth

Osgeld

#6
Aug 08, 2010, 05:03 am Last Edit: Aug 08, 2010, 05:08 am by Osgeld Reason: 1
as I sit here hammering out a outline for my version of the editor I very much agree (cause Im not at home and there is only so much I can tolerate on my POS celeron laptop)

BUT

Most of those issues are reported and they are aware of them, in idea v 1.0 is still a significant amount of versions away so I hope that most of them could be fixed before we hit the ivory tower

Of course, I personally think to do a lot of that we need to ditch processing...

dont get me wrong about processing, I love it, and now that I am getting very familiar with it, it is becoming my main game / demo / art framework

but one thing it is not is a gui framework application, its own ide suffers a lot of the same issue, abstract that to something that honestly has nothing to do with the original application and those issues get magnified, along with *n times harder to fix

were using a selection of artist tools to build structure, using a paintbrush as a hammer...

I wouldn't use processing for an IDE just as much as I wouldn't use murgalua for a game

I do use processing for my art side (little know I started down this programming trek as a graphics artist for gaming over a decade ago), and when I need to whip up a custom application for a bonus at work, I choose a application framework that is appropriate
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL

Go Up
 

Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.
Name:
Email:

shortcuts: alt+s submit/post or alt+p preview