Skip to content
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

Add keyboard support for Inline Macro. #11261

Merged
merged 26 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9bfbb67
Add keyboard support for Inline Macro.
sean-mcmanus Jul 28, 2023
31746e1
Change keyboard key.
sean-mcmanus Jul 28, 2023
7655985
Merge branch 'main' into seanmcm/inlineMacroKeyboardSupport
sean-mcmanus Jul 28, 2023
f4052c2
Change regex.
sean-mcmanus Jul 28, 2023
c15f064
Merge branch 'seanmcm/inlineMacroKeyboardSupport' of https://github.c…
sean-mcmanus Jul 28, 2023
4636878
Merge branch 'main' into seanmcm/inlineMacroKeyboardSupport
sean-mcmanus Jul 28, 2023
33600b0
Fix incorrect merge.
sean-mcmanus Jul 28, 2023
d6e9ecf
Enable inline macro without hover.
sean-mcmanus Aug 1, 2023
8f73406
Merge branch 'main' into seanmcm/inlineMacroKeyboardSupport
sean-mcmanus Aug 1, 2023
ab5e876
Forgot a change.
sean-mcmanus Aug 1, 2023
7b7880d
Merge branch 'seanmcm/inlineMacroKeyboardSupport' of https://github.c…
sean-mcmanus Aug 1, 2023
a72e38b
Merge branch 'main' into seanmcm/inlineMacroKeyboardSupport
sean-mcmanus Aug 3, 2023
7a9d150
Standardize localize string naming.
sean-mcmanus Aug 3, 2023
32ae163
Revert "Standardize localize string naming."
sean-mcmanus Aug 5, 2023
40bf0d4
Revert loc changes.
sean-mcmanus Aug 5, 2023
7ee77f8
Merge branch 'main' into seanmcm/inlineMacroKeyboardSupport
sean-mcmanus Aug 15, 2023
f36579a
Add back loc changes with dots.
sean-mcmanus Aug 16, 2023
f05f0ac
Fix spelling errors involving strings types.
sean-mcmanus Aug 16, 2023
0a70afe
Missed a fix.
sean-mcmanus Aug 16, 2023
da6d724
Fix .js.
sean-mcmanus Aug 16, 2023
a104ed3
Merge branch 'main' into seanmcm/inlineMacroKeyboardSupport
sean-mcmanus Aug 18, 2023
d9e8501
Merge branch 'main' into seanmcm/inlineMacroKeyboardSupport
sean-mcmanus Aug 21, 2023
2cb9ef3
Merge main.
sean-mcmanus Aug 30, 2023
eb51909
Merge branch 'seanmcm/inlineMacroKeyboardSupport' of https://github.c…
sean-mcmanus Aug 30, 2023
7cb09ac
Merge branch 'main' into seanmcm/inlineMacroKeyboardSupport
sean-mcmanus Sep 5, 2023
e4ffc12
Merge branch 'main' into seanmcm/inlineMacroKeyboardSupport
bobbrow Sep 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3222,6 +3222,15 @@
"command": "C_Cpp.SwitchHeaderSource",
"key": "Alt+O",
"when": "editorLangId == 'c' && editorTextFocus || editorLangId == 'cpp' && editorTextFocus || editorLangId == 'cuda-cpp' && editorTextFocus"
},
{
"command": "editor.action.codeAction",
"key": "ctrl+shift+r ctrl+i",
"args": {
"kind": "refactor.inline.macro",
"apply": "first"
},
"when": "editorLangId =~ /^(c|(cuda-)?cpp)?$/ && editorTextFocus && !(config.C_Cpp.intelliSenseEngine =~ /^[dD]isabled$/)"
}
],
"debuggers": [
Expand Down Expand Up @@ -6007,6 +6016,20 @@
]
}
}
],
"codeActions": [
{
"languages": [
"c",
"cpp",
"cude-cpp"
],
"actions": {
"kind": "refactor.inline.macro",
"title": "%c_cpp.codeActions.refactor.inline.macro.title%",
"description": "%c_cpp.codeActions.refactor.inline.macro.description%"
}
}
]
},
"scripts": {
Expand Down
Loading