eclipse-xtext / eclipse-xtext/xtext

Rename Refactoring: Xtext does not remove markers from "toBeDeleted" resource

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

Nobody has claimed this yet.

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

Description

  • if you have a dsl file with markers
  • and if you rename that file (to a non Xtext-managed) file extension
  • then the markers on the file persist.

am not sure if this is a bug or a feature.

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 Rename Refactoring scenario with a DSL file containing markers, then rename it to a non-Xtext-managed extension. Trace the rename-refactoring handling for the old resource and verify that the completed change removes its markers; the issue is resolved when those markers no longer persist.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.