Nodeclipse / coffeescript-eclipse

CoffeeScript plugin for Eclipse using XText (moved to Nodeclipse; looking for new owner)
http://www.nodeclipse.org/coffeescript/
20 stars 9 forks source link

False syntax error on a.b.c = "x" #18

Open agronholm opened 10 years ago

agronholm commented 10 years ago

It complains about "no viable input" on the "=".

paulvi commented 10 years ago

Thank you.

Check README, the project is in DIY mode.

I know that syntax check makes more questions that solves.

agronholm commented 10 years ago

Ah, okay...I just hadn't run into this with 0.2.2, so I failed to realize no real work had been done on 0.3.

paulvi commented 10 years ago

Well, it is refreshing up project, that stood still for 1 year. At least I hope you enjoyed new icon.

Internally we switched to maven, the build is easier now. However as this project requires XTEXT knowledge, and non of active contributor have it now, the project will be in free state.

If I find time to look into, I would like just to disable all warnings and syntax errors, and leave only syntax highlight.

agronholm commented 10 years ago

I've located the problem in the grammar file. The "assignable" construct does not follow the original grammar definition. I just might be able to fix this. I also found the source of another annoyance: the editor inserting tabs as indent regardless of my preferences. There's a TODO in the code there, but I have no clue how to get the preference from the general editor settings. I've never done Eclipse plugin development so I'm a little clueless here. A few pointers would go a long way. Do you hang out on IRC?

paulvi commented 10 years ago

As with any project, it takes some time to look into the project and find related place. Than it is possible to ask around for help.

Or try just to change a bit and install locally The good news is that now build is simple mvn package