Skip to content

Commit

Permalink
Limit the depth for meson.build search
Browse files Browse the repository at this point in the history
Searching the entire workspace can be be very costly, especially if the
workspace is on a network drive. This change makes the extension to
assume that meson.build is located either in the root of workspace, or
in any directory two levels down from the root.

Potentially fixes #234.
  • Loading branch information
slavaandrejev authored and tristan957 committed Jun 20, 2024
1 parent 3f4ee1e commit ae98804
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
"Programming Languages"
],
"activationEvents": [
"workspaceContains:**/meson.build",
"workspaceContains:meson.build",
"workspaceContains:*/meson.build",
"workspaceContains:*/*/meson.build",
"onDebugDynamicConfigurations",
"onDebugDynamicConfigurations:cppdbg",
"onDebugDynamicConfigurations:lldb"
Expand Down

0 comments on commit ae98804

Please sign in to comment.