-
Notifications
You must be signed in to change notification settings - Fork 100
Toggle comment for current line via CMD + / #241
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
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
b8acee0
add random comment to test git syncing with package
Sophiahooley 9cecfa8
add key down event monitor
Sophiahooley 7882267
create basic function to understand functionality of keyDown
Sophiahooley fca0329
edit basic function to include viewDidLoad call
Sophiahooley 0787b98
changes to basic function
Sophiahooley 614ce7e
add local monitoring functionality
Sophiahooley 6879299
debug output for characters ignoring modifiers
Sophiahooley 85e7c18
add check to see if cmd / has been pressed
Sophiahooley 802815d
change function output to match what it is doing
Sophiahooley fd1ace9
print out cursor positions when cmd/ pressed
Sophiahooley 8698fb7
include debug statement for what string is when cmd/ is pressed
Sophiahooley 87511ba
attempt to insert text when cmd/ pressed
Sophiahooley 2167053
insert text at beginning of line
Sophiahooley 8d40d08
print out current cursor line
Sophiahooley 1c5e334
fix line indexing
Sophiahooley f231eca
fix indexing again
Sophiahooley b692a31
insert comment at beginning of line using line char index
Sophiahooley 507247b
add debug to see if code reaches inner if statement
Sophiahooley ecfc976
use lineCommentString instead of hardcoded string for comment
Sophiahooley 412c327
add space after comment insert
Sophiahooley 6c86617
print lineInfo data
Sophiahooley 555ed63
print line info line fragments
Sophiahooley 2498247
print line info
Sophiahooley a23c0aa
get substring of current line
Sophiahooley 1a5870c
toggle commenting
Sophiahooley 0b288ad
finish single line implementation, clean up code, add case for no lin…
Sophiahooley 0eeddec
rollback
Sophiahooley acbbec5
make requested changes from PR (more comments, delete debug line)
Sophiahooley 3bf438a
refactor keyboard shortcuts logic, more changes requested from PR
Sophiahooley 664e375
fix swiftlint errors
Sophiahooley 723761c
get rid of extra line
Sophiahooley acb3bb8
fix more lint issues
Sophiahooley a10b2f7
make new file for keyboard shortcuts
Sophiahooley e520e6c
more linter errors fixed
Sophiahooley 4a4306e
lastfix of lint errors
Sophiahooley fab9079
get rid of blank line
Sophiahooley 15a6e33
Merge branch 'main' into main
FastestMolasses 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
insert text at beginning of line
- Loading branch information
commit 216705341d56ec00e881ce13431d85c5cc696eea
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
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.