This repository has been archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Tokenize punctuation (and generics) #22
Merged
Changes from 6 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
3273608
Tokenize braces
50Wliu 78562b2
Tokenize brackets in arrays
50Wliu ebfe99f
Merge remote-tracking branch 'refs/remotes/origin/master' into wl-braces
50Wliu 9312a2c
:green_heart: Fix specs!
50Wliu 72bd720
Tokenize generics
50Wliu 9a7343a
Merge remote-tracking branch 'master' into wl-braces
50Wliu af7535f
Tokenize commas in method headers
50Wliu a67ef17
Commas are now punctuation.separator.delimiter
50Wliu 1c594bb
Tokenize commas everywhere
50Wliu 2d33c68
:green_heart: Add basic punctuation specs
50Wliu 1b319c0
Tokenize periods and ampersands
50Wliu 1bf118e
Tokenize generic object types
50Wliu fade67f
:fire: Extra newline
50Wliu dc42c5c
Square brackets can be inside generics
50Wliu f424930
Fix types being matched incorrectly
50Wliu 626e4be
Tokenize commas after `implements`
50Wliu 19cbf02
Rework package tokenization
50Wliu 0e2a197
Add specs!
50Wliu 2cc799c
Tokenize multi-dimensional arrays
50Wliu 2ce4d1f
Also tokenize object multidimensional arrays
50Wliu ccba156
Remove unneeded comma match
50Wliu 6b9bcb1
Rewrite import regexes
50Wliu 91476f4
punctuation.wildcard -> variable.language.wildcard
50Wliu e44ccc5
Update tokenizations
50Wliu File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Unfortunately I couldn't find a way to keep this
name
with the newgenerics
include. @kevinsawicki do you know if this should be possible, or was it intentionally not allowed?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.
At first glance, it does appear this would have to be removed to get the new generics patterns working. Nothing jumps out to my as to why this scope would be helpful so I think it is okay to remove it.