GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — Add inlay hints support by Kingwl · Pull Request #42089 · microsoft/TypeScript Conversation
|
|
Thanks for the PR! It looks like you've changed the TSServer protocol in some way. Please ensure that any changes here don't break consumers of the current TSServer API. For some extra review, we'll ping Sheetal Nandi (@sheetalkamat), Andrew Casey (@amcasey), Matt Bierner (@mjbvz), Mine Starks (@minestarks) for you. Feel free to loop in other consumers/maintainers if necessary |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Matt Bierner (@mjbvz) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Basically work like this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
TypeScript Bot (@typescript-bot) pack this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Heya Wenlu Wang (@Kingwl), I've started to run the tarball bundle task on this PR at d2fbd1e. You can monitor the build here. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Hey Wenlu Wang (@Kingwl), I've packed this into an installable tgz. You can install it for testing by referencing it in your and then running There is also a playground for this build and an npm module you can use via |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The TypeScript team hasn't accepted the linked issue #42073. If you can get it accepted, this PR will have a better chance of being reviewed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Well, let me think about some examples: f(1); f(1 + 2); f("Some String"); f("Some String".toLowerCase()); f(someString); f(someString.toLowerCase()); f([0, 1, 2]); f([0, 1, 2].map(processNumber)); f(integers); f(integers.map(processNumber)); In these cases, I feel like the literal arguments and the expressions made up of literals convey the same amount of semantic information. I don’t think the That said, |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks for the review. I've updated followed the comments. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I haven't tried this out yet to see how it actually plays. I assume I need vscode insiders? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Jesse Trinity (@jessetrinity) you need a local build of microsoft/vscode#113412 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thanks for bearing with us on the last-minute updates, Wenlu Wang (@Kingwl) 🌟
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
InlayHintKind was changed to
export const enum InlayHintKind { Type = "Type", Parameter = "Parameter", Enum = "Enum", }
in protocol.ts but nowhere else.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks for creating such a great feature! I have a question, why is there a limit on the hint length? Specifically, why is |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Support inlay hints
There was an error while loading. Please reload this page.