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

[suggestion] allow remapping of "new" #78

Open
lofcz opened this issue Jan 21, 2021 · 2 comments
Open

[suggestion] allow remapping of "new" #78

lofcz opened this issue Jan 21, 2021 · 2 comments
Assignees
Milestone

Comments

@lofcz
Copy link
Contributor

lofcz commented Jan 21, 2021

This is a followup suggestion for #73. Now to instantiate, only standard c# syntax can be used (on right hand of expression):

myList = new List<int>();

Keyword new should be remappable (either as regex or string array) to keep consistency with recently added options to modify syntax of other constructs.

// my exotic syntax
myList = -> List<int>();
@codingseb codingseb self-assigned this Jan 22, 2021
@codingseb
Copy link
Owner

codingseb commented Jan 22, 2021

I will do it with #73 and it will be part of the next "Script customization" version of EE

codingseb added a commit that referenced this issue Jan 22, 2021
@codingseb codingseb added this to the 1.5 milestone Feb 22, 2021
@TheoVC
Copy link

TheoVC commented Jun 29, 2021

I'm a fan of sticking to the c # standard. then you can know exactly what you can and cannot do. ( just googling it ). If not, things can be complicated and messy by having too many parameters, too many interpretations, too many requirements.

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

No branches or pull requests

3 participants