Anyone have syntax highlighting working on Eclipse?

Go To Last Post
18 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have AVR_GCC working with Eclipse(Indigo) working, but I don't seem to be able to get Syntax highlighting working. Anyone manage to do that?

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did you: window -> Preferences -> C/C++ -> Editor -> syntax coloring ?

1) Studio 4.18 build 716 (SP3)
2) WinAvr 20100110
3) PN, all on Doze XP... For Now
A) Avr Dragon ver. 1
B) Avr MKII ISP, 2009 model
C) MKII JTAGICE ver. 1

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes I did. It seems to go through all the motions, but the syntax is 100% black? I presume yours works?

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My 1st install did, but I had to reinstall and of course now the AVR plugin won't show up. Eclipse says it's installed but I don't see"cross..." when I start a new C pjt. NO toolchain shows in this window. But I have Winavr installed and working with Studio.

Sometimes you REALLY got to hate software systems. :roll:

1) Studio 4.18 build 716 (SP3)
2) WinAvr 20100110
3) PN, all on Doze XP... For Now
A) Avr Dragon ver. 1
B) Avr MKII ISP, 2009 model
C) MKII JTAGICE ver. 1

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have it working. What version of eclipse are you using?

Mine is:

Quote:

Version: Helios Service Release 2
Build id: 20110301-1815

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My version is

Quote:

Eclipse IDE for C/C++ Developers
Version: Indigo Release
Build id: 20110615-0604

Compiler & Programming all works fine. Just no highlighting/bolding etc.

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sorry Lee, I overlooked the Indigo part in your post. Now I have the same release as you. Upon the first run it opened the last project I had open in the Helios release and syntax highlighting works fine.

I did see this in the install guide:

Quote:
For Windows, a number of problems have been reported when people try to use Windows Explorer to unzip the zip file. Please use a third-party unzip program, such as 7-Zip, Winzip, JustZIPIt, or EasyZip.

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Mmmm.. the plot thickens. I used WinRAR to unzip the .zip.
This is the page I go to, to enable highlighting. I use Windows7

Attachment(s): 

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yeah, I used WinRAR to unzip. I am also using Win7, 64-bit.

That is the right selection. Have you tried deselecting it, clicking OK, and going back to select it again?

If that doesn't work I guess it might be time for a reinstall and maybe a clean boot too.

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Where did y'all go to install the AVR plugin ?
I went here, using install new s.ware:
http://avr-eclipse.sourceforge.n..., version2.3.4.....

1) Studio 4.18 build 716 (SP3)
2) WinAvr 20100110
3) PN, all on Doze XP... For Now
A) Avr Dragon ver. 1
B) Avr MKII ISP, 2009 model
C) MKII JTAGICE ver. 1

Last Edited: Fri. Jul 1, 2011 - 12:27 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes that's the place!

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for confirmantion, I installed plugin version 2.3.1 and THAT installs correctly ! If the system DOESN'T do syntax highlighting, I'll let you know.

1) Studio 4.18 build 716 (SP3)
2) WinAvr 20100110
3) PN, all on Doze XP... For Now
A) Avr Dragon ver. 1
B) Avr MKII ISP, 2009 model
C) MKII JTAGICE ver. 1

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

In either case let me know! :)

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

OK, Lee syntax works out of the box for me.

Galileo, I think
Version: 3.7.0
Build id: I20110613-1736

Indigo is a brand new flavor ? I would try a different flavor and screw Indigo ( for now ) ! If only long enough to see if a diff. version does work.

1) Studio 4.18 build 716 (SP3)
2) WinAvr 20100110
3) PN, all on Doze XP... For Now
A) Avr Dragon ver. 1
B) Avr MKII ISP, 2009 model
C) MKII JTAGICE ver. 1

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for that. I will try that & report back.

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Indy, see my posts above, I had it working with Helios and then Indigo out of the box. But it might be worth doing anyway.

Lee, did you do the install as an administrator?

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Lee, did you do the install as an administrator?

Ah....good point. If I recall MS did introduce another obstacle with Windoze7. Mmmm...now to recall what I had to do last time to overcome that.

Edit
I was thinking about UAC, but I had that disabled anyway.
And I have administrator privilege.

Charles Darwin, Lord Kelvin & Murphy are always lurking about!
Lee -.-
Riddle me this...How did the serpent move around before the fall?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well I'm running out of ideas Lee. Have you tried an earlier version of Eclipse yet?

All this talk about Eclipse got me interested in alternative IDEs. I read the NetBeans tutorial, in the tutorials forum, and got NetBeans installed and running. I used The LUFA AVRISP mkII Clone project as a test for how it works. Got stuck at a point where it doesn't find some header files in the directoy above the source directory. Syntax highlighting works great though. :wink:

I tried it with a more modest project and it worked well. Even tied in avrdude to program the target. Time to put all this on the back burner, I have some real work to do.

Let us know if you figure out the problem.

"I may make you feel but I can't make you think" - Jethro Tull - Thick As A Brick

"void transmigratus(void) {transmigratus();} // recursio infinitus" - larryvc

"It's much more practical to rely on the processing powers of the real debugger, i.e. the one between the keyboard and chair." - JW wek3

"When you arise in the morning think of what a privilege it is to be alive: to breathe, to think, to enjoy, to love." -  Marcus Aurelius