eclipse-xtext / eclipse-xtext/xtext

Single-file Compare: "Show Whitespace" doesn't work in right pane

Open
#2,402 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

With current Xtext master:

  1. Open any changed DSL model file (e.g. xtend) in a connected EGit repository, right-click and select Compare With -> HEAD revision (or any other item from the Compare With menu with a single-file selection).
  2. Enable "Show Whitespace Characters" if is isn't already turned on.

Then, the whitespace markers will be displayed in the left pane, but not in the right pane.
This does not happen when selecting two files and executing Compare With -> Each other.

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

Reproduce the issue by opening a changed DSL model in a connected EGit repository and using Compare With for a single-file selection. Compare that behavior with Compare With → Each other, then trace the single-file comparison path; done means whitespace markers appear in both the left and right panes.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop, tooling
Issue type
Bug
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.