зеркало из https://github.com/microsoft/terminal.git
21fa303a3d
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 |
||
---|---|---|
.. | ||
audio | ||
buffer | ||
cascadia | ||
dep | ||
host | ||
inc | ||
interactivity | ||
internal | ||
propsheet | ||
propslib | ||
renderer | ||
server | ||
staging | ||
terminal | ||
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 |