-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 missing operators in tokenizer, handle end-of-comment completion better #1129
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use the standard PR template
if (index >= 0) { | ||
const token = tokens.getItemAt(index); | ||
if (token.end === offset) { | ||
if (token.type === TokenType.Comment) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (token.end === offset && token.type === TokenType.Comment) {
Codecov Report
@@ Coverage Diff @@
## master #1129 +/- ##
==========================================
+ Coverage 71.79% 71.89% +0.09%
==========================================
Files 260 260
Lines 11892 11898 +6
Branches 2107 2112 +5
==========================================
+ Hits 8538 8554 +16
+ Misses 3225 3220 -5
+ Partials 129 124 -5
Continue to review full report at Codecov.
|
@MikhailArkhipov |
Fixes #1096
Fixes #1123
=>
and<=
to operators in tokenizer + test