matthiasblaesing opened a new pull request, #9238: URL: https://github.com/apache/netbeans/pull/9238
In contrast to NetBeans LSP servers don't use the mimetype of the file to determine their support or the variant to use for the file. One such example is the typescript LSP server, that offers support for: - JavaScript (javascript) - JavaScript with support for the react variant (javascriptreact) - TypeScript (typescript) - TypeScript with the support for the react variant (typescriptreact) the client has to provide the correct language id or it uses the default (typescript). This changeset adds the option to configure the language id to use for generic LSP support and it updates the typescript LSP integration to support both typescript (for .ts files) and typescriptreact (for .tsx files). The typescript enhancement allows for code completion inside TSX elements. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
