From 137d07573321d2126d5b3b54ea54e4329464ad33 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Feb 2026 00:55:53 +0000 Subject: [PATCH 1/2] Initial plan From 9fd9717ff8f65e9ad5c4e56b05994adb8d5b2fe4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 12 Feb 2026 00:57:40 +0000 Subject: [PATCH 2/2] fix: correct errors in CONTRIBUTING.md files Co-authored-by: johanste <15110018+johanste@users.noreply.github.com> --- CONTRIBUTING.md | 23 ++++++++++++----------- packages/http-client-java/CONTRIBUTING.md | 2 +- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ad55c47dce0..2b1df19b748 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -88,13 +88,13 @@ at a time in the IDE. - Terminal -> Run Build Task (`Ctrl+Shift+B`) -This will setup a an incremental watching build for the whole +This will setup an incremental watching build for the whole repo. From there on, your changes will be built whenever you save. Problems will be reported in the Problems pane automatically and the Terminal pane will have three parallel watch tasks running: -- `watch-source`: tsc process that recompile on TypeScript changes +- `watch-source`: tsc process that recompiles on TypeScript changes - `watch-spec`: process that regenerates spec.html when spec.emu.html changes - `watch-tmlanguage`: process that regenerates typespec.tmlanguage when @@ -106,14 +106,14 @@ Terminal pane will have three parallel watch tasks running: # Run all the tests pnpm test -# Run in a specific package tests in watch mode +# Run tests in a specific package in watch mode pnpm test:watch ``` ### Debugging There are several "Run and Debug" tasks set up. Click on the Run and -Debug icon on the sidebar, pick one from its down, and press F5 to +Debug icon on the sidebar, pick one from its dropdown, and press F5 to debug the last one you chose. 1. **VS Code Extension**: This will run and debug an experimental @@ -127,6 +127,7 @@ debug the last one you chose. there to experiment and debug how the compiler reacts. 3. **Compile Scratch (nostdlib)**: Same as above, but skips parsing and evaluating the TypeSpec standard library. Sometimes it's easier to + debug without it. 4. **Attach to Default Port**: Use this to attach to a manually run `node --debug` command. 5. **Attach to Language Server**: Use this to attach to the language @@ -170,7 +171,7 @@ changes after you make them. - Click on the play icon in the toolbar or press `F5` This will run and debug an experimental instance of VS with a version -of the TypeSpec extension for VS Code running live with any of your changes +of the TypeSpec extension for VS running live with any of your changes to the extension or the TypeSpec language server. The VS debugger will attach only to the VS client process. Use "Attach @@ -206,7 +207,7 @@ that gets produced. ### Run locally -Go to `packages/website` and run the command: +Go to `website` and run the command: ```bash pnpm start @@ -392,15 +393,15 @@ Labels are configured in `eng/common/config/labels.ts`. To update labels, edit t # TypeSpec Emitters -The various language emitters will live in the in the repo under the following directory structure +The various language emitters will live in the repo under the following directory structure - `packages/{protocol}-{client|server}-{language}` - Contains the `@typespec/{protocol}-{client|server}-{language}` package which is intended to be consumed by customers in their tsconfig.yaml file. -- `packages/{protocol}-{client|server}-{language}-generator` - Contains the `@typespec/{protocol}-{client|server}-{language}-generator` package which is the backend implementation of for a given emitter and usually contains code +- `packages/{protocol}-{client|server}-{language}-generator` - Contains the `@typespec/{protocol}-{client|server}-{language}-generator` package which is the backend implementation for a given emitter and usually contains code languages such as .NET, Python, or Java. This package is only intended to be used as a dependency of the root emitter package. - `packages/{protocol}-{client|server}-{language}-generator\**` - This directory will contain whatever is needed to build the backend emitter code generator. It will contain whatever folder structure is needed to build that specific native code. It will also contain an isolated ci.yml file which will be the build pipeline for this package. -There is a goal to be able to ship these emitter packages independent from the rest of the packages in this repo as such they by default be excluded from the root pnpm workspace. Any npm package work -will be isolated to those directories with a goal of eventually moving to a consistent model so that we can both work in isolation as well as work as a E2E. +There is a goal to be able to ship these emitter packages independent from the rest of the packages in this repo as such they will by default be excluded from the root pnpm workspace. Any npm package work +will be isolated to those directories with a goal of eventually moving to a consistent model so that we can both work in isolation as well as work as an E2E. -For language specific contributing information look for the contributing.md file in that specific lanague emitter folder. +For language specific contributing information look for the contributing.md file in that specific language emitter folder. diff --git a/packages/http-client-java/CONTRIBUTING.md b/packages/http-client-java/CONTRIBUTING.md index b1b9d90e776..37b6a510d06 100644 --- a/packages/http-client-java/CONTRIBUTING.md +++ b/packages/http-client-java/CONTRIBUTING.md @@ -30,7 +30,7 @@ npm install [path-to-typespec-http-client-java-tgz] ## End-to-end Tests -There is 2 end-to-end test modules: +There are 2 end-to-end test modules: - `packages/http-client-java/generator/http-client-generator-clientcore-test` for testing of unbranded code - `packages/http-client-java/generator/http-client-generator-test` for testing of branded code