Commit Graph

69 Commits

Author SHA1 Message Date
tel0065
fef2e8d63e
line missing
textDecoration line was missing from settings, added
2022-05-09 09:01:35 -05:00
tel0065
5131db0a8a
added setup instructions
Added instructions as to how to setup for the first time to the comments section, added 2 more TODO items.
2022-05-07 13:31:34 -05:00
7e001ee50c Only return cursor to editor when selection succeeds 2022-05-05 22:06:24 -05:00
7c985b3817 Stop forciby reselecting the document
Forcibly reselecting the document made using keyboard navigation inconvenient
2022-05-05 21:13:18 -05:00
8456f57b84 Mind_Reader -> Mind Reader
(except in URLs and critical identifiers)
2022-05-05 20:56:10 -05:00
3bffd6a9fd mindReader -> mind-reader 2022-05-05 20:49:15 -05:00
ec6b96bd9a Merge remote-tracking branch 'origin/thomasLane' into merge-johnbreaux-thomaslane 2022-05-05 19:49:29 -05:00
9ef756838b Attempt fix setup script on Linux
Also update CC BY-SA notice of attribution
2022-05-05 16:12:55 -05:00
tel0065
be60f884fe
naming scheme
changed mindReader to mind-reader to be consistent with other parts of the extension
2022-05-05 12:15:39 -05:00
tel0065
09b4d41054
Code cleaned
Removed commented out code
2022-05-05 11:59:42 -05:00
tel0065
a10200f2bc
Updated indention
Indention was incorrect, fixed.
2022-05-05 11:56:39 -05:00
tel0065
bb0b1be0d4
Updated Messages
Changed the wording of the loading message
2022-05-05 11:54:32 -05:00
tel0065
940a8ed317
Configuration Variables Updated
Updated configuration variables to match package.json calls, added TODO line at the top
2022-05-05 11:53:02 -05:00
tel0065
cc8fbc26ad
Cleaned Up Code
Removed commented out code, added comments, etc
2022-05-04 19:40:33 -05:00
tel0065
cc1c23a16f
added function, fixed bug
Added function for selectLeadingSpaces, fixed bug which was reporting the wrong line number on some functions, added window focusing to most of the functions
2022-05-04 19:27:17 -05:00
tel0065
c17b718ce6
Added New Function
Added Senior Design Day Spring 2022 suggestion of selecting the leading whitespace characters. Had to refactor getLeadingWhitespace to include a helper function. Also added imports for vscode. Finally shifted helper functions together and added comments.
2022-05-01 20:22:26 -05:00
e0b2e5ee92 Update tests to match new behavior 2022-04-30 17:17:28 -05:00
34d89386ea Name improvements, new tokens, new behavior.
Name improvements:
- runLineContext changed to "Get Line Scope".
- runCursorContext changed to "Get Words Under Cursor".

New tokens:
- STATEMENT: Replaces INDENT. Stores entire line of python statement, not including comments, in attr.
- COMMENT: Stores entire comment line in attr.
- INVALID: Invalid token, used when parser can't figure out a line. Should never be seen.

