Bug 384934 - [IDE] Provide code cleanups (also as save actions)
Summary: [IDE] Provide code cleanups (also as save actions)
Status: UNCONFIRMED
Alias: None
Product: Xtend
Classification: Tools
Component: Backlog (show other bugs)
Version: 2.3.0   Edit
Hardware: Macintosh Mac OS X
: P3 enhancement with 3 votes (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 414151 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-07-12 09:05 EDT by Dénes Harmath CLA
Modified: 2018-04-26 04:01 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dénes Harmath CLA 2012-07-12 09:05:07 EDT
Build Identifier: I20120608-1400

It would be great to have Cleanup actions which could render Xtend code more idiomatic, e.g.:
- remove semicolons
- remove superfluous return statements
- add explicit return types for API methods
Also having them available as Save actions would be even greater.

Reproducible: Always
Comment 1 Moritz Eysholdt CLA 2012-07-12 10:39:57 EDT
- apply formatting
Comment 2 Christian Huelsmeier CLA 2012-08-21 09:05:51 EDT
- organize/remove unused imports
Comment 3 Dénes Harmath CLA 2013-06-27 06:19:50 EDT
- clean fully qualified names
Comment 4 Christian Dietrich CLA 2017-04-06 04:55:04 EDT
*** Bug 414151 has been marked as a duplicate of this bug. ***
Comment 5 Christian Dietrich CLA 2018-04-26 04:01:20 EDT
https://github.com/eclipse/xtext-xtend/issues/438