Current filter:
                                You should refresh the page.
                                  • Typing "if" followed later by "or" [SPACE] in a JavaScript comment, the "or" expands to "||".


                                        // if blah or

                                    results in:

                                        // if blah ||

                                    I don't expect any templates to expand when typing a comment.

                                • Pavel A (DevExpress) 04.01.2019

                                  Hi Duncan,

                                  Thank you for contacting us and pointing out to this issue.
                                  I have reproduced it on my side and we will fix this issue in the nearest releases.
                                  As a temporary workaround, you can manually add the additional 'Not InAnyComment' context for the 'or' and 'and' templates in JavaScript.
                                  I have attached a screencast that illustrates how to do this.
                                  We notify you as soon as we have any results.

                                1 Solution

                                Creation Date Importance Sort by