History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRVY-234
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Ilya Sergey
Reporter: Randall R Schulz
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
Groovy

Provide Selective Control Over Groovy Code Inspections

Created: 03 Aug 07 18:47   Updated: 17 Aug 08 02:18
Component/s: Plugin Reports
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: All

Build: 7,104


 Description  « Hide
Some inspections, notably "Cannot determine type statically" are detected in such huge volumes as to be meaningless and clutter the right-hand gutter with pale yellow markers and produce excessive quantities of underlined symbols in the code display.

It should be possible to selectively enable and disable the code inspections that originate in the JetGroovy plug-in.



 All   Comments   Work Log   Change History      Sort Order:
Eugene Vigdorchik - 09 Aug 07 17:38
It does not influence the green color of error stripe, yet providing feedback on symbol access that is truly dynamic. I doubt this highlightig should be disabled.

Randall R Schulz - 12 Aug 07 18:40
I am not asking for it to be disabled, I'm asking for the ability to control it at the user's discretion.

The feedback it supplies is so voluminous in so many cases that it obscures other inspection feedback.

It should be user-configurable.


Taras Tielkes - 13 Aug 07 18:28
Perhaps a "code style" setting for such expressions would be a better UI? (In addition to having the inspection available)

Similar to how I can assign a separate style to "re-assigned variables" in the Java code style, in addition to the inspection that can batch-inspect code and report such occurrences.


Eugene Vigdorchik - 24 Aug 07 21:14
cannot determine type statically is not an inspection, it is ajust a highlighting like Taras mentiones.

Randall R Schulz - 24 Aug 07 21:26
Terminology notwithstanding, can the user be given control over this feedback?

Given the nature of Groovy, it is often excessive and tends to obscure other problems.

Perhaps allowing the user to specify something about the context of their code (e.g., Grails code) so a better heuristic can be applied.


Taras Tielkes - 26 Aug 07 23:35
Randall, I think you want a seperate "Groovy" Colors&Fonts tab, with (at least) an entry for "dynamic symbol access".
In addition an inspection doing the same thing could be provided to see such usages for the whole project. (if someone actually is interested?)