eclipse-wildwebdeveloper / eclipse-wildwebdeveloper/wildwebdeveloper

Feature Request - Code Folding - Include closing } in fold

Open
#463 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement upstream-lsp4e upstream-typescript-language-server
Dominant language
Java
Stars
201
Forks
76
Avg merge
4d 7h
Merged PRs (30d)
21

Description

When folding a section it does not include the closing } so a fold ends up being 2 lines instead of 1
image

PHP joins it into one line (showing the parent closing on the unindented next line):
image

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 folding behavior in Eclipse using the PHP example and compare it with the expected one-line fold shown in the issue. Locate the code-folding implementation and its related tests; done means the closing brace is included in the fold and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.