Commit Graph

19 Commits

Author SHA1 Message Date
jakergrossman
d15d3d36d2 Add runCursorContext 2021-11-09 14:57:25 -06:00
Jacob Grossman
a67750c30e Update pylex tests 2021-11-05 15:56:36 -05:00
jakergrossman
dc1565f4d0 Update parser
Implied nodes caused ambiguity when querying for context. Now every line
is considered, even blank lines, to make the process much easier.
2021-11-04 12:52:18 -05:00
Jake Grossman
6904b5dacf
Refactor command registration (#6)
Refactor command registration

As we continue to register more commands for our extension,
'extensions.ts' has become gross and hard to read. Commands are now
defined in a `commands: Command[]` list in 'commands.ts':

    type Command = {
      name: string, // Name of the command e.g. 'mind-reader.selectTheme'
      callback: () => void // Callback to register for the command
    }

This list is imported into 'extension.ts' and registered
programatically, reducing the required lines of "extra" code required
to register commands in 'extension.ts' from 4 per command to 7 total.
This should help keep 'extension.ts' squeaky clean :)
2021-11-01 15:32:06 -05:00
Jake Grossman
d105544596
Integrate Parser (#4)
Integrate parser
2021-10-26 12:48:04 -05:00
MasonBone
9db476dd39
Merge pull request #5 from SingleSemesterSnobs/cal
Added hotkeys for 5 commands
2021-10-21 08:34:15 -05:00
CalWooten95
7a1043c9b7 Added hotkeys for 5 commands 2021-10-20 14:25:11 -05:00
sophiadrewfs
0104e75d2c
added change theme feature (#3)
Add theme extension recommendation and open theme commands.
2021-10-19 12:46:05 -05:00
MasonBone
b0e9e71cb7 Added Menus 2021-10-19 12:12:03 -05:00
MasonBone
e9ef0b0441 Menus added in editor 2021-10-19 11:52:58 -05:00
MasonBone
87469da7bd Merge branch 'master' into masonbone 2021-10-17 19:19:31 -05:00
MasonBone
fc30e7643c
Merge pull request #2 from SingleSemesterSnobs/sophiaBranch
Sophia branch: settings update
2021-10-17 19:16:55 -05:00
MasonBone
2454dd6a1f Getting new commands 2021-10-17 17:10:23 -05:00
MasonBone
1983f07032
Merge pull request #1 from SingleSemesterSnobs/jake
Implement increasing font and editor scale
2021-10-17 17:06:16 -05:00
jakergrossman
25b23c514b Implement increasing font and editor scale
The following commands adjust the font scale in the editor only:

    - mind-reader.increaseFontScale

    - mind-reader.decreaseFontScale

    - mind-reader.resetFontScale

The following commands adjust the overall editor scale:

    - mind-reader.increaseEditorScale

    - mind-reader.decreaseEditorScale

    - mind-reader.resetEditorScale
2021-10-16 19:30:40 -05:00
jakergrossman
3ac94353de Add port options 2021-10-12 14:18:29 -05:00
sophiadrewfs
d2e3df4965 Add basic settings 2021-10-12 12:43:10 -05:00
jakergrossman
ba6e27cb9e Add README.md 2021-09-25 16:21:23 -05:00
jakergrossman
214610340f Initial commit 2021-09-25 16:18:41 -05:00