-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support A/B Compiler Arguments Traits to Completions Prompt
- Depends on cpptools' update to provide ProjectContextResult. - Added two new traits - compilerArguments: a list of compiler command arguments that could affect Copilot generating completions. - compilerUserDefines: a list of compiler command defines that could affect Copilot generating completions. Macro references are used to exclude the ones that are not relavent. - A/B Experimental flags - copilotcppTraits: boolean flag to enable cpp traits - copilotcppExcludeTraits: string array to exclude individual trait, i.e., compilerArguments. - copilotcppMsvcCompilerArgumentFilter: regex string to match compiler arguments for GCC. - copilotcppClangCompilerArgumentFilter: regex string to match compiler arguments for Clang. - copilotcppGccCompilerArgumentFilter: regex string to match compiler arguments for MSVC. - copilotcppCompilerArgumentDirectAskMap: a stringify map string to map arguments to direct ask statements. - copilotcppMacroReferenceFilter: regex string to filter macro references for telemetry.
- Loading branch information
1 parent
c9cae0b
commit caa3897
Showing
7 changed files
with
725 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.