New behavior:
- Get Line Scope now reads out the comment your cursor is in.
- Implemented fractional indentation notifications (disabled)
2022-04-30 17:12:36 -05:00
971e6fe2fb hubmanager: receiveData:
Ignore numbered non-error status messages coming in on message channel
2022-04-29 02:46:42 -05:00
tel0065
2bbc5bce1f
Added lineHighlighter.ts 2022-04-27 12:07:33 -05:00
tel0065
34af001396
Deleted linehighlighter
wrong version
2022-04-27 12:07:13 -05:00
tel0065
dd10e928ef
updated webview 2022-04-27 12:01:44 -05:00
tel0065
5d3dc7acea
added new function
added fetchNumberOfSelectedLines and getNumberOfSelectedLines
2022-04-27 12:00:59 -05:00
tel0065
16869aa5b6
Added linehighlighter
added linehighlighter to be activated
2022-04-27 11:59:16 -05:00
tel0065
7d615c0bca
Added linehighlighter.ts 2022-04-27 11:58:14 -05:00
2fdd176dd6 createContextString:
Improve formatting somewhat
2022-04-24 02:34:03 -07:00
17c410eae2 Oops: Upload all files changed on VM in the last 5 days. Commit info lost. 2022-04-14 14:27:07 -05:00
de3c9bf435 ev3Manager:
- Start work on ev3 support
- Explore functionality of ev3dev-Browser
- Realize it's super limited
2022-04-09 21:19:11 -05:00
bcfeb5a6fe package.json:
- Add titles for all mind-reader commands
- Remove redundant keybindings
- Redefine keybindings to no longer conflict with *VSCode*, JAWS, NVDA
2022-04-09 18:01:52 -05:00
cf0900968f Define types where previously any 2022-04-07 13:52:08 -05:00
tel0065
d19ad8f885
lexter.ts - let -> const, fixed type errors
changed most let variables to const, fixed more type errors
2022-03-25 13:17:51 -05:00
tel0065
50ff693d16
text.ts -> type error fixes, lets -> const, import
fixed type errors, changed most let variables to const, changed const require to imports
2022-03-25 13:09:16 -05:00
tel0065
3fed2aa4ad
text.ts -> removed random trailing spaces
Linter was complaining about trailing spaces in random places, removed them to get rid of the errors.
2022-03-25 11:13:08 -05:00
tel0065
ca3a5163fe
lexer.ts -> fixed type errors 2022-03-25 11:05:38 -05:00
tel0065
2f4800448b
text.ts -> fixed type errors 2022-03-25 11:03:06 -05:00
tel0065
a619146afc
lexter.ts - added types 2022-03-25 10:44:37 -05:00
tel0065
c087f1666a
text.ts - added types 2022-03-25 10:39:38 -05:00
tel0065
641997b620
delete lexer.js
.js file unintentionally uploaded, fixing that user error.
2022-03-25 09:12:55 -05:00
tel0065
829a3f0b9d
.js -> .ts
migrating changes made in .js file to .ts, .js file was unintended to be uploaded. User error to blame, fixing it.
2022-03-25 09:12:09 -05:00
tel0065
9062c253cf
delete text.js
.js file never supposed to have been uploaded, user error to blame. Removing it.
2022-03-25 09:09:09 -05:00
tel0065
96bca9a601
js -> ts migration
.js files ended up getting uploaded, beginnings of attempting to fix that mistake. Migrating changes made in .js file to .ts file
2022-03-25 09:08:07 -05:00
tel0065
125cf15a68
fixed plural output logic
Fixed logic of output, was showing singular for '0' ie: '0 space' instead of '0 spaces' - This has been resolved.
2022-03-24 04:48:59 -05:00
tel0065
88ddcd7c51
beautify code
ran beautify code extension to clean-up the code and make it more uniform in style
2022-03-24 04:28:21 -05:00
tel0065
08ec15287a
beautify code
ran beautify code extension to clean-up the code
2022-03-24 04:27:16 -05:00
tel0065
e67f731bc6
added 2 functions
added functions getLeadingSpacesByArithmetic and getLeadingSpacesByIndex to facilitate functionality of finding the number of leading spaces via two methods.
2022-03-24 04:03:17 -05:00
tel0065
d8c923e13c
Changed leading spaces logic
Added new logic to pl.Lexer to find number of leading spaces by either arithmetic or by finding the index position of the first non-whitespace character. Also added a boolean flag to switch easily between the two methods using ternary logic. Added comments explaining functionality. Fixed code spacing to be more uniform in style.
2022-03-24 04:01:24 -05:00
3525963bb0 Switch from string concatination to interpolation
Improves concision.
2022-03-23 22:53:46 -05:00
tel0065
6915cd5b44
leading spaces alternative method
Added an alternative method for calculating the leading spaces instead of taking the index of the first non-whitespace character. Leaving it commented out, but still there as an alternative  in-case something goes wrong w/ the index method.
2022-03-23 21:42:05 -05:00
tel0065
cfcbfd43fc
added fetchLineNumber(editor) and getLineNumber()
added helper function fetchLineNumber(editor) to return the line number that the cursor is on and refactored the code to make use of this helper function in various places. Also added function getLineNumber() which will output the current line number the cursor is on.
2022-03-23 18:20:44 -05:00
tel0065
d76cc3d06d
fixed output type-o on getLeadingSpaces()
Fixed issue with the output not displaying as intended in the getLeadingSpaces() function
2022-03-23 17:46:44 -05:00