Skip to content

Commit

Permalink
Added autocomplete support for the graphics module. This has several …
Browse files Browse the repository at this point in the history
…aspects:

 - We need to load graphics.py to process it so I use webpack's support for loading text files at import-time.
 - Then we extract types from this file (added to the file in this commit) in the format TigerPython expects.

 And that's all we need to do.  Then we have support in the autocomplete for the graphics types.
  • Loading branch information
neilccbrown committed Dec 17, 2024
1 parent 24cb2c9 commit f742500
Show file tree
Hide file tree
Showing 6 changed files with 725 additions and 595 deletions.
60 changes: 55 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"object-hash": "^2.0.3",
"pinia": "^2.0.32",
"python-shell": "^2.0.3",
"raw-loader": "^4.0.2",
"remove-files-webpack-plugin": "^1.5.0",
"sortablejs": "^1.15.0",
"splitpanes": "^2.4.1",
Expand Down
Loading

0 comments on commit f742500

Please sign in to comment.