-
Notifications
You must be signed in to change notification settings - Fork 10
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
Initial commit of alloy-js/csharp #19
Conversation
Includes basic functionality including namespaces, classes and members, enums and members, and using directives with refkey support.
@alloy-js/babel-plugin-alloy
@alloy-js/babel-plugin-jsx-dom-expressions
babel-preset-alloy
@alloy-js/core
@alloy-js/java
@alloy-js/prettier-plugin-alloy
@alloy-js/csharp
@alloy-js/typescript
commit: |
return <core.Declaration symbol={thisClassSymbol}> | ||
{csharp.getAccessModifier(props.accessModifier)}class <base.Name />{props.children ? ( | ||
<> | ||
{"\n{"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should be able to include just an empty line? If not, that's a bug.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can also consider a component which adds the braces for you, slightly more characters than {"{"} but less annoying to type maybe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Empty line does work.
What's the idiom here? Having a blank line looks weird to me but if that's what folks do then I'll follow suit.
improve some element names
it generates the csproj file
Includes basic functionality including namespaces, classes and members, enums and members, and using directives with refkey support.