PashaTurok opened a new issue #3509:
URL: https://github.com/apache/netbeans/issues/3509
### Description
I don't know if there is any meaning in opening feature request as my
request about markdown files support was just closed, but I will try.
Starting from ES 6 JavaScript supports classes and with TypeScript we can do
the following:
```
class Person {
private _name: String = null;
...
}
```
As a very basic support I suggest to add comments and getter/setter
generation:
1. Comments
class Person {
/** Press enter. Nothing, so you have to type all "*" yourself that is
very boring.
private _name: String = null;
}
2. Getters and setters generation according to ES6.
class Person {
/** Press enter. Nothing, so you have to type all "*" yourself that is
very boring.
private _name: String = null;
//getter
public get name(): string {
return this._name;
}
//setter
public set name(name: string) {
this.name = name;
}
}
### Use case/motivation
_No response_
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow the Apache Software Foundation's [Code of
Conduct](https://www.apache.org/foundation/policies/conduct.html)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists