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

Add support for inlay hints LSP-volar #113

Merged
merged 1 commit into from
Aug 19, 2022
Merged

Add support for inlay hints LSP-volar #113

merged 1 commit into from
Aug 19, 2022

Conversation

predragnikolic
Copy link
Member

Inlay hints need to be implemented in the LSP repo in order for this to work.

Inlay hints need to be implemented in the LSP repo in order for this to work.
Will push a branch on the LSP repo to make this work.
@predragnikolic
Copy link
Member Author

If you want to quickly try it out with LSP-volar,
here are the settings.

// Settings in here override those in "LSP-volar/LSP-volar.sublime-settings"

{
    "selector": "text.html.vue | source.ts",
    "settings": {
        "typescript.inlayHints.parameterNames.enabled": "all",
        "typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": true,
        "typescript.inlayHints.parameterTypes.enabled": true,
        "typescript.inlayHints.variableTypes.enabled": true,
        "typescript.inlayHints.propertyDeclarationTypes.enabled": true,
        "typescript.inlayHints.functionLikeReturnTypes.enabled": true,
        "typescript.inlayHints.enumMemberValues.enabled": true
    }
}

@predragnikolic predragnikolic merged commit ffd18ef into master Aug 19, 2022
@predragnikolic predragnikolic deleted the inlay-hint branch August 19, 2022 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants