terminal/src
Mike Griese 21fa303a3d
Add support for local snippets in the CWD (#17388)
This PR adds the ability to load snippets from the CWD into the
suggestions UI.

If shell integration is disabled, then we only ever think the CWD for a
pane is it's `startingDirectory`. So, in the default case, users can
still stick snippets into the root of their git repos, and have the
Terminal load them automatically (for profiles starting in the root of
their repo).
If it's enabled though, we'll always try to load snippets from the CWD
of the shell.

* We cache the actions into a separate map of CWD -> actions. This lets
us read the file only the first time we see a dir.
* We clear that cache on settings reload
* We only load `sendInput` actions from the `.wt.json`

As spec'd in #17329
2024-07-25 20:39:26 -05:00
..
audio
buffer AtlasEngine: Implement sixels (#17581) 2024-07-23 12:39:12 -07:00
cascadia Add support for local snippets in the CWD (#17388) 2024-07-25 20:39:26 -05:00
dep
host
inc
interactivity
internal
propsheet
propslib
renderer AtlasEngine: Implement sixels (#17581) 2024-07-23 12:39:12 -07:00
server
staging
terminal AtlasEngine: Implement sixels (#17581) 2024-07-23 12:39:12 -07:00
testlist
til
tools
tsf
types
winconpty
ConsolePerf.regions.xml
ConsolePerf.wprp
StaticAnalysis.ruleset
Terminal.wprp
common.build.post.props
common.build.pre.props
common.build.tests.props
common.nugetversions.props
common.nugetversions.targets
cppwinrt.build.post.props
cppwinrt.build.pre.props
dirs
features.xml
project.inc
project.unittest.inc
unit.tests.x64.runsettings
unit.tests.x86.runsettings
wap-common.build.post.props
wap-common.build.pre.props