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

Support A/B Compiler Arguments Traits to Completions Prompt #12844

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kuchungmsft
Copy link
Collaborator

@kuchungmsft kuchungmsft commented Oct 17, 2024

Support A/B Compiler Arguments Traits

  • User defines are not covered in this PR.
  • Depends on cpptools' update.
  • 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.

@kuchungmsft kuchungmsft force-pushed the kuchung/ProvideCompilerDefinesArgumentsTrait branch from 830f513 to 9357de0 Compare October 17, 2024 00:39
Extension/src/LanguageServer/copilotProviders.ts Outdated Show resolved Hide resolved
@kuchungmsft kuchungmsft force-pushed the kuchung/ProvideCompilerDefinesArgumentsTrait branch from 9357de0 to 2516fa6 Compare October 19, 2024 00:29
Extension/src/LanguageServer/client.ts Outdated Show resolved Hide resolved
Extension/src/LanguageServer/copilotProviders.ts Outdated Show resolved Hide resolved
@kuchungmsft kuchungmsft force-pushed the kuchung/ProvideCompilerDefinesArgumentsTrait branch from 2516fa6 to 3560e44 Compare October 25, 2024 22:17
@kuchungmsft kuchungmsft changed the title Add Compiler Command Line Defines and Arguments Traits to Completions Prompt Support A/B Compiler Arguments Traits to Completions Prompt Oct 25, 2024
@kuchungmsft kuchungmsft force-pushed the kuchung/ProvideCompilerDefinesArgumentsTrait branch from 3560e44 to e6721bd Compare October 25, 2024 22:25
@kuchungmsft kuchungmsft force-pushed the kuchung/ProvideCompilerDefinesArgumentsTrait branch from e6721bd to c03a944 Compare October 25, 2024 23:14
- User defines are not covered in this PR.
- Depends on cpptools' update.
- 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.
@kuchungmsft kuchungmsft force-pushed the kuchung/ProvideCompilerDefinesArgumentsTrait branch from c03a944 to 2d50ccb Compare October 28, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Pull Request
Development

Successfully merging this pull request may close these issues.

5 participants