-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Copy CWD action #13526
Copy CWD action #13526
Conversation
@check-spelling-bot ReportUnrecognized words, please review:
Previously acknowledged words that are now absentansicode appconsult askubuntu aspx azuredevopspodcast azurewebsites biblioscape bitsavers charlespetzold Checkin ckuehl cla cliutils codeproject colororacle condev Consolescreen CPPARM cppreference CPPx css cxcy DCompile debolden deconstructed DECRST DECRSTS decstandar devblogs devicefamily devops Dls dostips DWMWA dwriteglyphrundescriptionclustermap dxp easyrgb ecma edu errno fabricbot FARPROC fcb fdopen fixterms freedesktop GETKEYSTATE guardxfg halfwidth HMIDIOUT HOWTO HPAINTBUFFER HPROPSHEETPAGE htm icch iconify ietf intptr inwap ipa issuecomment iwch kayla kovidgoyal leonerd linkid LLVM locstudio lparen LPCHARSETINFO MAKEWORD manpage MAPVIRTUALKEY mscorlib MSDL mspartners myignite ned newcursor nlength notmatch NOWAIT ocf opensource openxmlformats osfhandle pdp PENDTASKMSG pgorepro pgort PGU php Poli ppci PPORT PSMALL QWERTYUIOP rapidtables RDONLY rdpartysource redistributable referencesource restrictedcapabilities Rexx rfc robertelder rosettacode rparen runasradio scm SOURCESDIRECTORY stackoverflow stdio stgm techcommunity technet testmddefinition Timeline timelines tldp toolbars Toolset ucdxml umd unintense universaltest UWA UWAs uwaterloo uwspace viewtopic VKKEYSCAN vstudio wddmconrenderer wdx webclient wfdopen wfstream wikia wikipedia windev windowsdeveloper winfx winsdk wline wlinestream workitem WResult WSpace xfg Xzn ycombinatorSome files were were automatically ignoredThese sample patterns would exclude them:
You should consider adding them to:
File matching is via Perl regular expressions. To check these files, more of their words need to be in the dictionary than not. You can use To accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands... in a clone of the [email protected]:davidegiacometti/terminal.git repository
✏️ Contributor please read thisBy default the command suggestion will generate a file named based on your commit. That's generally ok as long as you add the file to your commit. Someone can reorganize it later.
If the listed items are:
See the 🔬 You can test your commits without appending to a PR by creating a new branch with that extra change and pushing it to your fork. The check-spelling action will run in response to your push -- it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. 😉 🗜️ If you see a bunch of garbageIf it relates to a ... well-formed patternSee if there's a pattern that would match it. If not, try writing one and adding it to a Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines. Note that patterns can't match multiline strings. binary-ish stringPlease add a file path to the File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
|
@check-spelling-bot ReportUnrecognized words, please review:
Previously acknowledged words that are now absentansicode appconsult askubuntu aspx azuredevopspodcast azurewebsites biblioscape bitsavers charlespetzold Checkin ckuehl cla cliutils codeproject colororacle condev Consolescreen CPPARM cppreference CPPx css cxcy DCompile debolden deconstructed DECRST DECRSTS decstandar devblogs devicefamily devops Dls dostips DWMWA dwriteglyphrundescriptionclustermap dxp easyrgb ecma edu errno fabricbot FARPROC fcb fdopen fixterms freedesktop GETKEYSTATE guardxfg halfwidth HMIDIOUT HOWTO HPAINTBUFFER HPROPSHEETPAGE htm icch iconify ietf intptr inwap ipa issuecomment iwch kayla kovidgoyal leonerd linkid LLVM locstudio lparen LPCHARSETINFO MAKEWORD manpage MAPVIRTUALKEY mscorlib MSDL mspartners myignite ned newcursor nlength notmatch NOWAIT ocf opensource openxmlformats osfhandle pdp PENDTASKMSG pgorepro pgort PGU php Poli ppci PPORT PSMALL QWERTYUIOP rapidtables RDONLY rdpartysource redistributable referencesource restrictedcapabilities Rexx rfc robertelder rosettacode rparen runasradio scm SOURCESDIRECTORY stackoverflow stdio stgm techcommunity technet testmddefinition Timeline timelines tldp toolbars Toolset ucdxml umd unintense universaltest UWA UWAs uwaterloo uwspace viewtopic VKKEYSCAN vstudio wddmconrenderer wdx webclient wfdopen wfstream wikia wikipedia windev windowsdeveloper winfx winsdk wline wlinestream workitem WResult WSpace xfg Xzn ycombinatorSome files were were automatically ignoredThese sample patterns would exclude them:
You should consider adding them to:
File matching is via Perl regular expressions. To check these files, more of their words need to be in the dictionary than not. You can use To accept these unrecognized words as correct (and remove the previously acknowledged and now absent words), run the following commands... in a clone of the [email protected]:davidegiacometti/terminal.git repository
✏️ Contributor please read thisBy default the command suggestion will generate a file named based on your commit. That's generally ok as long as you add the file to your commit. Someone can reorganize it later.
If the listed items are:
See the 🔬 You can test your commits without appending to a PR by creating a new branch with that extra change and pushing it to your fork. The check-spelling action will run in response to your push -- it doesn't require an open pull request. By using such a branch, you can limit the number of typos your peers see you make. 😉 🗜️ If you see a bunch of garbageIf it relates to a ... well-formed patternSee if there's a pattern that would match it. If not, try writing one and adding it to a Patterns are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your lines. Note that patterns can't match multiline strings. binary-ish stringPlease add a file path to the File paths are Perl 5 Regular Expressions - you can test yours before committing to verify it will match your files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if I love the action being copyCWD
, but honestly it's short sweet and to the point. Not like I have a better suggestion 😅 It seems good to me!
(just update that one string 😄)
@@ -567,4 +567,7 @@ | |||
<data name="SwitchSelectionEndpointCommandKey" xml:space="preserve"> | |||
<value>Switch selection endpoint</value> | |||
</data> | |||
</root> | |||
<data name="CopyCWDCommandKey" xml:space="preserve"> | |||
<value>Copy CWD</value> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably my only nit:
<value>Copy CWD</value> | |
<value>Copy current working directory</value> |
I think it's okay to be a little more verbose here, plus the fuzzy matching should probably immediately filter to this command when typing cwd
("Copy current working directory")
It was |
Looks good to me! Just be sure to document it in our docs repo and fix the string zadji mentioned above and I'll approve. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm blocking this for more discussion based on some Teams chatter. Thanks for the patience!
No problem! Will update this PR and also create a PR for the documentation based on feedback. @zadjii-msft I have also tested this on WSL and the returned CWD is |
Hi @zadjii-msft |
Alas, yea, I do have news. This is definitely on me for putting off the bad news here. We talked about this a little while back. The team consensus was that this is a perfectly good and sensible PR. The implementation is totally as we'd expect. However, it's probably not time for this feature quite yet. It's kinda... awkward.
So right now the team consensus was to
Does that all sound reasonable? Sorry for putting this off for so long. I thought I'd be better at being the bearer of bad news, but just ended up dragging my feet. That's on me 😓 |
Don't worry @zadjii-msft, I totally understand. |
Summary of the Pull Request
Added action for copy CWD
References
Require configuration: https://docs.microsoft.com/en-us/windows/terminal/tutorials/new-tab-same-directory
PR Checklist
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed