From 276bc8a565389ea1a145af08ec8e64c1a5bea990 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Fri, 15 Nov 2024 16:57:08 +0000 Subject: [PATCH] DEV: Include plugin directories in search tooling & IDEs (#29760) Non-bundled plugins are gitignore'd, but we want them to show up in search tools / IDEs. Adding a `.ignore` file with a negative glob lets us achieve this. Previously, it was up to individuals to work out how to configure their editor to do this when working on plugins. Also adds negative matchers for the vscode config files, so they show up in the file picker & search. --- .ignore | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .ignore diff --git a/.ignore b/.ignore new file mode 100644 index 00000000000..1b32cf18a30 --- /dev/null +++ b/.ignore @@ -0,0 +1,8 @@ +# Non-bundled plugins are gitignore'd, but we want them to +# show up in search tools / IDEs so we un-ignore them here +!/plugins/* + +# Allow these files to show up in vscode file selector, even +# though they're not git-tracked +!/.vscode/settings.json +!/.vscode/tasks.json