Page 2 of 19

Re: wishlist for BricxCC

Posted: 05 Oct 2010, 22:45
by fuzzball27
I think that a full BricxCC GUI for Mac would be great. I've been using NeXT Tools, Terminal, and AppleScript for my programming, its nice, but a more organized programming environment would be excellent.

Re: wishlist for BricxCC

Posted: 06 Oct 2010, 01:20
by roscohead
One thing that would be cool would be the concept of a "project", being able to attach sound & bitmap (and possibly other) files to the project and have them automatically transfer to NXT when you run the project.

Re: wishlist for BricxCC

Posted: 06 Oct 2010, 03:08
by afanofosc
roscohead wrote:One thing that would be cool would be the concept of a "project", being able to attach sound & bitmap (and possibly other) files to the project and have them automatically transfer to NXT when you run the project.
You can do this sort of thing using the #download preprocessor directive in a NXC or NBC program. The compiler will gather a list of all the files specified in the #download lines that it finds and they will be downloaded to the NXT along with the program being downloaded. If you just compile but do not download the program then nothing is downloaded.

Code: Select all

#download "smile.ric"

task main()
{
  GraphicOut(0, 0, "smile.ric");
  while(true);
}
John Hansen

Re: wishlist for BricxCC

Posted: 06 Oct 2010, 03:11
by afanofosc
nxtboyiii wrote:Can you put object-orientation on the list?
This would be an NXC wish, I think, so it probably belongs on the wishlist for NXC thread. But I would safely bet that I will not be adding object orientation features to NXC any time soon. You can get that in leJOS and NXTOSEK and I would recommend using those tools if that is what you want.

John Hansen

Re: wishlist for BricxCC

Posted: 06 Oct 2010, 22:11
by nxtboyiii
Ok, thanks.
Yeah, a Bricxcc GUI for mac would be awesome.

Projects

Posted: 17 Oct 2010, 04:31
by muntoo
roscohead wrote:One thing that would be cool would be the concept of a "project", being able to attach sound & bitmap (and possibly other) files to the project and have them automatically transfer to NXT when you run the project.
I would like the "project" thing, too.
I could set breakpoints, manage multiple files in a explorer window, etc.

Re: wishlist for BricxCC

Posted: 18 Oct 2010, 05:30
by muntoo
Can you improve the editor?
I would like auto-indentation. Also, with the following preferences selected (in the .zip)
BricxCCPreferences.zip
(421.88 KiB) Downloaded 452 times
, it's hard to use tabs. (Each tab is worth ONE space...)

--

I think that the "With grouped undo" should be selected by default.

--

Also, is it possible to implement BTConnectionLinkQuality()?

--

AND ONLY JOHN HANSEN CAN ANSWER! ;) (JK)
(Not that anyone can answer the first question, besides him... I think.)

Re: wishlist for BricxCC

Posted: 18 Oct 2010, 16:48
by afanofosc
If "Keep trailing blanks" is not selected then when you tab on a blank line it strips the trailing blanks (which it probably should not). With this option selected you should see tabs working like you want. Auto-indentation only indents to the same level as the previous line - not to an additional level of indentation when you press enter after an open (aka left) curly brace. What you want is language-specific "smart" indenting (that's what Visual Studio calls it, anyway).

John Hansen

Re: wishlist for BricxCC

Posted: 18 Oct 2010, 16:51
by mattallen37
Well, for the "Tab", you can adjust how many spaces it does. I have mine set to two, but you could do three or four...

Re: wishlist for BricxCC

Posted: 18 Oct 2010, 16:51
by afanofosc
muntoo wrote: Also, is it possible to implement BTConnectionLinkQuality()?
It is possible but not trivial or I would have done it already. I'll see if I can figure it out.

John Hansen