Skip to content
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

Tab completion for lattice elements #69

Open
mattsignorelli opened this issue Mar 7, 2024 · 1 comment
Open

Tab completion for lattice elements #69

mattsignorelli opened this issue Mar 7, 2024 · 1 comment
Assignees
Labels
for student A good self contained project for a student good first issue Good for newcomers

Comments

@mattsignorelli
Copy link
Contributor

mattsignorelli commented Mar 7, 2024

It would be great if tab completion in the REPL is implemented for lattice elements, so if I do lat.branch[1].ele[1]., and then Tab, it shows all the fields. This could be done by overloading propertynames (see here)

We also should consider implementing Ele <: AbstractDict for all elements to gain access to some features, also shown in that discussion linked above (e.g. iterating, etc)

@DavidSagan DavidSagan self-assigned this Mar 7, 2024
@DavidSagan DavidSagan added the for student A good self contained project for a student label Mar 7, 2024
@DavidSagan
Copy link
Member

@mattsignorelli This would be a good project for Lixing or some other undergraduate since it is very self contained. I will mark this as such. If you can think of other projects please post.

@mattsignorelli mattsignorelli added the good first issue Good for newcomers label Mar 7, 2024
@DavidSagan DavidSagan changed the title Tab completion for elements Tab completion for lattice elements Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for student A good self contained project for a student good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants