You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Depends on cpptools' update to provide ProjectContextResult.
- Send "standardVersion" trait in completion prompt by default.
- Added the following new traits
- intelliSenseDisclaimer: compiler information disclaimer.
- intelliSenseDisclaimerBeginning: to note the beginning of IntelliSense information.
- compilerArguments: a list of compiler command arguments that could affect Copilot generating completions.
- directAsks: direct asking Copilot to do something instead of providing an argument.
- intelliSenseDisclaimerEnd: to note the end of IntelliSense information.
- A/B Experimental flags
- copilotcppTraits: deprecated, no longer used.
- copilotcppExcludeTraits:: deprecated, no longer used.
- copilotcppIncludeTraits: string array to include individual trait, i.e., compilerArguments.
- copilotcppMsvcCompilerArgumentFilter: map of regex string to absence prompt for MSVC.
- copilotcppClangCompilerArgumentFilter: map of regex string to absence prompt for Clang.
- copilotcppGccCompilerArgumentFilter: map of regex string to absence prompt for GCC.
- copilotcppCompilerArgumentDirectAskMap: map of argument to prompt.
{name: "intelliSenseDisclaimer",value: '',includeInPrompt: true,promptTextOverride: `IntelliSense is currently configured with the following compiler information. It reflects the active configuration, and the project may have more configurations targeting different platforms.`},
56
+
{name: "intelliSenseDisclaimerBeginning",value: '',includeInPrompt: true,promptTextOverride: `Beginning of IntelliSense information.`}
57
+
];
58
+
if(projectContext.language){
59
+
traits.push({name: "language",value: projectContext.language,includeInPrompt: true,promptTextOverride: `The language is ${projectContext.language}.`});
60
+
}
61
+
if(projectContext.compiler){
62
+
traits.push({name: "compiler",value: projectContext.compiler,includeInPrompt: true,promptTextOverride: `This project compiles using ${projectContext.compiler}.`});
63
+
}
64
+
if(projectContext.standardVersion){
65
+
traits.push({name: "standardVersion",value: projectContext.standardVersion,includeInPrompt: true,promptTextOverride: `This project uses the ${projectContext.standardVersion} language standard.`});
0 commit comments