-
-
Notifications
You must be signed in to change notification settings - Fork 836
feat: add APIs, commands and tests for syntax-highlighting in the REPL #2291
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
Merged
kgryte
merged 33 commits into
stdlib-js:develop
from
Snehil-Shah:syntax-highlighting-integrations
Jun 8, 2024
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
7aa2a2d
feat: add APIs to programmatically control syntax-highlighter
Snehil-Shah 31b5134
feat: add REPL commands to control syntax-highlighting
Snehil-Shah 6858433
feat: add setting to enable/disable syntax-highlighting
Snehil-Shah 0c3e6d3
test: fix failing tests
Snehil-Shah d5a00a8
feat: add options for syntax-highlighting upon REPL startup
Snehil-Shah 56c30bf
refactor: update API and command signatures
Snehil-Shah f466ab3
refactor: move `await` keyword to a control keyword
Snehil-Shah 1fd6070
fix: resolve `null` try parameters crashing the REPL
Snehil-Shah f8c10a4
fix: don't throw error if a node doesn't match a declaration
Snehil-Shah 5c9b7f6
fix: handle member expressions like `foo['bar']`
Snehil-Shah 3e7d7ba
test: add tests for the syntax highlighter
Snehil-Shah 570f24e
refactor: clean code logic
Snehil-Shah 7f31a89
docs: document added prototype methods and settings
Snehil-Shah 028f477
test: update test case
Snehil-Shah 7c99ef7
fix: handle recursive `MemberExpressions`
Snehil-Shah 1b79a3c
refactor: clean code logic
Snehil-Shah 765c19b
fix: correct string formatting
Snehil-Shah 4480879
fix: ignore placeholder nodes
Snehil-Shah 0ea6e2e
fix: setting themes during startup
Snehil-Shah de9e1e8
docs: keep it consistent
Snehil-Shah 802d602
refactor: return theme object in `getTheme` command
Snehil-Shah 4e2af9a
fix: suggestions
Snehil-Shah 7bc6f92
Apply suggestions from code review
kgryte 7c7dbeb
Apply suggestions from code review
kgryte 3f7d885
Apply suggestions from code review
kgryte 3d80c69
Apply suggestions from code review
kgryte 8938c74
Apply suggestions from code review
kgryte 7de50f5
Apply suggestions from code review
kgryte 3798c65
Apply suggestions from code review
kgryte ba7ac55
fix: suggestions
Snehil-Shah 81bdca7
Apply suggestions from code review
kgryte 6ea845f
Apply suggestions from code review
kgryte 6913e06
Apply suggestions from code review
kgryte File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.