groovy-eclipse icon indicating copy to clipboard operation
groovy-eclipse copied to clipboard

Add support for Groovy in Expressions view

Open eric-milles opened this issue 7 years ago • 5 comments

eric-milles avatar Apr 19 '18 16:04 eric-milles

How come such a basic feature has not yet implemented? Will it ever be release. Because for me (and all developers I know) this is an absolute showstopper!

Or is there any alternative I'm not aware of?

mojo2012 avatar Oct 29 '19 15:10 mojo2012

It is a bit tricky to add support for just Groovy sources and not impact Java sources. STS used aspect-oriented weaving to inject this behavior and we are looking at alternatives to requiring AspectJ.

Feel free to thumbs-up the issue and encourage your friends/colleagues to do so as well to bump the priority.

eric-milles avatar Oct 29 '19 15:10 eric-milles

Maybe it would be easiert to just create a new view? I always wanted to have something like in intellij - a combined variables + expression view (with autocomplete). Manually created expressions are just appended to the list of variables. Currently my debugging workflow (in java) is spread out to variables, expressions and debug/display view - and I always kinda hated that.

mojo2012 avatar Oct 29 '19 17:10 mojo2012

That's a good suggestion for the Eclipse JDT team. I'd love to see Expressions, Variables and possibly the Debug/Display console combined into a more unified view. Add to that an extension mechanism to provide support to use any JVM language for expression evaluation, that would be quite desirable!

eric-milles avatar Oct 29 '19 17:10 eric-milles

I added the bug requests:

  • extension API: https://bugs.eclipse.org/bugs/show_bug.cgi?id=552561
  • combined view: https://bugs.eclipse.org/bugs/show_bug.cgi?id=552562

mojo2012 avatar Oct 30 '19 12:10 mojo2012

image

eric-milles avatar Jun 26 '23 17:06 eric-milles

image

eric-milles avatar Jun 30 '23 14:06 eric-milles