|
Page 1 of 1
|
[ 5 posts ] |
|
Opening and editing multiple source files
| Author |
Message |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2864 Location: Rotterdam, The Netherlands
|
 Opening and editing multiple source files
Hey there,
I am pretty new to RobotC (but quite comfortable with NXC) and I am curious as to whether it is possible to open multiple source files without needing to open multiple instances of the RobotC UI.
I am using 1.30 B4 of RobotC.
Regards,
Xander
|
| Thu May 29, 2008 7:39 am |
|
 |
|
tfriez
Site Admin
Joined: Wed Jan 24, 2007 10:42 am Posts: 537
|
As of right now, this is not possible.
This feature may be added in a later version.
_________________Timothy Friez ROBOTC Developer - SW Engineer tfriez@robotc.net
|
| Thu May 29, 2008 9:58 am |
|
 |
|
elemes
Expert
Joined: Fri Nov 09, 2007 4:51 am Posts: 121 Location: Hungary, Europe
|
 Re: Opening and editing multiple source files
Hello mightor,
In my view of the RobotC concept does not need having more source files kept open, since you can have only one main program that is compiled and downloaded on the target brick.
You can have more include files, which do not need separate compilation. These files can be very easily edited by external editors like notepad++, a syntax-sensitive text editor (which is also useful to edit any programming language or structured / tagged textfile like html, xml). Download and information:
http://notepad-plus.sourceforge.net/uk/site.htm
http://en.wikipedia.org/wiki/Notepad++
|
| Fri May 30, 2008 5:40 am |
|
 |
|
Ford Prefect
Senior Roboticist
Joined: Sat Mar 01, 2008 12:52 pm Posts: 936 Location: a small planet in the vicinity of Beteigeuze
|
 Re: Opening and editing multiple source files
hello mightor,
I really agree to this, I had the same wish, and I already posted this request. But as you will have realized, this won't come soon... 
_________________ Ford Prefect
Never purchase release 1.x ! (ancient programmer's wisdom) "Don't argue with idiots. They'll drag you down to their level and then beat you with experience."
|
| Fri May 30, 2008 5:49 am |
|
 |
|
Dick Swan
Creator
Joined: Fri Feb 09, 2007 9:21 am Posts: 613
|
Version 1.34 did add a useful feature to "find in files". It will search all the files used by the most recent compile for the specified search string. The output is listed in the window that displays the error messages. Clicking on one of these entries will navigate the main window to that point in the appropriate source file.
Another useful function for navigating among multiple files is the pop up menu (right click on a variable) which will offer you the ability to "go to definition" or "go to declaration" of a variable. If it is defined in a different file then this will be opened in the main window.
|
| Wed Jun 04, 2008 5:46 am |
|
|
|
Page 1 of 1
|
[ 5 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 4 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|