negora opened a new issue, #4064: URL: https://github.com/apache/netbeans/issues/4064
### Apache NetBeans version Apache NetBeans 13 ### What happened I created a code template (a.k.a. snippet or live template) to be used in TypeScript source files, but it didn't take effect. ### How to reproduce Go to *Tools → Options → Editor → Code templates*. There, choose *TextMate languages* in the list of languages. Then, click on *New*. Type `test` in the dialog window that asks for an abbreviation, and then, in *Expanded text*, type this: ```typescript This is just a sample test. ``` In the field called *Expand template on*, choose *Tab*. Now open a TypeScript file, type `test` and push `[Tab]`. This should be expanded to `This is just a sample test.` but it isn't. I've tried this in both NetBeans IDE versions, 13 and 14 RC1. I've tried it with the TypeScript plug-in that is bundled with NetBeans, and also using an external LSP server. I've changed the key used to expand the abbreviation, but there hasn't been any luck either. ### Did this work correctly in an earlier version? No ### Operating System Debian GNU/Linux 11.3 (Bullseye) ### JDK OpenJDK Runtime Environment (build 17.0.2+8-Debian-1deb11u1) ### Apache NetBeans packaging Apache NetBeans binary zip ### Anything else I've read that other IDEs, such as Eclipse and its Wild Web Developers plug-in, prefer to rely on the language servers to implement this feature. Although I understand their positions (human resources are limited), Wouldn't this create a very heterogeneous and confusing experience when you use multiple language servers in the same IDE? Because code templates / snippets can be implemented in very different ways: some allow to use abbreviations (NetBeans IDE), whereas others only let you choose from a list (KDE's Kate). ### Are you willing to submit a pull request? No ### Code of Conduct Yes -- 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
