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

Key: IDEABKL-5392
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Unassigned
Reporter: Miika Sell
Votes: 0
Watchers: 1
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Add "public" modifier for generated interface methods

Created: 16 Apr 08 15:02   Updated: 16 Apr 08 15:20
Component/s: Code Formatting and Code Style
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,757
Severity: Medium


 Description  « Hide
When declaring methods in interfaces, I prefer to explicitly use the "public" modifier. When IntelliJ is requested to create new methods to interfaces, it doesn't add the "public" modifier and there doesn't seem to be an option for it in the settings either. Same problem is with the "abstract" modifier that some people use for interface methods.

 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 16 Apr 08 15:10
We don't see much value in adding IDEA features that would generate completely redundant code.

Miika Sell - 16 Apr 08 15:20
I think it as code style instead of redundant code, just like forcing braces to if and loop statements. IDEA has excellent configuration for code style making it nearly perfect for my needs, but this one is annoying me everytime I let IDEA generate an interface method for me. I hope you will reconsider this.