Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand "workspace/willRenameFiles" support to include folders. #3189

Merged
merged 1 commit into from
Jun 12, 2024

Conversation

rgrunber
Copy link
Contributor

--- old.txt	2024-06-12 15:50:40.782112655 -0400
+++ new.txt	2024-06-12 15:53:20.175658497 -0400
@@ -8,6 +8,13 @@
                         "matches": "file"
                     },
                     "scheme": "file"
+                },
+                {
+                    "pattern": {
+                        "glob": "**",
+                        "matches": "folder"
+                    },
+                    "scheme": "file"
                 }
             ]
         }

- Allow folder renames to trigger workspace/willRenameFiles since the
  language server can update source files during such an operation

Signed-off-by: Roland Grunberg <[email protected]>
@rgrunber rgrunber merged commit 02b046f into eclipse-jdtls:master Jun 12, 2024
7 checks passed
@rgrunber rgrunber deleted the fix-3183 branch June 12, 2024 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter reported for workspace/willRename excludes folders/packages
1 participant