Community
Participate
Working Groups
We should add support for completions / templates for regex literals / strings. I can't count the number of times I have been crafting a regex and have to go look up what all of the available pattern parts are. I would expect some form of assist for the following cases: 1. regex literals -> /<pattern>/ 2. RegExp constructor -> new RegExp('<pattern>') 3. expanded inferencing if a var is assigned a literal that is used in new RegExp -> var pattern = '<pattern>' new RegExp(pattern) We could start with proposals including the pattern parts mentioned in MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions It also might be nice if we expanded the JS hover to provide a way to run the regex in place to see the result rather than having to debug it.
Agree - this sure would be nice...
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see: https://dev.eclipse.org/mhonarc/lists/orion-dev/msg04002.html
Reopening. See also (related, but not the same): Bug 512463.