Open
Conversation
# Bugfixes * also watch .tsx files * unnest decorationsStyle in package.json, because defaults doesn't work in nested way * handle errors while adding types * handle errors while updating the source code * add two decorations to avoid weird cursor positions * do not include CHANGELOG.md and build .vsix files in publish # Features * add .js and .jsx as supported files * also watch .js and .jsx files * change arrowFunctionVariable to functionVariableType and make it work for normal functions too * add objectPatternType, which adds types to object patterns * add arrayPatternType, which adds types to array patterns * add objectLiteralType, which adds types to object literals * split decorationStyle into lightThemeDecorationStyle and darkThemeDecorationStyle * allow to omit types on higher AST levels when types are already added on deeper level * avoid adding types to functions returning functions, as the nested function already has types * cache type names, as these can be expensive * add a hoverMessage with the long type info * also highlight variations for `any` (like `any[]` or `Something<any>`) # Development * make clean script windows compatible * remove verbose log info
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hey @MartinJohns I liked your extension, used it a bit (mainly for .js files with jsdoc annotations) and added some improvements on a fork.
This PR contributes all my changes back to your repo.
Here is a summary of all changes. If you dislike some change, give me a hint and I'll remove it from the PR. Sadly it's a single commit as I didn't watch out for good commits while playing around.
Bugfixes
Features
any(likeany[]orSomething<any>)Development