Skip to content

Generate Code from TypeSpec in VSCode - #5312

Merged
Allen Zhang (allenjzhang) merged 87 commits into
microsoft:mainfrom
chunyu3:generateSDK
Jan 14, 2025
Merged

Generate Code from TypeSpec in VSCode#5312
Allen Zhang (allenjzhang) merged 87 commits into
microsoft:mainfrom
chunyu3:generateSDK

Conversation

@chunyu3

@chunyu3 Crystal YU (chunyu3) commented Dec 10, 2024

Copy link
Copy Markdown
Contributor

Fix #5025
Fix #5463

Integrate Code Generation in VSCode extension

@azure-sdk

Azure SDK Bot (azure-sdk) commented Dec 10, 2024

Copy link
Copy Markdown
Collaborator

All changed packages have been documented.

  • @typespec/internal-build-utils
  • typespec-vscode
Show changes

typespec-vscode - feature ✏️

integrate client SDK generation

@typespec/internal-build-utils - fix ✏️

resolve the program crash when there is no package name in package.json

Comment thread packages/typespec-vscode/package.json
@chunyu3

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 2 pipeline(s).

@azure-sdk

Azure SDK Bot (azure-sdk) commented Jan 13, 2025

Copy link
Copy Markdown
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs 🛝 VSCode Extension

@allenjzhang Allen Zhang (allenjzhang) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a future enhancement, if main.tsp is not found, should prompt them for an entry point tsp file. main.tsp does NOT need there.

@allenjzhang
Allen Zhang (allenjzhang) dismissed stale reviews from Timothee Guerin (timotheeguerin) and themself January 14, 2025 18:39

Tim OOF. Concern has been address.

@allenjzhang Allen Zhang (allenjzhang) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a future enhancement, if main.tsp is not found, should prompt them for an entry point tsp file. main.tsp does NOT need there.

@allenjzhang

Copy link
Copy Markdown
Contributor

Crystal YU (@chunyu3), Rodge Fu (@RodgeFu), I still see there are a few things should be cleaned up as you should purely rely on the TypeSpec config and build capabilities.

Since this PR has been out long and isolated to VSCode packages, I will merge it for release. Let's make quick follow up on optmization asap. Thanks

@allenjzhang
Allen Zhang (allenjzhang) added this pull request to the merge queue Jan 14, 2025
Merged via the queue into microsoft:main with commit 98f7cd5 Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ide Issues for VS, VSCode, Monaco, etc.

Projects

None yet

7 participants