eclipse-xtext / eclipse-xtext/xtext

Auto format error

Open
#2,586 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Using the project created by with wizard with a custom grammar and using a file with context

module
end_module

in my plug in. I get a list list of exception, it is not exactly the same of the post [http://stackoverflow.com/questions/40009492/xtext-formatting-exception?noredirect=1#comment67331354_40009492](on stack overflow) but looks for me like the same error.

I get the error when I auto format, ctrl+shift+f

auto_format_log.txt

auto_format_error.zip

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 in a project created with the wizard, using the custom grammar and the file containing module and end_module, then trigger formatting with Ctrl+Shift+F. Read auto_format_log.txt and inspect auto_format_error.zip alongside the linked Stack Overflow discussion; done means the formatter no longer produces the reported exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.