eclipse-xtext / eclipse-xtext/xtext

Format on save

Open
#2,278 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new_feature
Dominant language
Java
Stars
831
Forks
330
Avg merge
3d 7h
Merged PRs (30d)
12

Description

It would be great if the Xtend Eclipse Editor could be configured to apply the formatting whenever a file is save (like Preferences / Java / Editor / Save Actions / Format source code for Java).

I am not sure if this happens as part of formatting automatically, but it should also be configurable to remove trailing whitespaces as part of this.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Xtend Eclipse Editor's formatting preferences and save handling. Determine how format-on-save and trailing-whitespace removal should be configured; done means both behaviors can be enabled as requested and work when an Xtend file is saved.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.