C Compiler Tracking Of Brackets

Questions about the BASICtools and MakeItC
Post Reply
danlee58
Posts: 210
Joined: Thu Jan 17, 2013 2:29 am

C Compiler Tracking Of Brackets

Post by danlee58 »

I need a C compiler that will track opening and closing of (,) and {, } brackets.



AMDlloydsp
Posts: 99
Joined: Mon Apr 15, 2013 3:51 pm
Location: NE Central FL

Re: C Compiler Tracking Of Brackets

Post by AMDlloydsp »

I need a C compiler that will track opening and closing of (,) and {, } brackets.
--------
Do you mean, "display enclosed sections of code, showing where the matching opening/closing braces, parentheses, or brackets are"?

Notepad++ (open-source, freeware) does that. Quite a number of programmers' editors do.

Lloyd

danlee58
Posts: 210
Joined: Thu Jan 17, 2013 2:29 am

Re: C Compiler Tracking Of Brackets

Post by danlee58 »

Thanks!

I meant Program Editor not compiler. I have a program with a lot of nested brackets. When I make changes, sometimes I can mess up the brackets, and it's a big hassle to correct them.

basicchip
Posts: 1090
Joined: Fri Oct 19, 2012 2:39 am
Location: Weeki Watchee, FL
Contact:

Re: C Compiler Tracking Of Brackets

Post by basicchip »

I have been using the Crimson Editor, which is getting a bit on the old and unsupported side. I change editors only under duress, like when it no longer works with the new version of WIndows. Crimson hasn't gotten there yet, but may be close. I use to use Brief and only gave up on that when WinXP broke it. Tells you about old dogs...

Anyway I have been installing Notepad++ with the BASICtools installer, though I really haven't integrated it fully into the IDE.

Both Notepad++ and the Crimson editor are "language aware" for BASIC and C, highlighting keywords and tracking { ( and "

By todays standards these are even a bit old fashioned, as they don't do auto-completion which many others do (Notepad++ may do this I haven't looked). Again I am pretty old school, as again under duress my mom (who was a legal secretary) sent me to summer school to learn how to type. And I am thankful for that now. As I am a pretty good typist, I've never gotten into auto-complete. However, some of the smart search I've seen would be nice to have.

Post Reply