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

Particle type syntax highlighting #2

Open
repositony opened this issue Oct 2, 2023 · 0 comments
Open

Particle type syntax highlighting #2

repositony opened this issue Oct 2, 2023 · 0 comments
Assignees
Labels
suggestion Suggestions for features and improvements

Comments

@repositony
Copy link
Owner

Particle types could be highlighted for cards like:

phys:n  100.0 1.0e-9
mode n p
imp:n=1.0 
imp:n,p,h=1.0  

This will take some thinking about due to all the ways these can be input. i.e.

  • space delimited N P, N P
  • comma separated N,P
  • part of cards PHYS:N
  • multiple on card FMESH34:NPE, FMESH34:N,P,E, etc...
  • mode card MODE N P, MODE N, P, etc...

Should be able to generalise most cases fairly easily, but it will probably require some effort to limit to valid types and avoid conflicts with other rules.

@repositony repositony added the suggestion Suggestions for features and improvements label Oct 2, 2023
@repositony repositony self-assigned this Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion Suggestions for features and improvements
Projects
None yet
Development

No branches or pull requests

1 participant