Skip to content

Autocomplete #513

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

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft

Autocomplete #513

wants to merge 13 commits into from

Conversation

jmwright
Copy link
Member

Adds experimental auto-completion to CQ-editor. First commit only understands the built-in modules in Python, but Jedi will be set up to speak CadQuery in a future commit.

Requires the user to press Alt+/ to trigger an auto-completion. Until this feature is working well and it is proven that it does not get in the way, it will be a manual trigger. In the future if it runs on its own constantly, there will have to be settings like Delay Before Completion.

Copy link

codecov bot commented Apr 22, 2025

Codecov Report

Attention: Patch coverage is 48.95833% with 49 lines in your changes missing coverage. Please review.

Project coverage is 86.09%. Comparing base (7bcbbd7) to head (c7703a5).
Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
cq_editor/widgets/editor.py 46.73% 44 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #513      +/-   ##
==========================================
- Coverage   88.20%   86.09%   -2.11%     
==========================================
  Files          20       20              
  Lines        1712     1805      +93     
  Branches      182      202      +20     
==========================================
+ Hits         1510     1554      +44     
- Misses        163      207      +44     
- Partials       39       44       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant