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

Consistency in "-" and "_" in action and option names #435

Closed
GiovanniBussi opened this issue Jan 14, 2019 · 0 comments
Closed

Consistency in "-" and "_" in action and option names #435

GiovanniBussi opened this issue Jan 14, 2019 · 0 comments
Assignees

Comments

@GiovanniBussi
Copy link
Member

I noticed that in action and option names we use a mixture of underscore (_) and dash (-), the latter being used rarely.

You can see all the uses with the command:

grep "^let b:plumedDictionary" $plumedroot/vim/syntax/plumed.vim | grep "\-"

They are:

MULTI-RMSD
PCARMSD SQUARED-ROOT
PROPERTYMAP DEBUG-CLOSE LOG-CLOSE

I would propose to switch to underscore only converting them to

MULTI_RMSD
PCARMSD SQUARED_ROOT
PROPERTYMAP DEBUG_CLOSE LOG_CLOSE

In the transient (or forever), we can allow the dash version as an alias (depending on how much are these keywords used).

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

No branches or pull requests

1 participant