[haxe] Option to have 'private' in generators
See original GitHub issueI’m not sure if I miss something in the settings, but we try to change our code convention by adding “private” on all private fields and functions. Mostly for readability and have it more consistent across other code languages we use.
Now when pressing the magic ctrl-shift-1 it just generates var myField
or function myFunction()
, we like to choose to have it generated like private var myField
or private function myFunction()
.
Can there be an option to have “private” be part of the generation? Of course this also should happen on overrides and statics etc.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Visibility - Haxe - The Cross-platform Toolkit
Fields are by default private, meaning that only the class and its sub-classes may access them. They can be made public by using...
Read more >Option - Haxe - The Cross-platform Toolkit
An Option is an enum in the Haxe Standard Library which is defined like so: ... Option; class Main { static public function...
Read more >Property - Haxe - The Cross-platform Toolkit
Next to variables, properties are the second option for dealing with data on a class. Unlike variables, however, they offer more control of...
Read more >chxdoc (1.3.0)
See CHANGELOG - Haxe documentation generator. ... versions of the documentation would be created, one with all the private data documented (in docs_dev), ......
Read more >Access Control - Haxe - The Cross-platform Toolkit
Access control can be used if the basic visibility options are not sufficient. It is applicable at class-level and at field-level and knows...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I do PR with fix in this week
I would also like to have this setting. @elsassph?